Playlist editor

Upload an M3U file

POST/editor/uploads/

write Change: creates or edits. Scopes

Keeps an M3U file (.m3u, .m3u8 or .txt, up to 200 MB) for an import: pass the upload id it answers as the source, {"type": "file", "upload": "…"}.

Body

Sent as multipart/form-data.

  • filestring (binary)required

Response

201 OK

  • uploadstringrequired
  • sizeintegerrequired

    Bytes.

Errors

  • 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means