Skip to main content
PUT
/
gallery
/
reorder
Reorder Gallery Photos
curl --request PUT \
  --url http://localhost:3000/api/gallery/reorder \
  --header 'Content-Type: application/json' \
  --data '
{
  "photoUpdates": [
    {
      "id": "<string>",
      "order": 123
    }
  ]
}
'
{
  "success": true
}

Body

application/json
photoUpdates
object[]
required

Response

200 - application/json

Photos reordered successfully

success
boolean
required

Whether the operation was successful