themes/getinfo

Get the metadata for a specific theme indicaded by theme id.

Parameters

Parameter Type Default Restrictions Description
id (required) integer Unique identifier indicating which theme to retrieve.

Example

For example this will retrieve a theme with an id of 2112. It is worth noting that the description element can contain encoded HTML.

http://museumvictoria.com.au/collections/api/v1/themes/getinfo?id=2112

The response will look something like this:

<theme>
  <description>&lt;P&gt;James Wallace first appears in Wellington’s ...</description>
  <id>2112</id>
  <image>
    <description>A round copper token (29 mm diameter). The piece ...</description>
    <id>79000</id>
    <title>James Wallace Token Penny</title>
  </image>
  <name>James Wallace, Grocer, Wellington, New Zealand (circa 1830-?)</name>
  <url>...</url>
</theme>

Errors

Code Message
1 Maintenance - Site is down for maintenance and will be back shortly.
2 ResourceNotFound - Theme could not be found.
400 InvalidParameter - Request is either missing a required parameter or parameter is of an invalid type.
Yes No