Repository navigation
API
jimsafley edited this page Apr 12, 2013
·
78 revisions
This documentation is a work in progress and subject to change. Assume that resources (records) must be accessible to the consumer, public or via authentication.
yourdomain.com/api[/:version]
Return data about records:
GET /:record-types
- page: int
- per_page: int
Return data about the specified record:
GET /:record-types/:id
Return available records (must be registered) and HTTP methods for each record (GET, POST, PUT, DELETE):
GET /record-types
Return data about collections:
GET /collections
- public: bool
- featured: bool
- added_since: timestamp
- modified_since: timestamp
- owner (user): int
Return data about the specified collection:
GET /collections/:id
Return data about items:
GET /items
- collection: int
- item_type: int
- featured: bool
- public: bool
- added_since: timestamp
- modified_since: timestamp
- owner (user): int
Return data about the specified item:
GET /items/:id
Return data about files:
GET /files
- item: int
- order: int
- size_greater_than: int
- has_derivative_image: bool
- mime_type: str
- added_since: timestamp
- modified_since: timestamp
Return data about the specified item:
GET /files/:id
GET /item-types
GET /item-types/:id
GET /element-sets
GET /element-sets/:id
GET /elements
GET /elements/:id
GET /users
GET /users/:id
GET /tags
GET /plugins
GET /plugins/:name