Camera configurations
Camera configurations
List of configurations applied to the camera
GET /api/admin/v1/camera/{camera}/configs |
Method parameters
int
camera, unique identifier of the camera
int
per_page, number of items per pagination page. Default is 25
int
page, pagination page number
integer
user_id, user ID
string
type, configuration type
string
applying_type, method by which the configuration was applied
string
status, configuration status
date
from, start of the time interval
date
to, end of the time interval
200 |
Returns a list of camera configurations on the i pagination page
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/camera/{camera}/configs' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"camera": 0,
"per_page": 0,
"page": 0,
"user_id": "integer",
"type": "string",
"applying_type": "string",
"status": "string",
"from": "date",
"to": "date"
}'
PHP
PHP
$data = array (
'camera' => 0,
'per_page' => 0,
'page' => 0,
'user_id' => 'integer',
'type' => 'string',
'applying_type' => 'string',
'status' => 'string',
'from' => 'date',
'to' => 'date',
);
$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/camera/{camera}/configs', false, $context);