Skip to content

Get a job

Description: Query a job

GET https://vms-api.swiftfederation.com/v7.4.0/job/{id}

Request

  • Header

  • Parameters

Field Required Type Description
id M Long

Response

  • Header

  • Body

Field Required Type Description
request_id M String Unique id of current HTTP request.
job M Object refer to Job Object

Examples

  • Common
  • Request

GET https://vms-api.swiftfederation.com/v7.4.0/job/24777
Content-Type: application/json; charset=UTF-8
Authorization: ...

*

  • Response
   {
     "request_id": "91fbbe26f3cb4f34905a887a231ca8eb.21.16346286427580002",
     "job": {
          "id": 24777,
          "file_name": "s1.mp4",
          "status": "Distributed",
          "started": 1634628525650,
          "ended": 1634628546217,
          "origin": [
               {
                    "protocol": "hls",
                    "manifest": "/20211018/24777/1/2/820/manifest.m3u8",
                    "playlist": [
                         {
                              "preset": "Transmuxing_only",
                              "uri": "/20211018/24777/1/2/820/951/playlist.m3u8"
                         },
                         {
                              "preset": "640x360,300kbps",
                              "uri": "/20211018/24777/1/2/820/965/playlist.m3u8"
                         },
                         {
                              "preset": "960x540,500kbps",
                              "uri": "/20211018/24777/1/2/820/966/playlist.m3u8"
                         },
                         {
                              "preset": "Audio_only",
                              "uri": "/20211018/24777/1/2/820/997/audio_only/playlist.m3u8"
                         }
                    ],
                    "drm": "aes"
               },
               {
                    "protocol": "hls",
                    "manifest": "/20211018/24777/1/3/820/manifest.m3u8",
                    "playlist": [
                         {
                              "preset": "Transmuxing_only",
                              "uri": "/20211018/24777/1/3/820/951/playlist.m3u8"
                         },
                         {
                              "preset": "640x360,300kbps",
                              "uri": "/20211018/24777/1/3/820/965/playlist.m3u8"
                         },
                         {
                              "preset": "960x540,500kbps",
                              "uri": "/20211018/24777/1/3/820/966/playlist.m3u8"
                         },
                         {
                              "preset": "Audio_only",
                              "uri": "/20211018/24777/1/3/820/997/audio_only/playlist.m3u8"
                         }
                    ],
                    "drm": "none"
               },
               {
                    "protocol": "hls",
                    "manifest": "/20211018/24777/1/3/918/manifest.m3u8",
                    "playlist": [
                         {
                              "preset": "360p (640x360,300kbps)",
                              "uri": "/20211018/24777/1/3/918/1020/playlist.m3u8"
                         }
                    ],
                    "drm": "none"
               },
               {
                    "protocol": "hls",
                    "manifest": "/20211018/24777/1/2/918/manifest.m3u8",
                    "playlist": [
                         {
                              "preset": "360p (640x360,300kbps)",
                              "uri": "/20211018/24777/1/2/918/1020/playlist.m3u8"
                         }
                    ],
                    "drm": "aes"
               }
          ]
     }
}