Generate report token
GET
/auth/report-tokenContract
Parameter | Value |
|---|---|
| Section | auth |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| task_id | query | yes | integer | ID of the task for which the report token is issued |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Response: {token: string, expiresIn: int} | object |
400 | task_id is missing or invalid | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }