Website logo

Retrieve Blu-ray IDs

Returns a the list of Blu-ray catalogue ID numbers. You can use this list to validate the catalogue ID before listing a Blu-ray. These ID numbers don't change very often so you should cache them and only periodically refresh them.

URL: https://api.trademe.co.nz/v1/BluRayValidation.{file_format}
HTTP Method: GET
Requires Authentication? No
Permission Required: Public
Supported Formats: XML, JSON
Rate Limited? No

URL parameters

file_format Enumeration (required) The format of the response.
xml Serialize responses into XML.
json Serialize responses into JSON.

Returns

Collection of <BluRayValidation>

A list containing the IDs of all Bluray titles.

BluRayId Integer

The ID of the Blu-ray.

Example XML Response (switch to JSON)

<BluRayValidations xmlns="http://api.trademe.co.nz/v1">
  <BluRayValidation>
    <BluRayId>123</BluRayId>
  </BluRayValidation>
  <BluRayValidation>
    <BluRayId>123</BluRayId>
  </BluRayValidation>
</BluRayValidations>

Example JSON Response (switch to XML)

[
  {
    "BluRayId": 123
  },
  {
    "BluRayId": 123
  }
]