Resources respond in XML or JSON. XML is the default. CSV can also be asked for, but only resources with flat data can be written as CSV. There are three ways to ask for a format, and the first one given wins:
/ws/v2.0/inventory/{uid}/ships/owner.json.
The extension replaces the trailing slash.
format query string parameter: /ws/v2.0/inventory/{uid}/ships/owner/?format=json.
It takes json, xml or csv; any other value is ignored.
Accept header: Accept: application/json, application/xml or text/csv.
Lists paged by start_id give the URL of the following page as next_page. It keeps the extension or
format parameter of the request it came from, so the next page is in the same format. An Accept header
is not part of a URL, so send it again with each request. Other links in responses, such as href, do not carry
the format.