Data Formats

All responses are provided in JSON format and the type is self-evident.

Strings

Unless otherwise noted, name and title is restricted to 3-50 characters, description must be between 3-1,000 characters and other strings cannot be longer than 10,000 characters.

Dates

Dates are in ISO 8601 format, for example 2014-02-12T15:19:21+00:00.

Form Errors

When using POST or PATCH to submit data, errors will be returned mapped to the specific fields, for example:

HTTP/1.1 400 Bad Request
Content-Type: application/json

{
  "errors": {
    "email": [
      "The email is already used."
    ]
    "profile": {
      "first_name": [
        "First name cannot be longer than 50 characters."
      ]
    }
  }
}