Every request should include the header Content-Type: application/json
, except for file uploads.
The API adheres to REST principles:
GET
requests: read without modificationPOST
requests: create a new resourcePATCH
requests: update an existing resourceDELETE
requests: delete a resource
The parameters for GET
requests should be sent via the query string of the request.
The parameters for POST
and PATCH
requests should be transmitted in the request body in a valid JSON format.
The parameters should follow the following formats:
date
: "YYYY-MM-DD", for example: "2021-10-21"time
: "H:m[:s]", for example: "10:30"date-time
: "YYYY-MM-DDThh:mm:ssZ", which is the ISO 8601 format, using UTC