Skip to content
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.

URL

yourdomain.com/api[/:version]

Requests

Generic Requests

Return data about records:

GET /:record-types

Parameters

  • page: integer
  • per_page: integer

Return data about the specified record:

GET /:record-types/:id

Record Types

Return available records (must be registered) and HTTP methods for each record (GET, POST, PUT, DELETE):

GET /record-types

Collections

Return data about collections:

GET /collections

Parameters

  • public: boolean
  • featured: boolean
  • added_since: string (timestamp)
  • modified_since: string (timestamp)
  • owner (user): integer

Return data about the specified collection:

GET /collections/:id

Items

Return data about items:

GET /items

Parameters

  • collection: integer
  • item_type: integer
  • featured: boolean
  • public: boolean
  • added_since: string (timestamp)
  • modified_since: string (timestamp)
  • owner (user): integer

Return data about the specified item:

GET /items/:id

Files

Return data about files:

GET /files

Parameters

  • item: integer
  • order: integer
  • size_greater_than: integer
  • has_derivative_image: boolean
  • mime_type: string
  • added_since: string (timestamp)
  • modified_since: string (timestamp)

Return data about the specified item:

GET /files/:id

Item Types

GET /item-types
GET /item-types/:id

Element Sets

GET /element-sets
GET /element-sets/:id

Elements

GET /elements
GET /elements/:id

Users

GET /users
GET /users/:id

Tags

GET /tags

Plugins

GET /plugins
GET /plugins/:name

Clone this wiki locally