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.
You can only call this method when authenticated as a Wix app or Wix user identity.
Number of items to load.
Number of items to skip in the current sort order.
Retrieved tasks.
Paging metadata.
curl GET https://wixapis.com/autocms/v1/tasks?paging.offset=5 \
-H 'Authorization: <AUTH>'
{
"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
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.