Skip to content

List live jobs

Description: List jobs of live event

GET https://lms-api.swiftfederation.com/v7.4.0/live_event_job

Request

  • Header

  • Body

Field Required Type Description
app O String app name.
stream O String stream name
status O String status of job. Options of status as "initial","streaming","interrupted","timeout", "banned", and "ended".
page_offset O int offset of page. Default is 0.
page_length O int no. of items for each page. Default is 20.

Response

  • Header

  • Body

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

Examples

  • Common
  • Request

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

*

  • Response
{
     "request_id": "9df8a3cfcc2b458e8f521c437a4d08ac.39.16312448007110000",
     "jobs": [
          {
               "app": "a21090904",
               "stream": "s210909",
               "status": "initial",
               "inbound": {
                    "protocol": "rtmp",
                    "parameters": {
                         "url": "rtmp://192.168.1.25/a21090904/s210909?token=1631272827-b1a1f1ef23ed4af4279edcd809693728"
                    }
               },
               "outbounds": [
                    {
                         "type": "hls",
                         "manifest": "/a21090904/s210909_ma.m3u8",
                         "playlist": [
                              {
                                   "preset": "copy",
                                   "uri": "/a21090904/s210909-copy.m3u8"
                              }
                         ]
                    }
               ]
          },
          {
               "app": "a2021090903",
               "stream": "s20210909",
               "status": "initial",
               "inbound": {
                    "protocol": "rtmp",
                    "parameters": {
                         "url": "rtmp://192.168.1.25/a2021090903/s20210909?token=1631270818-8acfeecf7291c4a10224a7f8bc8f6417"
                    }
               },
               "outbounds": [
                    {
                         "type": "dash",
                         "manifest": "/a2021090903/s20210909_ma.mpd",
                         "playlist": [
                              {
                                   "preset": "240H",
                                   "uri": "/a2021090903/s20210909-240H.mpd"
                              }
                         ]
                    },
                    {
                         "type": "hls",
                         "manifest": "/a2021090903/s20210909_ma.m3u8",
                         "playlist": [
                              {
                                   "preset": "240H",
                                   "uri": "/a2021090903/s20210909-240H.m3u8"
                              }
                         ]
                    }
               ]
          }
     }
}