cURL
curl --request GET \
--url http://localhost:4100/v1/auth/cli/{requestId}/streamconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/auth/cli/{requestId}/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}CLI authorization
Get v1authcli stream
Bearer token is the poll secret. Invalid secrets receive a silent stream.
cURL
curl --request GET \
--url http://localhost:4100/v1/auth/cli/{requestId}/streamconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/auth/cli/{requestId}/stream', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<string>{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"correlationId": "<string>"
}
}