Submits a livestream to the archiving queue

POST /submit

Submits a livestream to the archiving queue

Body Required

Livestream submission payload

  • videoUrl string Required

    YouTube url of live stream which should be added to queue

  • quality integer(int32) Required

    Numeric ID of the quality in which the live stream should be archived

Responses

  • OK

    Hide response attributes Show response attributes object
    • id string Required

      Video ID

    • submitters array[string] Required

      List of user IDs which have submitted this video to the queue (Format: Provider/UserID)

    • scheduledStart string(date-time) Required

      Scheduled start of livestream

    • finished boolean Required

      Whenever the livestream has finished already

    • title string Required

      Livestream title

    • channelName string Required

      Name of channel which is streaming this livestream

    • channelId string Required

      Channel ID of channel which is streaming this livestream

    • thumbnail string Required

      URL to maximum quality thumbnail available for livestream

    • URL where archive is available for download

    • fileSizeBytes integer(int64)

      Archive file size in bytes

    • length integer(int32)

      Length of livestream in seconds

  • Not logged in

POST /submit
curl \
 -X POST https://pomu.app/api/submit \
 -H "Content-Type: application/json" \
 -d '{"videoUrl":"string","quality":42}'
Request example
{
  "videoUrl": "string",
  "quality": 42
}
Request examples
{
  "videoUrl": "string",
  "quality": 42
}
Response examples (200)
{
  "id": "string",
  "submitters": [
    "string"
  ],
  "scheduledStart": "2023-05-04T09:42:00+00:00",
  "finished": true,
  "title": "string",
  "channelName": "string",
  "channelId": "string",
  "thumbnail": "string",
  "downloadUrl": "string",
  "fileSizeBytes": 42,
  "length": 42
}
Response examples (200)
{
  "id": "string",
  "submitters": [
    "string"
  ],
  "scheduledStart": "2024-05-04T09:42:00+00:00",
  "finished": true,
  "title": "string",
  "channelName": "string",
  "channelId": "string",
  "thumbnail": "string",
  "downloadUrl": "string",
  "fileSizeBytes": 42,
  "length": 42
}