v1

latestOpenAPI 3.0.02026-07-1316025.3 KB
Item

Updates details of a specific Item in a specific Space.

post/api/v1/updateItem/{spaceId}/{itemId}

Path parameters

spaceIdstring required
Example:EeQKVCfV0tsoQwmeE0nA

The ID of the space where the item is located. Must be a non-empty string.

itemIdstring required
Example:hRzp9xTTl5pnj2G2Nr3E

The ID of the item to update. Must be a non-empty string.

Request body

titlestring

The new title of the item. Optional.

notestring

The new note content of the item. Optional.

imagestring

The new URL of the image associated with the item. Optional.

linkstring

The new URL of the link associated with the item. Optional.

Example request

{
  "title": "Update item title 2",
  "note": "This is my `wonderful` note",
  "image": "https://media.discordapp.net/attachments/1069316234291712020/1105446908962558022/samoshasfallen_Design_a_bustling_fantasy_marketplace_filled_wit_6b011c6f-6d0c-4e52-b65b-c76f313ef5f4.png"
}

Response

Updated