Update preview position

PUT /actions/preview-files/{preview_file_id}/update-position

Allow to change orders of previews for a single revision.

Path parameters

  • preview_file_id string(uuid) Required

    Preview file unique identifier

application/json

Body

  • position integer

    New position for the preview

Responses

  • 200 application/json

    Preview position updated

    Hide response attributes Show response attributes object
    • id string(uuid)

      Preview file unique identifier

    • position integer

      Preview position

PUT /actions/preview-files/{preview_file_id}/update-position
curl \
 --request PUT 'http://api.example.com/actions/preview-files/a24a6ea4-ce75-4665-a070-57453082c25/update-position' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"position":2}'
Request examples
{
  "position": 2
}
Response examples (200)
{
  "id": "a24a6ea4-ce75-4665-a070-57453082c25",
  "position": 2
}