Obtaining Job Details
Function
Query and display details about a single job of the selected video analysis service.
URI
- URI format:
GET /v2/{project_id}/services/{service_name}/tasks/{task_id} - Parameters
Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID
service_name
Yes
String
Name of the selected video analysis service
task_id
Yes
String
Job ID
Request Parameters
GET /v2/6204a5bd270343b5885144cf9c8c158d/services/video-analyze/tasks/f18320e61e4c4dc685aa2dfc22a28dc5
Response Parameters
- Example response
{ "id": "f18320e61e4c4dc685aa2dfc22a28dc5", "name": "task", "description": "sss", "input": { "type": "obs", "data": [ { "bucket": "obs-iva", "path": "input/demo.mp4" } ] }, "output": { "obs": { "bucket": "obs-iva", "path": "output/" } }, "service_version":"1.0", "state": "ABNORMAL", "created_at": "2018-06-12T13:00:01Z", "updated_at": "2018-06-13T13:00:01Z" } - Response parameters
Parameter
Type
Description
taskDetail
Object
Job details. For details, see task.detail.
Status Codes
- Normal
- Abnormal
Status Code
Description
400 Bad Request
Request error. For details about the returned error code, see Error Codes.
401 Unauthorized
Authentication failed.
403 Forbidden
No operation permission.
404 Not Found
The requested resource was not found.
500 Internal Server Error
Internal service error.
503 Service Unavailable
Service unavailable.
Last Article: Obtaining the Job List
Next Article: Deleting a Job
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.