List License Activation Histories

Show all license activation histories the requesting manager has access permissions to.

URL: /api/v1/license-activation-histories/ Method: GET

Query parameters

1

Pagination

Default pagination is 20 results per page.

  • limit — Number of results to return per page. Example: limit=20

  • offset — The initial index from which to return the results. Example: offset=21

2

Filtering

The results can be filtered by various attributes on license activation history or related to the license activation history.

Possible filters:

  • license

  • ts__gte

  • ts__lte

  • ts__date__gte

  • ts__date__lte

  • action

circle-info

Default pagination: 20 results per page unless limit is provided.

Success response

Code: 200 OK

Content example:

response.json
{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 22,
            "device": {
                "id": 1112,
                "device_variables": [
                    {
                        "id": 2018,
                        "created_at": "2021-02-01T07:24:08Z",
                        "variable": "v7",
                        "value": "ggg",
                        "device": 1112
                    }
                ],
                "created_at": "2020-06-02T10:32:54Z",
                "updated_at": "2020-06-02T12:35:17Z",
                "hardware_id": "1C0B-D53D-2A92-9665-9634-1FE5-1326-56DF-5401-63B1-88D5-DB7D-FB02-D440-3760-720D",
                "time_activated": "2020-03-11T10:22:29Z",
                "time_deactivated": null,
                "validity_period": null,
                "device_active": true,
                "type": "desktop",
                "os": "Microsoft Home 10",
                "sdk_build_version": "Java SDK 0.0.1",
                "last_check": "2020-03-13T11:04:45Z",
                "app_ver": "1.0",
                "hostname": "DESKTOP-2K64QES",
                "ip": "192.168.202.1",
                "external_ip": "46.234.71.160",
                "mac_address": null,
                "is_vm": true,
                "vm_info": "VMware ESX 3",
                "floating_last_seen": null,
                "floating_in_use": false,
                "blacklisted": false,
                "license": 1599050404885519
            },
            "ts": "2021-03-17T11:15:51Z",
            "action": "activation",
            "license": 1599050404885519
        },
        ...
    ]
}

Was this helpful?