Collection

Restore hidden collection items

Restore one or more hidden items back to the collection.

patch/v1/collection/restore

Request

  • Base URL
    https://api.miaai.chat (the document declares no server; this is the origin it was published from)
  • URL
    https://api.miaai.chat/v1/collection/restore
  • Auth
    HTTP bearer

Request body

idsstring[] required

Array of collection item (attachment) IDs

Example request

{
  "ids": [
    "uuid-1",
    "uuid-2"
  ]
}

Response

Items restored successfully

affectednumber required

Number of items affected by the operation

Changes

No recorded changes to this operation across all 1 revision of this API.