GET

List Tasks


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Lists all existing tasks.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage All Data Resources
Manage Data Items
Write Data Items
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/cms/v1/tasks

Query Params
paging.limitintegerminimum 0format int32

Number of items to load.


paging.offsetintegerminimum 0format int32

Number of items to skip in the current sort order.

Response Object
tasksArray <Task>

Retrieved tasks.


metadataMetadata

Paging metadata.

List tasks
Request
cURL
curl GET https://wixapis.com/autocms/v1/tasks?paging.offset=5 \ -H 'Authorization: <AUTH>'
Response
JSON
{ "tasks": [ { "id": "097a5564-0fec-4425-8d1e-3e753b48a422", "type": "DELETE_BY_QUERY", "status": "NEW", "startedAt": "2024-09-05T10:34:59.507Z", "estimatedItemCount": 3, "itemsSucceeded": 0, "itemsFailed": 0, "failures": [], "deleteByQueryOptions": { "dataCollectionId": "Items", "environment": "LIVE", "filter": { "holidays": { "$in": ["Halloween"] } } } }, { "id": "097a5564-0fec-4425-8d1e-3e753b48a422", "type": "EDIT_FIELD_DATA", "status": "NEW", "startedAt": "2024-09-05T10:34:59.507Z", "estimatedItemCount": 3, "itemsSucceeded": 0, "itemsFailed": 0, "failures": [], "editFieldDataOptions": { "dataCollectionId": "Items", "environment": "LIVE", "filter": { "holidays": { "$in": ["Halloween"] } }, "fieldKey": "tags", "operations": { "addItems": ["sale"], "removeItems": ["outdated"], "replaceItems": [ { "from": "Goob", "to": "Good" } ], "removeDuplicates": true } } } ], "metadata": { "count": 0, "offset": 5, "total": 0 } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?