Tasks (Legacy)
Publish Task Version (Legacy)
Changed onPublishes a specific version of a task. This creates a new version if it doesn't exist, or updates an existing version's metadata.
If you are using the new Task Builder, see the non-deprecated Tasks endpoints in this API reference.
post/v1/task/{taskId}/{taskVersion}
Request
- Base URLhttps://api.anchorbrowser.io
- AuthAPI key in header anchor-api-key
Path parameters
taskIdstring uuid required
The ID of the task
taskVersionstring required
The version to publish (cannot be draft)
Request body
Example request
{
"browserConfiguration": {
"tags": [
"production",
"scraping",
"customer-123"
],
"domain_allowlist": [
"example.com",
"example.org"
]
}
}Response
Task version published successfully
Example response
{
"data": {
"browserConfiguration": {
"tags": [
"production",
"scraping",
"customer-123"
],
"domain_allowlist": [
"example.com",
"example.org"
]
}
}
}Changes
- info
added the new optional request property
/ - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info