Get the status of a specific video task. Candidate status: - init: initialization - start: sent to algorithm - pending: in algorithm queue - process: being processing - copy: uploading to cloud storage - success: success - fail: algorithm error
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
_id
stringÂ
required
id obtained by video/create
Example
{"_id":"652630d6bae4de626f8b49ec"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://video.a2e.ai/api/v1/video/awsResult' \
--header'Content-Type: application/json' \
--data-raw'{"_id":"652630d6bae4de626f8b49ec"}'
Responses
🟢200awsResult
application/json
Body
code
integerÂ
required
data
array [object {17}]Â
required
_id
stringÂ
required
ID of the data entry
msg
stringÂ
optional
result
stringÂ
required
result (the url) of the video generation
process
integerÂ
optional
status
stringÂ
required
status of the video generation. Status values: - `init`: initialization - `start`: sent to algorithm - `pending`: algorithm queue - `process`: algorithm processing - `copy`: saved to cloud storage - `success`: success - `fail`: algorithm error