Skip to content

Endpoints

This is an overview of /v4. Every installation also serves the full OpenAPI description at /swagger-ui/index.html.

How to read the access column:

Value Meaning
Public No token needed
Authenticated Any valid token
Filtered Any valid token. The result is reduced to what you may read.
X in space The functionality X in the space of the resource
X on instance The functionality X in the space, or through an invitation
X global The functionality X granted globally

Instances

Method and path Purpose Access
POST /instances Create with a generated ID CREATE in space
POST /instances/{id} Create with a given UUID CREATE in space
PUT /instances/{id} Replace your contribution WRITE in space
PATCH /instances/{id} Partially update your contribution WRITE in space
GET /instances/{id} Read READ on instance, READ_RELEASED for the released stage
DELETE /instances/{id} Delete DELETE in space
DELETE /instances/{id}/identifiers Remove an identifier (?identifier=) WRITE in space
DELETE /instances/{id}/contribution Retract your contribution - deletes the instance if nobody else contributed WRITE in space, plus DELETE if the instance is deleted
PUT /instances/{id}/spaces/{space} Move WRITE in both spaces
GET /instances List and filter Filtered
POST /instancesByIds Bulk read by UUID Filtered
POST /instancesByIdentifiers Bulk read by identifier Filtered
GET /instances/{id}/incomingLinks Incoming links As for GET /instances/{id}
GET /instances/{id}/neighbors Graph neighborhood As for GET /instances/{id}
GET /instances/{id}/scope Evaluate a scope As for GET /instances/{id}
PUT /instances/{id}/favorite Add a favorite READ or READ_RELEASED on instance
DELETE /instances/{id}/favorite Remove a favorite Authenticated

Release

Method and path Purpose Access
PUT /instances/{id}/release Release RELEASE in space
DELETE /instances/{id}/release Unrelease UNRELEASE in space
GET /instances/{id}/release/status Release status READ on instance
POST /instancesByIds/release/status Bulk release status READ on instance

Batches

A batch requires, for every item, the access of the corresponding single endpoint (see batches).

Method and path Purpose Access
POST /batch/instances Create or update instances CREATE and WRITE in space for new instances, WRITE for existing ones
POST /batch/instances/delete Delete instances DELETE in space, plus RELEASE with forceUnrelease
POST /batch/instances/retract Retract your contributions As for DELETE /instances/{id}/contribution
POST /batch/instances/release Release instances RELEASE in space
POST /batch/instances/unrelease Unrelease instances UNRELEASE in space
GET /batch/jobs/{id} Status and outcome of a batch job Authenticated, own jobs only
GET /batch/jobs List your batch jobs Authenticated, own jobs only

Validation

Method and path Purpose Access
GET /instances/{id}/validation Validate a stored instance As for GET /instances/{id}
POST /instances/validation/payload Dry run for a new instance CREATE and WRITE in space
POST /instances/{id}/validation Dry run for a change READ and WRITE in space
POST /instances/validation Validate in bulk VALIDATE_INSTANCES global
GET /types/validationSchemas List schemas DEFINE_VALIDATION_SCHEMAS global
GET, PUT, DELETE /types/validationSchemas/{name} Manage one schema DEFINE_VALIDATION_SCHEMAS global

Queries

Method and path Purpose Access
GET /queries List stored queries Filtered
POST /queries Run without saving Filtered
GET /queries/{queryId} Read READ in space
PUT /queries/{queryId} Create or update CREATE or WRITE in space
DELETE /queries/{queryId} Delete DELETE in space
GET /queries/{queryId}/instances Execute READ in space, results filtered
PUT /queries/{queryId}/spaces/{space} Move WRITE in both spaces

Types and properties

