The used version should be specified in the URL
https://api.niland.io/2.0. The latest version of the Niland API is 2.0
All the API endpoints are protected. To be granted to access to those endpoints, you need to provide your API key as a
?key parameter for each endpoints.
The documentation will not specify this parameter, you just need to be aware that it is needed for all endpoints.
If you try to reach an endpoint without a key parameter or with an invalid one, you will get a
401 Unauthorized response status.
If you try to reach an endpoint with insuffisant credentials, you will get a
403 Forbidden response status.
Sending invalid data will result in a
400 Bad Request response. The response body may vary depending on the request, but there will always be an object listing the errors and the associated fields.
Status: 400 Bad Request