Skip to content

Change & Delete Logs

These endpoints return the audit history that TEO keeps for its items: who changed an item and when (change logs), and which items of a type were deleted (delete logs). The Web UI shows the same history under Change History.

This page documents the audit-log endpoints. It is not a list of API release notes.

List Change Logs for an entity

/api/v2/changelogs 📋 Copied! ▼

Role: Guest and above.

Parameters

Name Description
entityId * The ID of the item.
Type: integer (query)
entityName * The type of the item. One of TEST_NODE, MOBILE_ID, API_CLIENT, TRACE_FILTER, TEST_CASE, TEST_SUITE, TOKEN.
Type: string (query)
page Zero-based page number. Default 0.
Type: integer (query)
size Page size. Default 20.
Type: integer (query)
sort <field>,asc or <field>,desc.
Type: string (query)

Responses

Code Description
200

A page of change-log entries for the item, each with the recorded state, the time and the user.

Media type: application/json

Example Value:

{
"content": [
    {
        "state": "string",
        "created": "string",
        "userName": "string"
    }
],
"totalElements": 0,
"totalPages": 0,
"number": 0,
"size": 20
}
400

A required parameter is missing.

List Delete Logs for an entity type

/api/v2/deletelogs 📋 Copied! ▼

Role: Guest and above.

Parameters

Name Description
entityName * The type of the deleted items. One of TEST_NODE, MOBILE_ID, API_CLIENT, TRACE_FILTER, TEST_CASE, TEST_SUITE, TOKEN.
Type: string (query)
page Zero-based page number. Default 0.
Type: integer (query)
size Page size. Default 20.
Type: integer (query)
sort <field>,asc or <field>,desc.
Type: string (query)

Responses

Code Description
200

A page of delete-log entries for that type, in the same format as the change logs.

Media type: application/json

Example Value:

{
"content": [
    {
        "state": "string",
        "created": "string",
        "userName": "string"
    }
],
"totalElements": 0,
"totalPages": 0,
"number": 0,
"size": 20
}
400

A required parameter is missing.