reorder_records
Atomically reorder records for one published model.
Input schema
Section titled “Input schema”{ "properties": { "application_id": { "title": "Application Id", "type": "string" }, "group_field": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Group Field" }, "group_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Group Id" }, "model_id": { "title": "Model Id", "type": "string" }, "moved_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Moved Id" }, "ordered_ids": { "items": { "type": "string" }, "title": "Ordered Ids", "type": "array" }, "source_group_id": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Source Group Id" }, "source_ordered_ids": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Source Ordered Ids" } }, "required": [ "application_id", "model_id", "ordered_ids" ], "title": "reorder_recordsArguments", "type": "object"}Output schema
Section titled “Output schema”{ "properties": { "updated": { "items": { "properties": { "_resolved": { "anyOf": [ { "additionalProperties": { "additionalProperties": true, "type": "object" }, "type": "object" }, { "type": "null" } ], "title": "Resolved" }, "applicationId": { "format": "uuid", "title": "Applicationid", "type": "string" }, "createdAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Createdat" }, "createdBy": { "anyOf": [ { "format": "uuid", "type": "string" }, { "type": "null" } ], "title": "Createdby" }, "data": { "additionalProperties": true, "title": "Data", "type": "object" }, "id": { "format": "uuid", "title": "Id", "type": "string" }, "modelId": { "format": "uuid", "title": "Modelid", "type": "string" }, "redirect": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "title": "Redirect" }, "tenantId": { "format": "uuid", "title": "Tenantid", "type": "string" }, "updatedAt": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Updatedat" }, "workspaceId": { "format": "uuid", "title": "Workspaceid", "type": "string" } }, "required": [ "id", "tenantId", "workspaceId", "applicationId", "modelId", "data", "createdBy" ], "title": "RecordResponse", "type": "object" }, "title": "Updated", "type": "array" } }, "required": [ "updated" ], "title": "ReorderRecordsResponse", "type": "object"}