Skip to content
Navigation

Save posts to a collection

To Disukai, an existing collection, or a new one by name. Needs the videos:create permission.

POST
https://app.mosio.me/v1/discover/save

Authorization

  • apiKeyAPI key in headerrequired

Request bodyJSONrequired

  • post_idsarray ofstringrequired
    pattern: ^dps_[0-9a-f]{16}$
  • collection_idoptionalstring

    Leave out for Disukai, the user's default collection

    pattern: ^dcl_[0-9a-f]{16}$
  • new_collectionoptionalstring

    Make a collection with this name and save there instead

    maxLength: 80 · minLength: 1
  • noteoptionalstring

    Why it was kept

    maxLength: 500 · default: ""

Returns

200

Where they were saved.

JSON
  • collectionobjectrequired
    • idstringrequired
    • namestringrequired
  • savedintegerrequired
    maximum: 9007199254740991 · minimum: -9007199254740991

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.

Type to search…

↑↓ navigate↵ selectEsc close