feat: work on highlighting and displaying language snippets
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user