arctos-SDK For developsarctos-SDK For develops
Home
Okuma
arctos
Contact
  • English
  • 繁體中文
Home
Okuma
arctos
Contact
  • English
  • 繁體中文
  • Guide

    • get-started
  • Spec

    • Peer to Peer Direct
    • Relay based
  • Api

    • Overview
    • Auth
    • Task
    • Business
    • Room
  • Peer to Peer Direct

    • overview
    • installization
    • features

      • initial_setting
      • room
      • camera
      • conference
      • microphone
      • speaker
      • share_screen
      • paint_board
      • recording
      • layout
  • Relay based

    • overview
    • installization
    • features

      • initial_setting
      • camera
      • microphone
      • speaker
      • share_screen
      • paint_board
      • share_message
      • switch_template
      • video_filters

getVideoByTaskNumber

Query the related video files using the task number

/images/skip-forward_brown.svg /api/upload/get_info
/images/transfers_orange.svg POST

Request:

{
    "task_num":"202408310000001",
    "guaranty_code":1,
    "file_type":"webm"
}
ParameterMeaningTypeRequiredDefault valueDescription
HEADERS
Content-TypestringYapplication/json
AuthorizationstringYBearer
BODY
task_numtask numberstringYthe task number which you want took or watch files
guaranty_codetask timesintergerNNumber of video calls
file_typefile extensionstringNThere are four types to choose:
mp4/webm/json/image

Response:

{
    "status": 1,
    "message": "success",
    "data": [
        {
            "file_name": "str_CAM_Zi7w_con_CVl2sV8ZHr.webm",
            "recording_duration": 130,
            "type": "video/webm",
            "size": "24807413",
            "path": "..../upload/zip/202408310000001_1",
            "view_url": ".....202408310000001_1/str_CAM_Zi7w_con_CVl2sV8ZHr.webm",
            "remark": "MODERATOR"
        }
    ]
}
ParameterMeaningTypeExistedDefault valueDescription
BODY
statusresponse statusstringY0: fail
1: success
2: warning
messagemessagestringY“”Error messages should be shown when there are errors.
datafiles informationarrayY
data.file_namefile namestringY
data.recording_durationVideo DurationintegerYThe video duration is measured in seconds.
data.typefile extensionstringYThe file type adheres to MIME types.
data.sizefile sizestringYThe file size is measured in bytes.
data.pathfile pathstringY
data.view_urlvideo urlstringYthe video URL which can open in window to watch the videos
data.remarkremarkstringNsomethings need to notice

Error code:

The following is a table of error messages returned by the API.

CodeStatusErrorMessage
2001success
0Unauthorized Access
404Resource Not Found
403Access to the requested resource is not allowed