Base URL: /v1, Version: 0.5
This is the REST API of the SEAL Operator System. It is used by the graphical front and may also be used for integration purposes.
Operation | Description |
---|---|
GET /services | Get list of available services |
GET /services/{sid} | Retrieve service metadata |
Operation | Description |
---|---|
GET /services/{sid}/repo | Access the document repository within a service |
POST /services/{sid}/repo | Create new entry in the root collection of the repository. |
POST /services/{sid}/repo/command | Create new command resource. |
GET /services/{sid}/repo/command/{cid} | Access a command resource within a service |
GET /services/{sid}/repo/{uuid} | Retrieve metadata of a specific entry (document or collection). |
PUT /services/{sid}/repo/{uuid} | Update entry metadata (complete, replace) |
PATCH /services/{sid}/repo/{uuid} | Update entry metadata (partial, merge) |
DELETE /services/{sid}/repo/{uuid} | Delete the current entry. |
GET /services/{sid}/repo/{uuid}/content | Retrieve binary content (documents only) |
PUT /services/{sid}/repo/{uuid}/content | Create or update document binary content (documents only) |
DELETE /services/{sid}/repo/{uuid}/content | Delete document binary content (documents only) |
GET /services/{sid}/repo/{uuid}/preview | Retrieve preview of binary content (documents only) |
Operation | Description |
---|---|
GET /services/{sid}/repo | Access the document repository within a service |
POST /services/{sid}/repo | Create new entry in the root collection of the repository. |
POST /services/{sid}/repo/command | Create new command resource. |
GET /services/{sid}/repo/command/{cid} | Access a command resource within a service |
GET /services/{sid}/repo/{uuid} | Retrieve metadata of a specific entry (document or collection). |
PUT /services/{sid}/repo/{uuid} | Update entry metadata (complete, replace) |
PATCH /services/{sid}/repo/{uuid} | Update entry metadata (partial, merge) |
POST /services/{sid}/repo/{uuid} | Create a new entry in the current collection (collections only). |
DELETE /services/{sid}/repo/{uuid} | Delete the current entry. |
GET /services/{sid}/repo/{uuid}/children | Access a collections children. |
Operation | Description |
---|---|
GET /tasks | Retrieve collection of tasks managed by all services. |
GET /services/{sid}/tasks | Retrieve collection of tasks managed by the service. |
POST /services/{sid}/tasks | Create new task. |
GET /services/{sid}/tasks/{tid} | Retrieve metadata of current task. |
PUT /services/{sid}/tasks/{tid} | Update task metadata (complete, replace) |
PATCH /services/{sid}/tasks/{tid} | Update Task metadata (partial, merge) |
DELETE /services/{sid}/tasks/{tid} | Delete a Task. |
POST /services/{sid}/tasks/{tid}/action | Trigger an action |
GET /services/{sid}/tasks/{tid}/input | Retrieve list of task input items |
PUT /services/{sid}/tasks/{tid}/input | Update input list metadata (complete, replace) |
PATCH /services/{sid}/tasks/{tid}/input | Update input list metadata (partial, merge) |
POST /services/{sid}/tasks/{tid}/input | Append a new item to the input list of the task. |
GET /services/{sid}/tasks/{tid}/input/{id} | Retrieve task item details |
PUT /services/{sid}/tasks/{tid}/input/{id} | Update the current task input list item (complete, replace) |
PATCH /services/{sid}/tasks/{tid}/input/{id} | Update a task input list item (partial, merge) |
DELETE /services/{sid}/tasks/{tid}/input/{id} | Delete a task input list item |
GET /services/{sid}/tasks/{tid}/output | Retrieve list of task output items |
GET /services/{sid}/tasks/{tid}/output/{id} | Retrieve task output list item details |
Operation | Description |
---|---|
GET /lists | Get collection of available Lists. |
POST /lists | Create new List |
GET /lists/{lid} | Retrieve metadata for the current List. |
PUT /lists/{lid} | Update List metadata (complete, replace) |
PATCH /lists/{lid} | Update List metadata (partial, merge) |
DELETE /lists/{lid} | Delete the current list |
GET /lists/{lid}/items | Get List items. |
POST /lists/{lid}/items | Appended and item to the list. |
GET /lists/{lid}/items/{id} | Retrieve item data of the current list element |
PUT /lists/{lid}/items/{id} | Update current list item (complete, replace) |
PATCH /lists/{lid}/items/{id} | Update current list item (partial, merge) |
DELETE /lists/{lid}/items/{id} | Remove the current element from the list |
Operation | Description |
---|---|
GET /ui | Retrieve list of default UI panels available to the user. |
GET /ui/{pid} | Retrieve the default configuration of a UI panel. |
GET /panels | Retrieve list of UI panels available to the user. |
POST /panels | Save a (user-specific) panel configuration. |
GET /panels/{pid} | Retrieve a specific panel configuration |
PUT /panels/{pid} | Updates a saved panel configuration |
DELETE /panels/{pid} | Delete a stored panel configuration |
Operation | Description |
---|---|
GET /config | Access a configuration item or path |
PUT /config | Store a configuration item |
DELETE /config | Delete a configuration item |
Operation | Description |
---|---|
GET /messages | Access the users messages |
POST /messages | Create new message entry. |
PATCH /messages/{uuid} | Update a message entry. |
Operation | Description |
---|---|
GET /services/{sid}/function | List connector specific functions |
POST /services/{sid}/function/{fid} | Access a connector specific function |
Operation | Description |
---|---|
GET /sessions | Get session information |
accessCode
https://your.auth.host/your/auth/path
https://your.auth.host/your/token/path
Deletes a single ConfigItem at the given path or all ConfigItems in the whole tree below if path does not point to an actual item.
path | Path/to/config/item |
query | string |
Uses default content-types: application/json
OK, configuration deleted.
Unauthorized (Auth token invalid)
Forbidden. User lacks access rights to change configuration. schema: $ref: '#/definitions/Error'
Application Error
Unexpected error
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 | Path/to/config/item |
query | string | |
keys | 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:
|
query | boolean |
Uses default content-types: application/json
OK, configuration items returned.
Valid configuration key
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The given ConfigItem was not found.
Application Error
Unexpected error
Stores the ConfigItem in the request body at the given path.
Uses default content-types: application/json
path | Path/to/config/item |
query | string |
Uses default content-types: application/json
OK, configuration stored.
Unauthorized (Auth token invalid)
Forbidden. User lacks access rights to change configuration. schema: $ref: '#/definitions/Error'
Application Error
Unexpected error
This is the list 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 | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 50 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
query | string | |
embed | Include information about collection members.
|
query | string |
Uses default content-types: application/json
OK, collection of lists is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
No lists available
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
metadata of the document list to create.
href | URL of the list to add. Example: |
query | string |
Uses default content-types: application/json
OK, list created. List metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Conflict, resource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
Deletes the current list inclusive all it's items, but not the documents.
lid | ID of the current list. |
path | string |
Uses default content-types: application/json
OK, list removed.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
This is the root record for a given list. It contains List-level
metadata. Use the 'embed' parameter to include information about
sub-ressource like items or access rights.
The client controls the exported data format with the Accept
HTTP header
field. Default is JSON.
lid | ID of the current list. |
path | string | |
embed | Include information about collection members or sub-ressources.
|
query | string |
Uses default content-types: application/json
OK, metadata is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New Metadata for the list
lid | ID of the current list. |
path | string |
Uses default content-types: application/json
OK, document list updated. New metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New Metadata for the list
lid | ID of the current list. |
path | string |
Uses default content-types: application/json
OK, document list updated. New metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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 | ID of the current list. |
path | string | |
offset | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 50 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=href,-index' |
query | string | |
embed | Sub-ressources to include in the response.
|
query | string |
Uses default content-types: application/json
OK, collection of list items is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
Lists are are ordered sets, items have consecutive indices (0..n). Posting this route will append a new item to the List.
Uses default content-types: application/json
Use EITHER href OR item. If both are present, item is used.
lid | ID of the current list. |
path | string | |
href | Relative URL of the document instance to add to the list |
query | string |
Uses default content-types: application/json
OK, document reference has been added to the list.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
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 | ID of the current list. |
path | string | |
id | ID of the current element. |
path | string |
Uses default content-types: application/json
OK, list element removed.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
Get metadata record of a list item. Note that the 'id' is NOT the index, which is part of item metadata.
lid | ID of the current list. |
path | string | |
id | ID of the current element. |
path | string |
Uses default content-types: application/json
OK, List item data is returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New link data to replace existing entry. Use EITHER item OR href; if both are present, item is used.
lid | ID of the current list. |
path | string | |
id | ID of the current element. |
path | string | |
href | Relative URL of document to link. This is a convenient way of just updating the href property of the existing List item. |
query | string |
Uses default content-types: application/json
OK, List item is updated, item data returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New item data to replace existing entry
lid | ID of the current list. |
path | string | |
id | ID of the current element. |
path | string |
Uses default content-types: application/json
OK, List item is updated, item data returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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 | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 25 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-type' |
query | string |
Uses default content-types: application/json
OK, list of entries is returned.
Unauthorized (Auth token invalid)
The service does not provide messages
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
metadata of the entry to be created
Uses default content-types: application/json
OK, entry created. Entry metadata returned.
Unauthorized (Auth token invalid)
The service does not provide messages
Conflict, ressource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
Update a message entry. Only data given with the patch will be changed/added; no entries removed. Updating uuid and creation date is prohibited.
Uses default content-types: application/json
metadata of the entry to be created
uuid | ID of the message entry |
path | string |
Uses default content-types: application/json
OK, message entry updated, new message returned.
Unauthorized (Auth token invalid)
The service does not provide messages
Conflict, ressource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
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. User-defined configurations can be stored using a POST request; these can also be edited and deleted later.
Uses default content-types: application/json
OK, list of UI panel configurations returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Application Error
Unexpected error
oauth | authN |
Users can save panel configurations they intend to (re-)use in later sessions under a name. If the ConfigItem does not contain a "name" key, a name for the configuration will be auto-generated.
Uses default content-types: application/json
ConfigItem containing the configuration to store.
Uses default content-types: application/json
OK, configuration was saved. The returned configItem contains the generated ID.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Conflict. A panel configuration under the "name" given in the ConfigItem already exists.
Application Error
Unexpected error
oauth | authN |
User-defined panel configurations can be delete by a DELETE request to this route.
pid | ID of the panel configuration to remove. |
path | string |
Uses default content-types: application/json
OK, panel configuration was deleted, return deleted configuration.
Unauthorized (Auth token invalid)
Forbidden. The current user lacks access rights, or is trying to delete a read-only default configuration. schema: $ref: '#/definitions/Error'
Application Error
Unexpected error
oauth | authN |
Returns a ConfigItem containing configuration for a stored panel.
pid | ID of the panel |
path | string |
Uses default content-types: application/json
OK, configuration returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found. The given pid is unknown.
Application Error
Unexpected error
oauth | authN |
A PUT request to a panel configuration will replace the entire stored configuration with the one contained in the request body. It's 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-defined panel configurations can be updated.
Uses default content-types: application/json
ConfigItem containing the configuration to store.
pid | ID of the panel |
path | string |
Uses default content-types: application/json
OK, configuration updated.
Unauthorized (Auth token invalid)
Forbidden. The current user lacks access rights, or is trying to update a read-only default configuration. schema: $ref: '#/definitions/Error'
Conflict. A panel configuration under the "name" given in the ConfigItem already exists.
Application Error
Unexpected error
oauth | authN |
A GET call to this route will return a list of active services currently available through the API.
Uses default content-types: application/json
OK, collection of services is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to access the service list.
Application Error
Unexpected error
oauth | authN |
FIXME
sid | ID of the current service. |
path | string |
Uses default content-types: application/json
OK, service metadata is returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to access the service metadata.
The requested Service was not found.
Application Error
Unexpected error
oauth | authN |
For panels static configuration data is sometimes not sufficient, dynamically retrieved data from the backend system is needed. The function routes allows the connector to make dynamic data and functionality available to the client. The function routes are synchronous calls in contrary to the asynchronous commands. This route returns all supported functions.
sid | ID of the current repository. |
path | string |
Uses default content-types: application/json
OK, list of entries is returned.
Unauthorized (Auth token invalid)
The service does not provide functions
Application Error
Unexpected error
oauth | authN |
This route triggers a connector specific function and returns the result. The function routes are synchronous calls in contrary to the asynchronous commands.
sid | ID of the current repository. |
path | string | |
fid | Name of the function to calls |
path | string | |
params | String with a list of function specific parameter as key value pairs. Syntax:
|
query | string |
Uses default content-types: application/json
OK, function result is returned.
Unauthorized (Auth token invalid)
The service does not provide this function
Application Error
Unexpected error
oauth | authN |
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 | ID of the current repository. |
path | string | |
offset | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 50 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
query | string | |
scope | Set the scope when searching for documents. Possible values are |
query | string all | |
embed | Include sub-ressource 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.
|
query | string |
Uses default content-types: application/json
OK, collection of entries is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide a repository
Application Error
Unexpected error
oauth | authN |
Creates a new record in the current Repository, inside the root collection, and assigns the posted metadata.
Uses default content-types: application/json
metadata of the entry to be created
sid | ID of the current service. |
path | string |
Uses default content-types: application/json
OK, entry created. Entry metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide a repository
Conflict, ressource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
Creates a new record in the command resource. It returns a JSON object containing a command id for tracking status of asynchronous commands.
Uses default content-types: application/json
The command entry and it's 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.
sid | ID of the current service. |
path | string |
Uses default content-types: application/json
OK, entry created. Command id will be returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide commands
Conflict, ressource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
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's expired.
sid | ID of the current service. |
path | string | |
cid | ID of the command. |
path | string |
Uses default content-types: application/json
OK, status of command resource is returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide the given resource.
Application Error
Unexpected error
oauth | authN |
Removes the current entry from the repository. This will not only remove the reference within Operator, but the actual record and content in the target system.
sid | ID of the current Service. |
path | string | |
uuid | UUID of the entry to delete |
path | string | |
force | Delete document even if it's still in use by one or more tasks. |
query | boolean |
Uses default content-types: application/json
OK, entry was deleted.
Unauthorized (Auth token invalid)
Forbidden (deletion refused by target system)
Entry under 'uuid' was not found.
Conflict, resource could not be deleted. Returns collection of tasks using the current document.
Application Error
Unexpected error
oauth | authN |
Given a 'uuid' parameter, this route retrieves an entry's metadata. The entry may be either a document or a collection.
sid | ID of the current service. |
path | string | |
uuid | ID of the repository entry |
path | string |
Uses default content-types: application/json
OK, entry metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The given uuid was not found.
Application Error
Unexpected error
oauth | authN |
Update the given entry's metadata. Only data given with the patch will be changed/added; no entries removed. Only core metadata can be updated; internal auto-generated metadata (links, embedded), if given, are ignored.
Uses default content-types: application/json
New entry metadata.
sid | ID of the current service. |
path | string | |
uuid | UUID of the entry |
path | string |
Uses default content-types: application/json
OK, entry metadata replaced, new metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
No entry found at the given 'uuid'.
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
If the entry under the given uuid is a collection, then a POST request to this route will create a new entry in this 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.
Uses default content-types: application/json
Metadata of the entry to create
sid | ID of the current Service. |
path | string | |
uuid | UUID of the collection |
path | string |
Uses default content-types: application/json
OK, new entry created, metadata of the entry returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
No entry found at the given 'uuid'.
Method not allowed. The entry under 'uuid' is not a collection.
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New entry metadata. Note that changing the entry type is not possible by updating metadata.
sid | ID of the current repository. |
path | string | |
uuid | UUID of the entry |
path | string |
Uses default content-types: application/json
OK, entry metadata replaced, new metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
No entry found under the given 'uuid'.
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
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) ae offset and limit parameters to control the number of results returned.
sid | ID of the current repository. |
path | string | |
uuid | UUID of the parent collection |
path | string | |
offset | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 50 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
query | string | |
embed | Include sub-ressource 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.
|
query | string |
Uses default content-types: application/json
OK, collection of entries is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide a repository
Application Error
Unexpected error
oauth | authN |
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 | ID of the current service. |
path | string | |
uuid | UUID of the document |
path | string |
Uses default content-types: application/json
OK, content was deleted.
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to delete the binary content.
No binary content found.
Method not allowed. Either the entry under 'uuid' is not a document, or it does not support deleting of the binary content. See error message for details.
Conflict, resource could not be deleted. Returns collection of tasks using the current document.
Application Error
Unexpected error
oauth | authN |
If the entry under 'uuid' is a document, then this route provides access to the binary content (i.e. the actual file).
sid | ID of the current Service. |
path | string | |
uuid | UUID of the document |
path | string |
application-octed/stream
OK, content is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to read the binary content.
Not found. Either no entry was found under the given 'uuid', or the entry is not a document, or the document has no binary content (yet). See error message for details.
Application Error
Unexpected error
oauth | authN |
Upload binary content of a document. Create if none exists, or replace existing file. Uploading binary content to collection type entries is not supported.
multipart/form-data
sid | ID of the current service. |
path | string | |
uuid | UUID of the document |
path | string | |
content | binary data for upload |
formData | file |
Uses default content-types: application/json
OK, content was updated.
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to update the binary content.
No entry was found under the given 'uuid'.
Method not allowed. The entry under 'uuid' is not a document, or the document does not support changing of the bianry content.
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
If the entry under 'uuid' is a document, then this route provides access to the preview content.
sid | ID of the current Service. |
path | string | |
uuid | UUID of the document |
path | string |
image/jpeg
OK, preview is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to read the binary content.
Not found. Either no entry was found under the given 'uuid', or the entry is not a document, or the document has no binary content, or the preview is not created (so far). See error message for details.
Application Error
Unexpected error
oauth | authN |
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 and the offset and limit parameters to control the number of results returned. Use the 'embed' parameter to include information about instances and sub-ressources.
sid | ID of the Service managing the tasks |
path | string | |
offset | Index of first result to return. |
query | integer | |
limit | Number of results to return. Maximum is 500. |
query | integer 50 | |
sort | Sort query results. Comma separated list of property names, prefixed with '-' for descending sort order. Example: 'sort=date,-name' |
query | string | |
inputDocument | A document UUID queried for in all lists of input documents of all tasks. |
query | string | |
embed | Information about sub-collections and/or sub-ressources to include in the response.
|
query | string | |
inlineCount | Return a JSON object containing the number of tasks found, according to the query parameters, instead of an array with tasks. |
query | boolean |
Uses default content-types: application/json
OK, collection of tasks or count is returned. Example for count:
{
count: 0
}
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
Adds a new Task to the collection. Given metadata is assigned, input list must be filled after creation.
Uses default content-types: application/json
Task metadata
sid | ID of the Service managing the current Task |
path | string |
Uses default content-types: application/json
OK, task created. Task metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be created. See error message for details.
Application Error
Unexpected error
oauth | authN |
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 | ID of the Service managing the current Task |
path | string | |
tid | ID of the Task to delete. |
path | string |
Uses default content-types: application/json
OK. Task deleted.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict. Task cannot be deleted because it is currently active.
Application Error
Unexpected error
oauth | authN |
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-ressources and sub-collections.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
embed | Embed sub-ressources in the response.
|
query | string | |
force | Force status update from backend system. |
query | boolean |
Uses default content-types: application/json
OK. Task metadata returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New metadata for the task
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the Task to update. |
path | string |
Uses default content-types: application/json
OK, task updated and returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
A put call to the task root record completely replaces task metadata, but does not affect sub-ressources or sub-collections.
Uses default content-types: application/json
New metadata for the task
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the task to update. |
path | string |
Uses default content-types: application/json
OK, task updated and returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
Trigger a new action on the current task. Currently supported
actions are start
, abort
, pause
and resume
.
Uses default content-types: application/json
The body contains a JSON object with the name of the action.
sid | ID of the current service. |
path | string | |
tid | ID of the current task. |
path | string |
Uses default content-types: application/json
OK, action started.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
The service does not provide actions
Conflict, action could not be triggered. See error message for details.
Application Error
Unexpected error
oauth | authN |
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 | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
embed | Use 'embed' to include sub-collection metadata in the result.
|
query | string |
Uses default content-types: application/json
OK, collection of input list items returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
New metadata for the input list.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the Task to update. |
path | string | |
embed | Use 'embed' to include sub-collection metadata for updating.
|
query | string |
Uses default content-types: application/json
OK, input list updated and returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
Creates a new entry in the given Task's input list. Given metadata is assigned to the new list item.
Uses default content-types: application/json
Complete list item metadata for the new task input list item. Use EITHER doc OR item parameter; if both are present, item is used.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
href | URL of the document to add. This is a convenient way of adding a document without constructing a list item first. |
query | string |
Uses default content-types: application/json
OK, task input list item created, item data returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
A put call to the input list root record completely replaces the metadata, but does not affect sub-collections.
Uses default content-types: application/json
New metadata for the task input list
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the task to update. |
path | string |
Uses default content-types: application/json
OK, input list updated and returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
Deletes an item from a Task's input list. The deleted ID is permanently orphaned, other list items keep their IDs.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
id | ID of the input list item to delete |
path | string |
Uses default content-types: application/json
OK, input list item deleted.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be deleted. See error message for details.
Application Error
Unexpected error
oauth | authN |
FIXME
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
id | ID of the input list item |
path | string |
Uses default content-types: application/json
OK, input list item data returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
Updates task input list item metadata, replacing present entries and adding missing ones. No metadata is deleted by the patch.
Uses default content-types: application/json
(Partial) metadata of an input list item.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
id | ID of the task input list item to update |
path | string |
Uses default content-types: application/json
OK, task input list item updated. Item data returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
Replaces the task input list item's metadata, including the document reference.
Uses default content-types: application/json
complete item metadata for the task item.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
id | ID of the input list item |
path | string |
Uses default content-types: application/json
OK, list item updated. Item data returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Conflict, resource could not be updated. See error message for details.
Application Error
Unexpected error
oauth | authN |
This route provides access to a Task's list of output documents. Output 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. 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 | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
embed | Use 'embed' to include sub-collection metadata in the result.
|
query | string |
Uses default content-types: application/json
OK, collection of output list items returned
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
This route provides access to individual task output items.
sid | ID of the Service managing the current Task |
path | string | |
tid | ID of the current task. |
path | string | |
id | ID of the output list item |
path | string |
Uses default content-types: application/json
OK, output list item data returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
Get number of currently established sessions of user
Uses default content-types: application/json
OK, return object with session information
Unauthorized (Auth token invalid)
Forbidden. The user lacks acces rights to access the service list.
Application Error
Unexpected error
oauth | authN |
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. Use the 'embed' parameter to include information about instances and sub-ressources. Use the 'inputDocument' parameter to search for a task containing a special document and use 'inlineCount' to get the number of found tasks.
inputDocument | A document UUID queried for in all lists of input documents of all tasks. |
query | string | |
embed | Information about sub-collections and/or sub-ressources to include in the response.
|
query | string | |
inlineCount | Return a JSON object containing the number of tasks found, according to the query parameters, instead of an array with tasks. |
query | boolean |
Uses default content-types: application/json
OK, collection of tasks or count is returned. Example for count:
{
count: 0
}
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Not found
Application Error
Unexpected error
oauth | authN |
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.
Uses default content-types: application/json
OK, list of UI panel configurations returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Application Error
Unexpected error
oauth | authN |
A GET call to this route returns a JSON object containing the default configuration of the panel.
pid | path | string |
Uses default content-types: application/json
OK, panel configuration is returned.
Unauthorized (Auth token invalid)
Forbidden. The user lacks rights to access the data.
Application Error
Unexpected error
oauth | authN |
A JSON object containing the name of the command to execute and it's paramters.
A RepoEntry contains user defined metadata with any number of arbitrary properties and two mandatory properties 'name' and 'type'.
(File) name of the Entry
Type of RepoEntry.
Metadata assigned to the entry
A JSON object containing the name of the command to execute and it's paramters.
Command specific parameter, e.g. href's of documents
A JSON object containing a command and it's current status
Contains for each available function one object with an href to the function. Key of each object is the function name.
A List is an ordered sequence of documents as list items. Each List can contain arbitrary metadata. List items may also have metadata assigned, which does not replace but complement document metadata. A document may not be unique within a List, i.e. a List can contain several items all pointing to the same document (but most likely with different item metadata).
Unique identifier of the list, generated by SEAL Operator.
User defined name for the list. Doesn't have to be unique.
Timestamp of list creation
Timestamp of list creation
Number of items in list
If requested by MIME type, the links section contains hrefs to
Embedded sub-ressources or sub-collections, as requested throught the "embed" query parameter
List metadata. Note that these do not contain item metadata.
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.
URL location of linked ressource
Additional data to be stored with the link
A JSON object containing a message
A server side defined uuid for each new entry
The message type
The message text
The creation time of the message as timestamp
Name of the panel which created the message
Flag if the message has already been read by user
A JSON object containing name and id of a PanelListItem
unique id of the PanelListItem
the panel type the configuration is for, e.g. scratch, p4,...
A JSON object containing a message
The message type
The message text
Name of the panel which created the message
A RepoEntry represents a record within the Repository part of a Service. A RepoEntry may be either a document or a collection. All RepoEntries may contain metadata and user permission records. collections may also contain children, while documents may have binary content.
Local ID of the document within the repository.
Global ID of the document, created by SEAL Operator
(File) name of the Entry
Type of RepoEntry.
If requested by MIME type, the links section contains hrefs to
Embedded sub-ressources as requested through the "embed" query parameter, e.g. "permissions", "icon", "thumb".
Metadata assigned to the entry
A Service represents a target system connected to the SEAL Operator framework. It may be able to process tasks and/or provide access to documents, under its /tasks and /repo routes.
Identifier of the Service within the SEAL Operator
Label describing the Service
Metadata of the Service
If requested by MIME type, the links section contains hrefs to
Sub-collections and/or sub-ressources requested through the embed query parameter.
Informations about users sessions
number of currently open sessions of this user
Definition of allowed status names
Task metadata. Note that these do not contain item metadata.
Timestamp of task creation
Timestamp of task started
Timestamp of task finished
Number of items in input list
Number of items in output list
If requested, the links section contains hrefs to
Embedded sub-ressources or sub-collections, as requested throught the "embed" query parameter