feat: work on highlighting and displaying language snippets

This commit is contained in:
Stevan Freeborn
2023-04-11 22:45:48 -05:00
parent c87b2a39e8
commit 5f4d4f656e
8 changed files with 202 additions and 27 deletions
@@ -2,7 +2,7 @@
API Keys are specific to an instance. If you are using the API to access data from multiple instances, you will need to create an API key for each instance.
{% code heading="X-API KEY" language="text" %}
{% code heading="X-API KEY" defaultLanguage="text" %}
```text
X-ApiKey: 000000ffffff000000ffffff/00000000-ffff-0000-ffff-000000000000
+1 -1
View File
@@ -2,7 +2,7 @@
The base url for the Onspring API will be the same for all instances regardless of whether the instances is a development, test, or production instance.
{% code heading="BASE URL" language="text" %}
{% code heading="BASE URL" defaultLanguage="text" %}
```text
https://api.onspring.com
@@ -1,15 +1,19 @@
{% code heading="GET /Records/appId/{appID}" language="text" %}
{% code heading="GET /Records/appId/{appID}" defaultLanguage="bash" %}
```curl
```bash
curl --location 'https://api.onspring.com/Records/appId/195' \
--header 'X-ApiKey: 000000ffffff000000ffffff/00000000-ffff-0000-ffff-000000000000'
```
```js
var request = require('request');
```
{% /code %}
{% code heading="RESPONSE" language="json" %}
{% code heading="RESPONSE" defaultLanguage="json" %}
```json {% .language-json %}
```json
{
"pageNumber": 1,
"pageSize": 1,