Download OpenAPI specification:
This is the REST API of the SEAL Operator system. It is used by the graphical front-end and may also be used for integration purposes. The API can be used to access the SERVICES installed with SEAL Operator in order to manage DOCUMENTS in REPOSITORIES, organize documents in LISTS and work with the TASKS provided by the services. The API requires OAuth2/OIDC authentication. See the SEAL Operator Integrators Guide for details.
A GET call to this route will return a list of active services currently available through the API.
[- {
- "id": "string",
- "name": "string",
- "metadata": { },
- "links": { },
- "embedded": { }
}
]A GET call to this route will return metadata of the service.
| sid required | string ID of the service. |
{- "id": "string",
- "name": "string",
- "metadata": { },
- "links": { },
- "embedded": { }
}Filters list of document IDs and returns only documents currently not used in a task in status processing.
list of document IDs
[- "ce4a9e70-62b5-4f2c-976e-4632a99b0fbd"
][- "ce4a9e70-62b5-4f2c-976e-4632a99b0fbd"
]Some services (not all) expose access to documents. All documents available through a service are accessible via the 'repo' route. This route provides access to the repository root collection, containing documents and/or child collections. Use metadata property names and regular expressions in URL query string to search for entries (documents or collections) and the offset and limit parameters to control the number of results returned.
| sid required | string ID of the repository. |
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 50 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
| scope | string Default: "all" Set the scope when searching for documents. Possible values are |
| embed | string Include sub-resource or sub-collection data in response. "permissions": include access rights records for each entry. "thumb": include base64-encoded thumbnail image for each entry, e. g.
|
[- {
- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}
]Creates a new record in the current repository, inside the root collection, and assigns the posted metadata.
| sid required | string ID of the service. |
| x-owner | string User that should own the new entry. The user creating the entry becomes its creator, adding an owner is optional. Owner and creator rights can be managed through roles & rights. User identifiers can be anything, e. g. SAMaccountname or UPN. Must be matched with a claim from the JWT token in order to work in the user interface. |
Metadata of the entry to be created
| name | string (File) name of the entry |
| type | string Enum: "document" "collection" Type of RepoEntry. |
| metadata | object Metadata assigned to the entry |
{- "name": "string",
- "type": "document",
- "metadata": { }
}{- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}Launches a command in the given repository. Returns a JSON object containing a command ID for tracking status of asynchronous commands.
| sid required | string ID of the service. |
The command entry and its parameter to be created. Currently supported
commands are copy and move. The parameters for both commands:
{
"action": "copy|move",
"parameter": {
"source": "source href",
"parent": "uuid of target parent"
}
}
The source may be a remote repository in later implementations, so an href is needed here.
| action | string Enum: "copy" "move" |
| parameter | object Command-specific parameter, e. g. hrefs of documents |
{- "action": "copy",
- "parameter": { }
}{- "cid": "string",
- "status": "open",
- "command": {
- "action": "copy",
- "parameter": { }
}
}Returns a JSON object containing the status of the command. Command resources are automatically deleted after a final state (success or failure) was delivered once to the client or it is expired.
| sid required | string ID of the service. |
| cid required | string ID of the command. |
{- "cid": "string",
- "status": "open",
- "command": {
- "action": "copy",
- "parameter": { }
}
}Given a 'uuid' parameter, this route retrieves an entry's metadata. The entry may be either a document or a collection.
| sid required | string ID of the service. |
| uuid required | string ID of the repository entry |
{- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}Completely replace the metadata record of the given entry. Only record metadata can be replaced; internal auto-generated metadata (links, embedded), if given, are ignored.
| sid required | string ID of the repository. |
| uuid required | string UUID of the entry |
New entry metadata. Note that changing the entry type is not possible by updating metadata.
| name | string (File) name of the entry |
| type | string Enum: "document" "collection" Type of RepoEntry. |
| metadata | object Metadata assigned to the entry |
{- "name": "string",
- "type": "document",
- "metadata": { }
}{- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}If the entry under the given UUID is a collection, then a POST request to this route will create a new entry in the collection. Whether the created entry will be a document or another collection depends on the metadata enclosed in the request body. See RepoEntry data model.
| sid required | string ID of the service. |
| uuid required | string UUID of the collection in which to create a new entry |
| x-owner | string User that should own the new entry. The user creating the entry becomes its creator, adding an owner is optional. Owner and creator rights can be managed through roles & rights. User identifiers can be anything, e. g. SAMaccountname or UPN. Must be matched with a claim from the JWT token in order to work in the user interface. |
Metadata of the entry to create
| name | string (File) name of the entry |
| type | string Enum: "document" "collection" Type of RepoEntry. |
| metadata | object Metadata assigned to the entry |
{- "name": "string",
- "type": "document",
- "metadata": { }
}{- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}Removes the current entry from the repository. This will not only remove the reference within SEAL Operator, but the actual record and content in the target system.
| sid required | string ID of the service. |
| uuid required | string UUID of the entry to delete |
| force | boolean Delete document even if it is still in use by one or more tasks. |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Update the given entry's metadata. Only data given with the patch will be changed/added, no existing entries removed. Internal auto-generated metadata (links, embedded), if given, are ignored.
| sid required | string ID of the service. |
| uuid required | string UUID of the entry |
New entry metadata.
| name | string (File) name of the entry |
| type | string Enum: "document" "collection" Type of RepoEntry. |
| metadata | object Metadata assigned to the entry |
{- "name": "string",
- "type": "document",
- "metadata": { }
}{- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}Some services (not all) expose access to documents. All documents available through a service are accessible via the 'repo' route. This route provides access to the children of a collection, containing documents and/or collections. Use metadata property names and regular expressions in URL query string to search for entries (documents or collections), offset and limit parameters to control the number of results returned.
| sid required | string ID of the repository. |
| uuid required | string UUID of the parent collection |
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 50 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
| embed | string Include sub-resource or sub-collection data in response. "permissions": include access rights records for each entry. "icon": include icon-font and value for each entry, e. g.
"thumb": include base64 encoded thumbnail image for each entry, e. g.
|
[- {
- "id": "string",
- "uuid": "string",
- "name": "string",
- "type": "document",
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": { },
- "metadata": { }
}
]If the entry under 'uuid' is a document, then this route provides access to the binary content (i. e. the actual file).
| sid required | string ID of the service. |
| uuid required | string UUID of the document |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Upload binary content of a document. Create if none exists, or replace existent file. Uploading binary content to collection type entries is not supported.
| sid required | string ID of the service. |
| uuid required | string UUID of the document |
binary data for upload
{- "code": 0,
- "message": "string",
- "metadata": { }
}Deletes the binary content of a document, leaving metadata only. Note that some repositories will not allow this operation. To delete binary content from such repositories, you will need to delete the entire document. Deleting binary content is not supported by collection type entries.
| sid required | string ID of the service. |
| uuid required | string UUID of the document |
{- "code": 0,
- "message": "string",
- "metadata": { }
}If the entry under 'uuid' is a document, then this route provides access to the preview content. Collection type entries do not support the preview option.
| sid required | string ID of the service. |
| uuid required | string UUID of the document |
This route provides access to the root collection of known tasks for all services supporting tasks. Use property names and regular expressions in URL query string to search for tasks, e. g. 'metadata.creationDay' to search for the property 'creationDay' stored in the task metadata. Use the 'embed' parameter to include information about instances and sub-ressources. Use the 'inputDocument' parameter to search for a task containing a given document, and use 'inlineCount' to get the number of found tasks.
| inputDocument | string A document UUID to look for in the input lists of all tasks. |
| embed | string Information about sub-collections and/or sub-resources to include in the response.
|
| inlineCount | boolean Return a JSON object containing the number of tasks found, according to the query parameters, instead of an array with tasks. |
[- {
- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}
]This route provides access to the root collection of known tasks for the current service. Use property names and regular expressions in URL query string to search for tasks, e. g. 'metadata.creationDay' to search for the property 'creationDay' stored in the task metadata. Use the offset and limit parameters to control the number of results returned. Use the 'embed' parameter to include information about instances and sub-resources.
| sid required | string ID of the service managing the tasks |
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 50 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
| inputDocument | string A document UUID to search for in the input lists of all tasks. |
| embed | string Information about sub-collections and/or sub-resources to include in the response.
|
| inlineCount | boolean Return a JSON object containing the number of tasks found, according to the query parameters, instead of an array with tasks. |
[- {
- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}
]Adds a new task to the collection. If JSON data is given in the body, the task is created with the given metadata and input list. Otherwise, the task is created with default metadata, and its input list is populated with the RList or CSV content given in the request body.
| sid required | string ID of the service managing the new task |
| x-owner | string User that should own the new task. The user creating the task becomes its creator, adding an owner is optional. Owner and creator rights can be managed through roles & rights. User identifiers can be anything, e. g. SAMaccountname or UPN. Must be matched with a claim from the JWT token in order to work in the user interface. |
Task metadata
| name | string |
| sid | string |
| tid | string |
| metadata | object Task metadata. Note that these do not contain item metadata. |
| created | integer <date-time> Timestamp of task creation |
| started | integer <date-time> Timestamp of task started |
| finished | integer <date-time> Timestamp of task finished |
| inputListLength | integer Number of items in input list |
| outputListLength | integer Number of items in output list |
| status | string (StatusType) Enum: "open" "processing" "completed" "paused" "aborted" "failed" Definition of allowed status names |
| links | object If requested, the links section contains
|
| embedded | object Embedded sub-resources or sub-collections, as requested through the "embed" query parameter |
object The inputs and outputs associated with the task |
{- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}{- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}This route provides access to a Task's root record. The record contains taks metadata (such as parameters controlling it), details are available via sub-resources and sub-collections.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| embed | string Embed sub-resources in the response.
|
| force | boolean Force status update from backend system. |
{- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}A put call to the task root record completely replaces task metadata, but does not affect sub-resources or sub-collections.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task to update. |
New metadata for the task
| name | string Name of the task |
| metadata | object Metadata assigned to the task |
{- "name": "string",
- "metadata": { }
}{- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}Deletes a task from the collection. This is only possible if the task is not currently active and if the user has sufficient access rights.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task to delete. |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Does a partial update to the Task metadata. Given metadata replaces existing one, or is added to the record if not yet present. No metadata is deleted.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task to update. |
New metadata for the task
| name | string Name of the task |
| metadata | object Metadata assigned to the task |
{- "name": "string",
- "metadata": { }
}{- "name": "string",
- "sid": "string",
- "tid": "string",
- "metadata": { },
- "created": 0,
- "started": 0,
- "finished": 0,
- "inputListLength": 0,
- "outputListLength": 0,
- "status": "open",
- "links": { },
- "embedded": { },
- "lists": {
- "input": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}, - "output": {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
}
}Trigger a new action on the task. Currently supported
actions are start, abort, pause and resume.
| sid required | string ID of the service. |
| tid required | string ID of the task. |
The body contains a JSON object with the name of the action.
| action | string Enum: "start" "abort" "pause" "resume" |
{- "action": "start"
}{- "code": 0,
- "message": "string",
- "metadata": { }
}This route provides access to a Task's list of input documents. Input lists of tasks are structure-wise identical with lists in general, they differ in that they are task-internal and hence not available via the /lists route. Input lists can have list-level metadata, and each list item can have metadata as well. A call to this route will provide the list-level metadata and an inventory of the collection. Access input list items via the 'items' sub-collection. Use the 'embed' parameter to include item metadata in the result.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| embed | string Use 'embed' to include sub-collection metadata in the result.
|
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}A PUT call to the input list root record completely replaces the list metadata but does not affect any list items.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task to update. |
New metadata for the task input list
| name | string Name of the task |
| metadata | object Metadata assigned to the task |
{- "name": "string",
- "metadata": { }
}{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}Creates a new entry in the given task's input list. Given metadata is assigned to the new list item.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| href | string URL of the document to add. This is a convenient way of adding a document without constructing a list item first. |
Complete list item metadata for the new task input list item. Use EITHER doc OR item parameter; if both exist, item is used.
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}[- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]Does a partial update to the input list metadata. Given metadata replaces existing one, or is added to the record if not yet present. No metadata is deleted.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task to update. |
| embed | string Use 'embed' to include sub-collection metadata for updating.
|
New metadata for the input list.
| uuid | string Unique ID of the list, generated by SEAL Operator. |
| name | string User-specific name for the list. Does not have to be unique. |
| created | integer <date-time> Timestamp of list creation |
| lastModified | integer <date-time> Timestamp of list creation |
| listLength | integer Number of items in list |
object | |
object Embedded sub-resources or sub-collections, as requested through the "embed" query parameter | |
| metadata | object List metadata. Note that these do not contain item metadata. |
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}A GET call to this route returns input list item metadata.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| id required | string ID of the input list item |
{- "index": 0,
- "href": "string",
- "metadata": { }
}Replaces the task input list item's metadata, including the document reference.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| id required | string ID of the input list item |
Complete item metadata for the task item.
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}{- "index": 0,
- "href": "string",
- "metadata": { }
}Deletes an item from a task's input list. The deleted ID is permanently orphaned, other list items keep their IDs.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| id required | string ID of the input list item to delete |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Updates task input list item metadata, replacing present entries and adding missing ones. No metadata is deleted by the patch.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| id required | string ID of the task input list item to update |
(Partial) metadata of an input list item.
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}{- "index": 0,
- "href": "string",
- "metadata": { }
}Resolve input document href and return content as octet-stream.
| tid required | string ID of the task. |
| id required | string ID of the task input list item to retrieve |
{- "code": 0,
- "message": "string",
- "metadata": { }
}This route provides access to a task's list of output documents. Output lists of tasks have the same structure as lists in general, they differ in that they are task-internal and hence not available via the /lists route. Output lists can have list-level metadata, and each list item can have metadata as well. A call to this route will provide the list-level metadata and an inventory of the collection. Access output list items via the 'items' sub-collection. Use the 'embed' parameter to include item metadata in the result.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| embed | string Use 'embed' to include sub-collection metadata in the result.
|
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}This route provides access to individual task output items.
| sid required | string ID of the service managing the task |
| tid required | string ID of the task. |
| id required | string ID of the output list item |
{- "index": 0,
- "href": "string",
- "metadata": { }
}This is the collection of Lists of the authenticated user. Use metadata property names and regular expressions in URL query string to search for entries and the offset and limit parameters to control the number of results returned.
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 50 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
| embed | string Include information about collection members.
|
[- {
- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}
]Creates a new entry in the list of lists. The Content-Type HTTP header
defines the format of the import data. Default is JSON. If a URL is
given in query as parameter href, the list to import is retrieved from that URL.
| href | string URL of the list to add. Example: |
metadata of the document list to create.
| uuid | string Unique ID of the list, generated by SEAL Operator. |
| name | string User-specific name for the list. Does not have to be unique. |
| created | integer <date-time> Timestamp of list creation |
| lastModified | integer <date-time> Timestamp of list creation |
| listLength | integer Number of items in list |
object | |
object Embedded sub-resources or sub-collections, as requested through the "embed" query parameter | |
| metadata | object List metadata. Note that these do not contain item metadata. |
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}This is the root record for a given list. It contains list-level
metadata. Use the 'embed' parameter to include information about
sub-resource like items or access rights.
The client controls the exported data format with the Accept HTTP header
field. Default is JSON.
| lid required | string ID of the list. |
| embed | string Include information about collection members or sub-resources.
|
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}This will completely replace the existing list metadata (if any) by the given metadata. Note that only list metadata itself can be updated. Internal auto-generated metadata (links; embedded), if present, are ignored.
| lid required | string ID of the list. |
New metadata for the list
| uuid | string Unique ID of the list, generated by SEAL Operator. |
| name | string User-specific name for the list. Does not have to be unique. |
| created | integer <date-time> Timestamp of list creation |
| lastModified | integer <date-time> Timestamp of list creation |
| listLength | integer Number of items in list |
object | |
object Embedded sub-resources or sub-collections, as requested through the "embed" query parameter | |
| metadata | object List metadata. Note that these do not contain item metadata. |
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}Deletes the list, including all its items (but keep the documents referred to by the items).
| lid required | string ID of the list to delete |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Updates or adds part of the list metadata. Only given metadata will be replaced or added, no metadata will be removed. Note that only List metadata can be updated; internal auto-generated metadata (links, embedded), if present, are ignored.
| lid required | string ID of the list |
New metadata for the list
| uuid | string Unique ID of the list, generated by SEAL Operator. |
| name | string User-specific name for the list. Does not have to be unique. |
| created | integer <date-time> Timestamp of list creation |
| lastModified | integer <date-time> Timestamp of list creation |
| listLength | integer Number of items in list |
object | |
object Embedded sub-resources or sub-collections, as requested through the "embed" query parameter | |
| metadata | object List metadata. Note that these do not contain item metadata. |
{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}{- "uuid": "string",
- "name": "string",
- "created": 0,
- "lastModified": 0,
- "listLength": 0,
- "links": {
- "self": {
- "href": "string"
}
}, - "embedded": {
- "listItems": [
- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]
}, - "metadata": { }
}This is the collection of items currently in the list. For performance reasons, only references are returned by default. Use metadata property names and regular expressions in URL query string to search for entries and the offset and limit parameters to control the number of results returned.
| lid required | string ID of the list. |
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 50 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=href,-index' |
| embed | string Sub-resources to include in the response.
|
[- {
- "index": 0,
- "href": "string",
- "metadata": { }
}
]Lists are ordered sets, items have consecutive indices (0..n). POSTing to this route will append a new item to the list (at the end)
| lid required | string ID of the list. |
| href | string Relative URL of the document instance to add to the list |
Use EITHER href OR item. If both exist, item is used.
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}{- "index": 0,
- "href": "string",
- "metadata": { }
}Get metadata record of a list item. Note that the 'id' is NOT the index, which is part of item metadata, but the UUID.
| lid required | string ID of the list. |
| id required | string ID of the list item |
{- "index": 0,
- "href": "string",
- "metadata": { }
}Update and replace the entire metadata record of the current list item. Note that the ID is NOT the index of the item in the list. The index is part of item metadata.
| lid required | string ID of the list. |
| id required | string ID of the element. |
New item data to replace existing entry
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}{- "index": 0,
- "href": "string",
- "metadata": { }
}Deletes an entry from a list. Only the list entry is removed, not the document. Note that id is NOT the index of an item in the list. The index is part of item metadata.
| lid required | string ID of the list |
| id required | string ID of the item to delete |
{- "code": 0,
- "message": "string",
- "metadata": { }
}Update the metadata record of the current list item, adding missing entries but removing nothing. Note that the ID is NOT the index of the item in the list. The index is part of item metadata.
| lid required | string ID of the list. |
| id required | string ID of the element. |
| href | string Relative URL of document to link. This is a convenient way of just updating the href property of the existent list item. |
New link data to replace existing entry. Use EITHER item OR href; if both exist, item is used.
| index | integer This is the index of an item in a list. The index is maintained by the SEAL Operator backend. Setting the index to a value beyond the end of the list will move the item to the end of the list. Setting the index to 0 will move th item to the top of the list. Setting the index to a value in use by another item will replace this item, moving it (and all with higher indices) one space down in the list, by increasing their index values. |
| href | string URL location of linked ressource |
| metadata | object Additional data to be stored with the link |
{- "index": 0,
- "href": "string",
- "metadata": { }
}{- "index": 0,
- "href": "string",
- "metadata": { }
}The SEAL Operator user interface provides the user with a set of default panels to use. A GET call to this route returns a list of panels available to the current user. Default panels cannot be edited or deleted.
[- {
- "pid": "string",
- "name": "string",
- "type": "string"
}
]The SEAL Operator user interface provides the user with a set of panels to use. A GET call to this route returns a list of user defined panels available to the current user. Use property names and regular expressions in URL query string to search for entries. User-specific configurations can be stored using a POST request; these can also be edited and deleted later.
[- { }
]Users can create new panels and save their configuration under a given name for further use. If the ConfigItem does not contain a "name" key, a name for the configuration will be auto-generated. If the ConfigItem contains a "createpanel" key with value "1", an event is sent to the UI indicating the creation of a new panel with the objective of showing it. If the ConfigItem contains a "taskId" key with the UUID of an existing task as value, a new UI panel will be created and the given task assigned.
| x-owner | string User that should own the new panel. The user creating the panel becomes its creator, adding an owner is optional. Owner and creator rights can be managed through roles & rights. User identifiers can be anything, e. g. SAMaccountname or UPN. Must be matched with a claim from the JWT token in order to work in the user interface. |
ConfigItem containing the configuration to store.
A JSON object containing key-value pairs representing the configuration.
{ }{ }A PUT request to a panel configuration will replace the entire stored configuration with the one contained in the request body. It is possible to use a different value for the "name" key in order to rename the saved configuration; however, the new name must not be in use. Note that only user-specific panel configurations can be updated.
| pid required | string ID of the panel |
ConfigItem containing the configuration to store.
A JSON object containing key-value pairs representing the configuration.
{ }{ }Use this route to browse the configuration. Configuration is structured unix file-system like, in a path/to/item way. Use path/to/item as 'path' parameter to access a specific item or together with 'keys' parameter for retrieving only keys.
| path | string Path/to/config/item |
| keys | boolean Return an array of strings containing all recursively fetched keys below the given 'path'. Without or an empty 'path' all available keys are returned. Example response:
|
{ }Stores the ConfigItem in the request body at the given path.
| path | string Path/to/config/item |
A JSON object containing key-value pairs representing the configuration.
{ }{ }Every user has his own list of messages containing info, warning and error messages of various panels and actions. The messages are stored on server until they expire. This route provides access to the messages. Use property names and regular expressions in URL query string to search for entries and the offset and limit parameters to control the number of results returned.
| offset | integer Default: 0 Index of first result to return. |
| limit | integer Default: 25 Number of results to return. Maximum is 500. |
| sort | string Sort query results. Comma-separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-type' |
[- {
- "uuid": "string",
- "type": "info",
- "text": "string",
- "date": 0,
- "source": "string",
- "read": true
}
]Creates a new record in the message list and assigns the posted data. The server adds a UUID and a creation date to each entry if not already present.
metadata of the entry to be created
| type | string Enum: "info" "warning" "error" The message type |
| text | string The message text |
| source | string Name of the panel which created the message |
{- "type": "info",
- "text": "string",
- "source": "string"
}{- "uuid": "string",
- "type": "info",
- "text": "string",
- "date": 0,
- "source": "string",
- "read": true
}Update a message entry. Only data given with the patch will be changed/added; no entries removed. Updating uuid and creation date is prohibited.
| uuid required | string ID of the message entry |
new metadata of the entry to be updated
| uuid | string A server-side-specific UUID for each new entry |
| type | string Enum: "info" "warning" "error" The message type |
| text | string The message text |
| date | integer <int64> The creation time of the message as timestamp |
| source | string Name of the panel which created the message |
| read | boolean Flag if the message has already been read by user |
{- "uuid": "string",
- "type": "info",
- "text": "string",
- "date": 0,
- "source": "string",
- "read": true
}{- "uuid": "string",
- "type": "info",
- "text": "string",
- "date": 0,
- "source": "string",
- "read": true
}Services may expose individual functions, e. g. to provide dynamic data for selection lists in UI panels. The function routes are synchronous calls in contrast to the asynchronous commands. This route returns all supported functions of a service.
| sid required | string ID of the service. |
{ }This route triggers a service-specific function and returns the result. The function routes are synchronous calls in contrast to the asynchronous commands.
| sid required | string ID of the repository. |
| fid required | string Name of the function to calls |
| params | string String with a list of function specific parameter as key value pairs. Syntax:
|
{- "code": 0,
- "message": "string",
- "metadata": { }
}