markdown: Add a macro for invalid API key JSON response.

The JSON response for when an invalid API key is used to initiate
an API call seems to be identical in every case, so this macro
can be reused all the time.
This commit is contained in:
Eeshan Garg
2017-12-21 22:43:35 -03:30
committed by showell
parent 3a90a6be5e
commit 229cdfce90
3 changed files with 10 additions and 16 deletions

View File

@@ -128,11 +128,4 @@ address is invalid:
}
```
A typical failed JSON response for when the API key is invalid:
```
{
'msg':'Invalid API key',
'result':'error'
}
```
{!invalid-api-key-json-response.md!}

View File

@@ -147,11 +147,4 @@ A typical failed JSON response for when the target stream does not exist:
}
```
A typical failed JSON response for when the API key is invalid:
```
{
'msg':'Invalid API key',
'result':'error'
}
```
{!invalid-api-key-json-response.md!}

View File

@@ -0,0 +1,8 @@
A typical failed JSON response for when the API key is invalid:
```
{
'msg':'Invalid API key',
'result':'error'
}
```