History

List history entries

Get a list of history entries.

GET /api/v1/history/{?page,limit,filter,sort}

URL Parameters

Name Description
page integer (optional) See Paging
limit integer (optional) See Paging
detailed boolean (optional) See Summary / Detailed Representations
filter string (optional) See Filtering
sort string (optional) See Sorting

Response 200 OK

The resource field for each history entry will be one of config, package, result or user. The action field for each history entry will be one of login, created, deleted, modified, launched, copied, imported, exported, locked, unlocked or migrated.

{
    "timestamp": "2016-04-18T10:47:20.356216749-04:00",
    "data": [
        {
            "user_id": "1",
            "created": "2016-04-15T11:55:51.54386-04:00",
            "resource": "user",
            "id": "313",
            "name": "admin (copy 1)",
            "action": "deleted",
            "description": "User 'admin (copy 1)' was deleted"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:55:51.543181-04:00",
            "resource": "user",
            "id": "314",
            "name": "admin2 (copy 1)",
            "action": "deleted",
            "description": "User 'admin2 (copy 1)' was deleted"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:55:18.733656-04:00",
            "resource": "user",
            "id": "314",
            "name": "admin2 (copy 1)",
            "action": "copied",
            "description": "User 'admin2 (copy 1)' was copied"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:55:18.73222-04:00",
            "resource": "user",
            "id": "313",
            "name": "admin (copy 1)",
            "action": "copied",
            "description": "User 'admin (copy 1)' was copied"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:54:41.22038-04:00",
            "resource": "user",
            "id": "311",
            "name": "admin (copy 1)",
            "action": "deleted",
            "description": "User 'admin (copy 1)' was deleted"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:54:41.21978-04:00",
            "resource": "user",
            "id": "312",
            "name": "admin2 (copy 1)",
            "action": "deleted",
            "description": "User 'admin2 (copy 1)' was deleted"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:53:26.298051-04:00",
            "resource": "user",
            "id": "312",
            "name": "admin2 (copy 1)",
            "action": "copied",
            "description": "User 'admin2 (copy 1)' was copied"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:53:26.296875-04:00",
            "resource": "user",
            "id": "311",
            "name": "admin (copy 1)",
            "action": "copied",
            "description": "User 'admin (copy 1)' was copied"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:40:51.838512-04:00",
            "resource": "user",
            "id": "310",
            "name": "olduser",
            "action": "modified",
            "description": "User 'olduser' was modified"
        },
        {
            "user_id": "1",
            "created": "2016-04-15T11:39:31.621213-04:00",
            "resource": "user",
            "id": "310",
            "name": "olduser",
            "action": "modified",
            "description": "User 'olduser' was modified"
        }
    ],
    "links": {
        "current": 1,
        "first": 1,
        "last": 3146,
        "limit": 10,
        "next": 2,
        "total": 31455
    }
}