Custom entities through the API
Custom entities can now be managed end to end through the API. Alongside the record endpoints, a definition itself can be created, updated and deleted, a record revision activated or removed, a record duplicated, and records deleted or published in bulk, up to 50 at a time.
Deleting a definition that has child definitions or records reports how many would go with it, and goes ahead only when the request confirms the cascade.
Jobs through the API
Jobs, still under /cdna-api/hooks, are now available through the API too. Jobs, categories, record and web event triggers, actions and conditions can each be created, read, updated, deleted and listed; a job can be run on demand; a run can be queued again; and the history of runs and their actions can be read. A job created this way stays unpublished, and does nothing, until it is published, as in the admin.
POST /cdna-api/hooks/hook/42/run HTTP/1.1
Host: hub.coredna.com
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/json