Skip to main content
Skip table of contents

Tag list

Tag list

GET api/admin/v1/tags

Method parameters

int per_page, number of items per pagination page. Default is 25


string search, search by tag name

200 OK

Tag list

JSON
{
    "data": [
        {
            "id": 72,
            "name": "mediaserver1.vms.local",
            "created_at": "2022-01-27 19:26:22",
            "updated_at": "2022-01-27 19:26:22"
        },
        {
            "id": 67,
            "name": "mediaserver2.vms.local",
            "created_at": "2021-09-13 12:49:46",
            "updated_at": "2021-09-13 12:49:46"
        },
        {
            "id": 66,
            "name": "mediaserver3.vms.local",
            "created_at": "2021-09-13 12:49:43",
            "updated_at": "2021-09-13 12:49:43"
        },
        {
            "id": 65,
            "name": "mediaserver4.vms.local",
            "created_at": "2021-09-08 22:36:50",
            "updated_at": "2021-09-08 22:36:50"
        },
        {
            "id": 59,
            "name": "mediaserver5.vms.local",
            "created_at": "2021-08-16 20:18:07",
            "updated_at": "2021-08-16 20:22:36"
        },
        {
            "id": 49,
            "name": "mediaserver6.vms.local",
            "created_at": "2021-07-29 12:32:29",
            "updated_at": "2021-07-29 12:32:38"
        },
        {
            "id": 39,
            "name": "mediaserver7.vms.local",
            "created_at": "2021-07-28 11:54:23",
            "updated_at": "2021-07-28 11:54:23"
        }
    ],
    "links": {
        "first": "https://vms.local/api/admin/v1/tags?per_page=25&page=1",
        "last": "https://vms.local/api/admin/v1/tags?per_page=25&page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "pagination.previous",
                "active": false
            },
            {
                "url": "https://vms.local/api/admin/v1/tags?per_page=25&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "https://vms.local/api/admin/v1/tags",
        "per_page": "25",
        "to": 7,
        "total": 7
    }
}

401 Unauthorized

Authorization token is not provided or is invalid. Obtaining a token

cURL
BASH
curl -k --request POST \
	--url 'https://your-domainapi/admin/v1/tags' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "per_page": 0,
    "search": "string"
}'
PHP
PHP
$data = array (
  'per_page' => 0,
  'search' => 'string',
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/tags', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.