Add api:0 response global
This commit is contained in:
parent
f2740efa46
commit
dceb721e43
|
@ -1,6 +1,10 @@
|
||||||
globals:
|
globals:
|
||||||
responses:
|
responses:
|
||||||
"*":
|
"*":
|
||||||
|
"200:0":
|
||||||
|
title: api:ok
|
||||||
|
description: The request was successful. This is not a separate response, but included in every 200 response's json
|
||||||
|
body: $api_codes.api:0
|
||||||
400:104:
|
400:104:
|
||||||
title: Missing NDCDEVICEID
|
title: Missing NDCDEVICEID
|
||||||
description: The NDCDEVICEID header was not included, or did not compute on amino servers
|
description: The NDCDEVICEID header was not included, or did not compute on amino servers
|
||||||
|
@ -334,6 +338,15 @@ vars:
|
||||||
"api:statuscode": "104 <Statuscode 104 represents a bad NDCDEVICEID header>",
|
"api:statuscode": "104 <Statuscode 104 represents a bad NDCDEVICEID header>",
|
||||||
"api:duration": "0.000s <Processing time>"
|
"api:duration": "0.000s <Processing time>"
|
||||||
}
|
}
|
||||||
|
api:0:
|
||||||
|
lang: JSON
|
||||||
|
content:
|
||||||
|
{
|
||||||
|
"api:message": "OK",
|
||||||
|
"api:timestamp": "2020-01-22T23:49:13Z <API timestamp>",
|
||||||
|
"api:statuscode": "0 <Statuscode 0 is ok>",
|
||||||
|
"api:duration": "0.010s <Processing time>"
|
||||||
|
}
|
||||||
|
|
||||||
routes:
|
routes:
|
||||||
/g/s/device/:
|
/g/s/device/:
|
||||||
|
|
Loading…
Reference in New Issue