-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathGlobal-Public-API.v1-fv.html
More file actions
77 lines (66 loc) · 2.01 KB
/
Global-Public-API.v1-fv.html
File metadata and controls
77 lines (66 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Global Public API Documentation</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://unpkg.com/@stoplight/elements/styles.min.css" />
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script>
<style>
body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
padding-top: 55px;
/* ensures content below fixed header */
}
.api-container {
flex: 1 0 0;
overflow: visible;
}
elements-api {
height: calc(100vh - 55px);
}
.header-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: white;
color: white;
font-family: Arial, sans-serif;
padding: 10px 15px;
display: flex;
align-items: center;
box-shadow: 0 2px 3px rgba(0, 0, 0, .15);
z-index: 999;
}
.header-bar a {
color: white;
background-color: #6f45d9;
text-decoration: none;
font-size: 12px;
padding: 6px 12px;
border-radius: 5px;
transition: background-color 0.2s;
}
.header-bar a:hover {
background-color: #6f45d9;
}
</style>
</head>
<body>
<div class="header-bar">
<a href="Global-Public-API.v1.html">← Back to Documentation</a>
</div>
<elements-api id="docs" router="hash" layout="sidebar" hideTryIt="true"></elements-api>
<script>
(async () => {
const docs = document.getElementById('docs');
const text = await fetch('Global-Public-API.v1.json').then(res => res.text())
docs.apiDescriptionDocument = text;
})();
</script>
</body>
</html>