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 |
Successful response
JSON
|
401 |
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);