nexus_reorder_item
Reorder collection images or videos by specifying the item to move, its target, and whether it goes before or after. Requires ownership of the parent collection.
Instructions
Reorder reorderable items (collection images/videos) via v2 GraphQL.
Requires ownership of the parent collection.
Returns: JSON {item: {__typename}} or an error string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the item (collection image/video) to move. | |
| location | Yes | Position relative to target. | |
| target_id | Yes | ID of the item to position relative to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |