Configuration camera list
List of cameras with applied configuration
Returns cameras to which a specific configuration has been applied.
GET api/admin/v1/config-templates/{config}/used-cameras |
Method parameters
int
config, unique identifier of the configuration
int
per_page, number of items per pagination page. Default is 25
200 |
Returns a list of camera objects to which the configuration has been applied
JSON
|
401 |
Authorization token is not provided or is invalid. Obtaining a token |
cURL
BASH
curl -k --request POST \
--url 'https://your-domainapi/admin/v1/config-templates/{config}/used-cameras' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"config": 0,
"per_page": 0
}'
PHP
PHP
$data = array (
'config' => 0,
'per_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-domainapi/admin/v1/config-templates/{config}/used-cameras', false, $context);