Skip to content

API versions

Version Status Use it for
/v4 Current All new work
/v3 Frozen at its contract before /v4 was introduced Existing clients
/v3-beta Legacy Existing clients

All versions share a single implementation: /v3 and /v3-beta adapt their requests and responses and delegate to /v4.

Migrating from /v3 to /v4

Instance format

/v3 /v4
@id Qualified with the instance namespace Plain UUID
@type List Single value
Space, permissions, alternatives Under the internal namespace _space, _permissions, _alternative

Pagination

/v3 /v4
from and size, with from in the response marker and size, with nextMarker in the response
Topic /v3 /v4
type on GET /instances Single and required Optional and repeatable; space is too
Embedded instances returnEmbedded=false removes them Always returned
Outgoing link summaries Not available returnSummaryOfOutgoingLinks
Incoming links property and type required; a flat page of full instances Optional filters; grouped summaries

Structure

Type, property and space information and specifications use vocabulary IRIs as keys in /v3, and plain keys in /v4 (identifier, occurrences, properties, ...). In /v3, a space specification is sent as query parameters; in /v4 as a JSON body.

Queries

/v3 accepts and returns the JSON-LD format of the query builder. /v4 uses the typed format with plain keys.

Scopes and invitations

Topic /v3 /v4
Scope of an instance Combination of all scopes of the type, always restricted to what the user can read Named scopes or their combination
Invitations Under /instances/{id}/invitedUsers, for all scopes of the type at the time of the invitation Under /invitations, for exactly the named scopes
Refresh scopes of existing invitations PUT /instances/{id}/invitationScope Invite again

Only in /v4

  • Multi-value and additional filters and sorting on instance lists
  • returnFavorite, returnHasContributed, returnValidationResults, returnReleaseStatus, returnTimestamps and returnContributors
  • updateIfExists and skipIfUnchanged
  • Removing an identifier of an instance
  • Validation and the management of named scopes
  • Comments, favorites and invitation links
  • Statistics
  • Inference over all spaces, force on inference, link resolution and graph reindexing

Only in /v3

GET/POST /instances/{id}/suggestedLinksForProperty (link suggestions for the editor) and GET /instancesWithInvitations exist for backwards compatibility, but aren't implemented: they answer with an error. /v4 doesn't offer them. To find link candidates, use GET /v4/instances with type and searchByLabel.

Accepted but ignored in /v3

reflect, global, identifier, async, applyRestrictions and scopeRelevant (always returned as false).

/v3-beta specifics

/v3-beta returns the same format as /v3 and paginates with from. GET /instances also accepts marker.

The following /v3-beta endpoints remain for compatibility but no longer do anything useful:

Endpoints Behavior
GET /users/termsOfUse, POST /users/termsOfUse/{version}/accept, PUT /setup/termsOfUse Fixed response, no data touched
POST /users/pictures, GET and PUT /users/{id}/picture Fixed response, no data touched
GET /users, GET /users/fromIAM Always 400
GET /users/limited Never returns users

Login information is also available at GET /users/authorization, /users/authorization/config and /users/authorization/tokenEndpoint. For new clients, use GET /v4/setup/authentication.