API Reference meta-tasks
Restore a version
POST/projects/{project_id}/task-types/{type_id}/versions/{version_id}/restore
Restore a version snapshot as the latest definition.
Request
curl -X POST "$ALLYBUILD_API_URL/projects/$PROJECT_ID/task-types/$TYPE_ID/versions/$VERSION_ID/restore" \
-H "Authorization: Bearer $TASK_JWT" \
-H "Content-Type: application/json"