Skip to main content
Skip table of contents

List of uploaded clients

List of uploaded clients

Returns a list of uploaded clients.

GET /api/admin/v1/thick-clients

Method parameters

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


string sort, field by which the uploaded clients should be sorted


string dir, direction of sorting. desc - from largest to smallest, asc - from smallest to largest


int page, int page: the

200 OK

Successful response

JSON
{
    "data": [
        {
            "id": 5,
            "name": "21312",
            "description": "32132",
            "url": "https://vms.local/storage/downloads/desktop/60e6d67bd225d/1.docx",
            "major_version": 13123,
            "minor_version": 1321,
            "revision_version": 2131,
            "build_version": 123,
            "is_published": 0,
            "created_at": "2021-07-08 16:42:03"
        },
        {
            "id": 4,
            "name": "1321",
            "description": "213213",
            "url": "https://vms.local/storage/downloads/desktop/60e6d66e9e792/2.docx",
            "major_version": 123,
            "minor_version": 21312,
            "revision_version": 213,
            "build_version": 23,
            "is_published": 0,
            "created_at": "2021-07-08 16:41:50"
        },
        {
            "id": 3,
            "name": "wer",
            "description": "wer",
            "url": "https://vms.local/storage/downloads/desktop/60e6d65be7b5e/3.docx",
            "major_version": 234234,
            "minor_version": 234324,
            "revision_version": 2423423,
            "build_version": 234,
            "is_published": 0,
            "created_at": "2021-07-08 16:41:31"
        },
        {
            "id": 1,
            "name": "213",
            "description": "3123",
            "url": "https://vms.local/storage/downloads/desktop/60e44b588ecb3/4.docx",
            "major_version": 21,
            "minor_version": 7,
            "revision_version": 1,
            "build_version": 1,
            "is_published": 0,
            "created_at": "2021-07-06 18:23:52"
        }
    ],
    "links": {
        "first": "https://vms.local/api/admin/v1/thick-clients?per_page=25&page=1",
        "last": "https://vms.local/api/admin/v1/thick-clients?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/thick-clients?per_page=25&page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "pagination.next",
                "active": false
            }
        ],
        "path": "https://vms.local/api/admin/v1/thick-clients",
        "per_page": 25,
        "to": 4,
        "total": 4
    }
}

401 Unauthorized

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

cURL
BASH
curl -k --request POST \
	--url 'https://your-domain/api/admin/v1/thick-clients' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '{
    "per_page": 0,
    "sort": "string",
    "dir": "string",
    "page": 0
}'
PHP
PHP
$data = array (
  'per_page' => 0,
  'sort' => 'string',
  'dir' => 'string',
  'page' => 0,
);
$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-domain/api/admin/v1/thick-clients', false, $context);
JavaScript errors detected

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

If this problem persists, please contact our support.