Get Schema Log (POST)

Queries for schema log entries that fulfill given parameters.

Method

POST /schema/log

Parameters

Query Parameter

Name Description
firstResult Pagination of results. Specifies the index of the first result to return.
maxResults Pagination of results. Specifies the maximum number of results to return. Will return less results, if there are no more results left.

Request Body

A JSON object with the following properties:

Name Description
version Only return schema log entries with a specific version.
sorting A JSON array of criteria to sort the result by. Each element of the array is a JSON object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. The ordering objects have the following properties:
Name Description
sortBy Mandatory. Sort the results lexicographically by a given criterion. The only valid value is timestamp.
sortOrder Mandatory. Sort the results in a given order. Values may be asc for ascending order or desc for descending order.

Result

A JSON array of schema log entry objects. Each schema log entry object has the following properties:

Name Value Description
id String The id of the schema log entry.
version String The version of the schema.
timestamp String The date and time of the schame update.

Response Codes

Code Media type Description
200 Request successful. Note: In order to get any results a user of group camunda-admin must be authenticated.

Example

Request

POST /schema/log

Request Body:

{
  "version": "7.11.0",
  "sortBy": "timestamp",
  "sortOrder": "asc" 
}

Response

Status 200

[
  {
    "id": "0"
    "version": "7.11.0",
    "timestamp": "2019-05-13T09:07:11.751+0200"
  }
]

On this Page: