The API is a JSON API. XML is not supported.
Endpoints are documented with the HTTP method for the request and a partial resource identifier.
Prepend your site's API domain to the resource identifier to get the full endpoint URL:
Words prefixed with a colon indicate values you have to supply. Example: