Zum Inhalt springen
API-ReferenzLese-API

Changes

What left your view since an instant (deleted, merged, unpublished); the counterpart of `updatedSince`.

List removals since an instant

GET
/v1/changes

Records that left your view at or after since: deleted, merged into another record (with survivorId) or no longer published, limited to your scope; plus, for events, every showtime whose days must be read again. Oldest change first, cursor-paged. since may reach back 90 days.

Authorization

ApiKeyAuth
headerX-API-Key<token>

Organisation API key (sk_org_…), created in the organisation settings of the CIXTRA console.

Query Parameters

since*string

Instant (ISO 8601 with Z or an offset).

Formatdate-time
types?string

Comma-separated: locations, eventSeries, festivals, showtimes, events. Default: all of them.

limit?integer
Range1 <= value <= 500
Default100
cursor?string

Opaque cursor from nextCursor; send it with the same since and types.

Response Body

Successful response

application/json
  1. response
data*array<>
pagination*
Example Request
curl -X GET 'https://api.cixtra.app/api/v1/changes?since=2019-08-24T14%3A15%3A22Z'
Example Response
{  "data": [    {      "type": "location",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "reason": "deleted",      "survivorId": "04332687-e080-4357-beb8-d25b9bdf9dc4",      "changedAt": "string"    }  ],  "pagination": {    "limit": 0,    "hasMore": true,    "nextCursor": "string"  }}