Skip to content
Navigation

Rename a collection

Only the user's own collections; Disukai and platform ones stay as they are. Needs the videos:create permission.

PATCH
https://app.mosio.me/v1/discover/collections/{id}

Authorization

  • apiKeyAPI key in headerrequired

Path parameters

  • idstringrequired

Request bodyJSONrequired

  • namestringrequired
    maxLength: 80 · minLength: 1

Returns

200

The collection.

JSON
  • idstringrequired
  • namestringrequired

400

The request body is not valid JSON or does not match the schema.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

401

The API key is missing or not valid.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

404

No such video or file in this workspace.
JSON
  • errorunauthorizedorinvalid_api_keyorinsufficient_scopeorforbiddenorinvalid_inputorinvalid_composition+8 morerequired

    A stable error code.

  • messagestringrequired

    A message for people, in Indonesian.

  • detailsoptionalunknown

    More about the error, such as the fields to fix.

Type to search…

↑↓ navigate↵ selectEsc close