diff --git a/docs/index.md b/docs/index.md index 1a4987a62..b12722b43 100644 --- a/docs/index.md +++ b/docs/index.md @@ -335,11 +335,12 @@ GET /notifications?page=2 Error code | Body | Meaning --- | --- | --- -401 | {"result": "error",
"message": "Unauthorized, authentication token must be provided"} | Authorisation header is missing from request -401 | {"result": "error",
"message": "Unauthorized, authentication bearer scheme must be used"} | Authorisation header is missing bearer -403 | {"result": "error",
"message": "Invalid token: signature"} | Unable to decode the JSON Web Token signature, due to missing claims -403 | {"result": "error",
"message": "Invalid credentials"} | Service ID in the `iss` claim is incorrect, or no valid API key for Service ID -403 | {"result": "error",
"message": "Invalid token: expired"} | Token is expired; there is a 30 second time limit +401 | {"result": "error",
"message": {"token": ["Invalid token: Unauthorized, authentication token must be provided"]}} | Authorisation header is missing from request +401 | {"result": "error",
"message": {"token": ["Invalid token: Unauthorized, authentication bearer scheme must be used"]}} | Authorisation header is missing bearer +403 | {"result": "error",
"message": {"token": ["Invalid token: Invalid token: signature"]}} | Unable to decode the JSON Web Token signature, due to missing claims +403 | {"result": "error",
"message": {"token": ["Invalid token: Invalid credentials"]}} | Service ID in the `iss` claim is incorrect, or no valid API key for Service ID +403 | {"result": "error",
"message": {"token": ["Invalid token: no api keys for service"]}} | No valid API key for Service ID +403 | {"result": "error",
"message": {"token": ["Invalid token: expired"]}} | Token is expired; there is a 30 second time limit