{"_id":"5951d4e51135a20015987354","project":"56f962d8d522d81700600280","version":{"_id":"56f962d8d522d81700600283","hasDoc":true,"__v":5,"hasReference":true,"project":"56f962d8d522d81700600280","createdAt":"2016-03-28T16:59:04.166Z","releaseDate":"2016-03-28T16:59:04.166Z","categories":["56f962d8d522d81700600284","5951d5489435c30015923d54","5951d6de50727a00155053c6","5951d99224e2f70015dec6c6","5951e40ef5c137001533814b"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"56f962d8d522d81700600284","project":"56f962d8d522d81700600280","version":"56f962d8d522d81700600283","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-03-28T16:59:04.186Z","from_sync":false,"order":0,"slug":"documentation","title":"Getting Started"},"user":"57736a020a6d610e00dea1fd","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-27T03:45:41.384Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"**Data Types**\nThe API has been designed with standards at its core. The following promises are kept throughout all endpoints:\n\nWith very few exceptions, numbers are numbers, and not strings. The API adheres strictly to the most natural representation of the underlying data, and null is always returned for optional properties which have not yet been assigned a value.\nTimestamps are consumed and produced in Unix epoch time format, with millisecond precision.\n\n**Response Formats**\nThe response data is formatted as JSON\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n    \\\"success\\\": true,\\n    \\\"data\\\": {response data}\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"data-types-and-response-formats","type":"basic","title":"Data Types and Response Formats"}

Data Types and Response Formats


**Data Types** The API has been designed with standards at its core. The following promises are kept throughout all endpoints: With very few exceptions, numbers are numbers, and not strings. The API adheres strictly to the most natural representation of the underlying data, and null is always returned for optional properties which have not yet been assigned a value. Timestamps are consumed and produced in Unix epoch time format, with millisecond precision. **Response Formats** The response data is formatted as JSON [block:code] { "codes": [ { "code": "{\n \"success\": true,\n \"data\": {response data}\n}", "language": "json" } ] } [/block]