The Timespace platform has a REST API that enables creating and finding records, as well as listening to changes.
All requests must include a valid Cookie
for a user or robot user.
To create a Robot user and obtain a cookie:
POST /template_id/language/rest
GET /record_id/language/rest
PATCH /record_id/language/rest
(upcoming)
DELETE /record_id/language/rest
(upcoming)
GET /record_id/language/rest?schema=editable
GET /type_id/language/rest?limit=n&offset=m&freetext=x&all_clouds=bool
type_id
limit
(required) with optional offset
all_clouds=true
enables you to remove this restrictionGET /0/language/rest?my_clouds=true
REST hooks enable you to listen to changes by submitting an url that will be called when a record is created or modified matching certain conditions.
POST /type_id/language/rest_hooks
type_id
: listen to changes for this type of records (use the Record type for all)hook_url
: A unique URL to make a POST with all fields when a matching record changescloud
(optional): limit listening to a specific cloudDELETE /0/language/rest_hooks
hook_url
: A previously registered unique URL