Method and path Purpose Access
GET /types List types Filtered
POST /typesByName Bulk lookup Filtered
GET, PUT, DELETE /types/specification Type specification DEFINE_TYPES_AND_PROPERTIES global
GET, PUT, DELETE /properties Global property specification DEFINE_TYPES_AND_PROPERTIES global
GET, PUT, DELETE /propertiesForType Property specification per type DEFINE_TYPES_AND_PROPERTIES global
GET /types/scopes List scopes DEFINE_SCOPES global
GET, PUT, DELETE /types/scopes/{name} Manage one scope DEFINE_SCOPES global

Spaces

Method and path Purpose Access
GET /spaces List Filtered
GET /spaces/{space} Read MANAGE_SPACE in space
GET, PUT, DELETE /spaces/{space}/types Types of a space MANAGE_SPACE in space
GET, PUT, DELETE /spaces/{space}/specification Specification MANAGE_SPACE in space
POST /spaces/{space}/inference Inference for a space INFER_SPACE global
POST /spaces/inference Inference for all spaces INFER_SPACE global
GET /spaces/inference Inference status INFER_SPACE global
POST /spaces/resolve Resolve links RESOLVE_RELATIONS global

Invitations

Method and path Purpose Access
GET /invitations/instances/{id}/scopes Available scope names INVITE_FOR_REVIEW on instance
GET /invitations/instances/{id}/candidates Find users to invite INVITE_FOR_REVIEW on instance
GET /invitations/instances/{id}/users List invited users LIST_INVITATIONS global
PUT, DELETE /invitations/instances/{id}/users/{userId} Invite or withdraw INVITE_FOR_REVIEW on instance
POST, GET /invitations/instances/{id}/pending Issue or list invitation links INVITE_FOR_REVIEW on instance
DELETE /invitations/instances/{id}/pending/{invitationId} Revoke an invitation link INVITE_FOR_REVIEW on instance
POST /invitations/redemption Redeem a token Authenticated

Comments

Method and path Purpose Access
POST, GET /comments/instances/{id} Add or list comments COMMENT on instance
PUT /comments/instances/{id}/{commentId} Edit a comment COMMENT on instance, author only
DELETE /comments/instances/{id}/{commentId} Delete a comment COMMENT on instance, author or MANAGE_SPACE

Tools

Method and path Purpose Access
GET /tools The tools listed to you Authenticated, reduced to the tools whose claims you match (all with DEFINE_TOOLS)
GET /tools/categories The categories of these tools Authenticated, reduced like GET /tools
POST /tools/categories Define a category DEFINE_TOOLS global
PUT, DELETE /tools/categories/{id} Manage one category DEFINE_TOOLS global
GET, POST /tools/definitions List or define tools DEFINE_TOOLS global
GET, PUT, DELETE /tools/definitions/{id} Manage one tool DEFINE_TOOLS global

Users

Method and path Purpose Access
GET /users/me Your profile Authenticated
GET /users/me/roles Your roles Authenticated

Administration and setup

Method and path Purpose Access
GET /statistics Key figures Filtered
POST /jsonld/normalizedPayload Normalize a payload Authenticated
GET /setup/authentication Login configuration Public
GET /setup/permissions All role definitions CREATE_PERMISSION or DELETE_PERMISSION global
GET /setup/permissions/{role} One role definition CREATE_PERMISSION or DELETE_PERMISSION global
PATCH /setup/permissions/{role} Change a role definition CREATE_PERMISSION global to add, DELETE_PERMISSION global to remove
POST, GET /graph/reindex Rebuild the graph, or see the status REINDEX_GRAPH global
GET /cache/keys List caches CACHE_FLUSH global
POST /cache/keys/flush Flush caches CACHE_FLUSH global
GET /tenants, GET /tenants/{name} Read tenants Public
PUT /tenants/{name} Create or update a tenant TENANT_MANAGEMENT global
GET /tenants/{name}/theme/css, favicon, background, logo Read the theme Public
PUT /tenants/{name}/theme/font, colors, customCss, favicon, background, logo Change the theme TENANT_MANAGEMENT global