-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] add api reference section (#371)
- Loading branch information
1 parent
c23eac4
commit 3302afe
Showing
7 changed files
with
126 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: API Reference | ||
bookCollapseSection: true | ||
weight: 610 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: API V1 | ||
directLink: "/api_v1.html" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: API V2 | ||
directLink: "/api_v2.html" | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
title: Migrations | ||
bookCollapseSection: true | ||
weight: 600 | ||
weight: 620 | ||
--- | ||
|
||
# Migrations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Kosli API V1</title> | ||
<!-- needed for adaptive design --> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> | ||
|
||
<!-- | ||
Redoc doesn't change outer page styles | ||
--> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.menu-content>div:first-child { | ||
background-color: #000d40; | ||
padding: 16px | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<redoc spec-url='https://app.kosli.com/api/v1/public-swagger.json' | ||
required-props-first=true | ||
theme='{ | ||
"sidebar": { | ||
"textColor": "#000", | ||
"backgroundColor": "#f7f9fc" | ||
}, | ||
"rightPanel": { | ||
"textColor": "ivory" | ||
}, | ||
"typography": { | ||
"fontSize": "16px", | ||
"fontFamily": "ibm plex sans, sans-serif", | ||
"fontWeightRegular": "400", | ||
"headings": { | ||
"fontFamily": "proxima nova, sans-serif", | ||
"fontWeight": "600" | ||
}, | ||
"links": { | ||
"color": "#2459D1" | ||
} | ||
} | ||
}' | ||
></redoc> | ||
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Kosli API V2</title> | ||
<!-- needed for adaptive design --> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet"> | ||
|
||
<!-- | ||
Redoc doesn't change outer page styles | ||
--> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.menu-content>div:first-child { | ||
background-color: #000d40; | ||
padding: 16px | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<redoc spec-url='https://app.kosli.com/api/v2/public-swagger.json' | ||
required-props-first=true | ||
theme='{ | ||
"sidebar": { | ||
"textColor": "#000", | ||
"backgroundColor": "#f7f9fc" | ||
}, | ||
"rightPanel": { | ||
"textColor": "ivory" | ||
}, | ||
"typography": { | ||
"fontSize": "16px", | ||
"fontFamily": "ibm plex sans, sans-serif", | ||
"fontWeightRegular": "400", | ||
"headings": { | ||
"fontFamily": "proxima nova, sans-serif", | ||
"fontWeight": "600" | ||
}, | ||
"links": { | ||
"color": "#2459D1" | ||
} | ||
} | ||
}' | ||
></redoc> | ||
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"> </script> | ||
</body> | ||
</html> |