Image Collection API Documentation - Version 1

Resources - Category (Categories)

A category refers to a group of Photographs that are in some way related and is used as a method of organisation and classification.

Categories are hierarchical in nature with multiple top level categories containing an infinite number of children.

Resource model

Name Property Name Data Type Optional Description  
ID id Integer No Unique Identifier  
Parent ID parent_id Integer No Foreign key to another ID (i.e. a parent Category), a value of 0 indicates a top level category  
Name name String Yes Free form description of a category, which may or may not be in the correct case, suitable for display  

Example (JSON)

{
    "id": 86,
    "parent_id": 0,
    "name": "Research Stations"
}

Resource methods

None.


This information may be out of date whilst this website is being redeveloped. Until then, if you have any problems using an API documented here, please contact the relevant project maintainer.