Skip to content

Get a tag change's progress

GET/v1/tags/operations/{operationId}
Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequired

Bearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.

Path parameters
operationIdstringrequired
Responses
200

Tag operation

idstringrequired
kindstringrequired
Allowed:renamemergedelete
fromstringrequired

The tag being changed, lowercased.

tostring | nullrequired

The new name (rename) or the tag merged into (merge).

statusstringrequired
Allowed:runningcompletedfailed
totalnumberrequired

Cards carrying the tag when the change started (counted up to 10000).

processednumberrequired

Cards looked at so far.

changednumberrequired

Cards rewritten so far.

errorstring | nullrequired
createdAtnumberrequired
updatedAtnumberrequired
completedAtnumber | nullrequired
404

Tag operation not found

Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://teakvault.com/api/v1/tags/operations/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "id": "string",
  "kind": "rename",
  "from": "string",
  "to": "string",
  "status": "running",
  "total": 0,
  "processed": 0,
  "changed": 0,
  "error": "string",
  "createdAt": 0,
  "updatedAt": 0,
  "completedAt": 0
}

Was this page helpful?