Cookie Notice
Please read our privacy statement.
Метод для проверки текущего состояния задания аналитики.
<stream>
string
stream
-uid* уникальный идентификатор задания аналитики для обновления.
OK
Возвращает JSON объект с описанием текущего состояния задания
{ "uid": "<uid>", "status": "<stream-status>", "stream_uid": "<stream-uid>", "stream_case_type": "<case-type>" }
Not Found
Задание с таким UID не найдено
curl -k --request POST \ --url 'https://your-domain/api/streams/{stream-uid}/?format=json?stream=<stream>' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '[]'
$data = array ( ); $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/streams/{stream-uid}/?format=json?stream=<stream>', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.