Based on a selected CoreSchema, ContentOnTarget supports a flexibly defined document model to be used. It supports any imaginable document structure. These documents can be managed in a simple way using the document API.

Interface

There are two different document interfaces: a general one to add, delete and list available documents of a provided Core and a document specific one.

General Document Interface

/api/2.2/[user]/[core]/[apiHash_Core]/documents/

Depending on the request type, following actions are possible:

Document Specific Interface

Additionally, there is a document specific API. It extends the general document interface with an uri, which has to be defined for storing the document.

/api/2.1/[user]/[core]/[apiHash_Core]/documents/[uri]

Following request types are supported:

Error types

The possible error types can be found at the error type description page.