Bouquets

Add or remove what a bouquet holds

POST/management/bouquets/{id}/content/

write Change: creates or edits. Scopes

Add or remove streams, movies or TV shows by id, or everything a search selects (match). You need the same rights as to edit the bouquet, and can add only what you could list with membership=out.

Path parameters

  • idstring (uuid)required

    A UUID string identifying this Bouquet.

Body

  • kindstringrequired
    • streams - streams
    • movies - movies
    • series - series

    One of: "streams" "movies" "series"

  • addstring (uuid)[]
  • removestring (uuid)[]
  • matchobject
    • actionstringrequired
      • add - add
      • remove - remove

      One of: "add" "remove"

    • searchstring

      The same search as the list.

    • categorystring (uuid)can be null

      Only this category.

Response

200 OK

  • addedintegerrequired
  • removedintegerrequired
  • streams_countintegerrequired
  • movies_countintegerrequired
  • series_countintegerrequired

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.
  • 404 Nothing with this id, or nothing the account can see.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means