Operation CategoriesКатегории операции (видимые вызывающему)

Категории операции (видимые вызывающему)

Присвоенные категории со значениями. sensitive-поля РЕДАКТИРУЮТСЯ под доступ: значение приходит null, а ключ попадает в redactedFields — показывайте «скрыто», а не пустоту

curl -X GET "https://policy-engine-rest.ezig.workers.dev/api/v1/vaults/demo_vault/operations/transfer/example_string/categories" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "items": [
    {
      "id": "cmr3f41z20001psp7phmyapw3",
      "vaultId": "example_string",
      "operationType": "deposit",
      "operationId": "example_string",
      "categoryId": "example_string",
      "category": {
        "id": "example_string",
        "key": "example_string",
        "name": "John Doe"
      },
      "values": {},
      "redactedFields": [
        "example_string"
      ],
      "version": 42,
      "status": "active",
      "createdById": "example_string",
      "updatedById": "example_string",
      "createdAt": "2026-07-02T11:25:15.134Z",
      "updatedAt": "2026-07-02T11:25:15.134Z"
    }
  ]
}
GET
/api/v1/vaults/{code}/operations/{type}/{id}/categories
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

better-auth session token. Мобилка/сервисы. Веб использует cookie.

better-auth session token. Мобилка/сервисы. Веб использует cookie.
API Key (cookie: better-auth.session_token)
path
codestring
Required

Уникальный код Vault'а (slug)

path
typestring
Required
Options: transfer, deposit
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. better-auth session token. Мобилка/сервисы. Веб использует cookie.

path
parameterstring
Required

API Key for authentication. Provide your API key in the cookie.

Path Parameters

codestring
Required

Уникальный код Vault'а (slug)

Example:
demo_vault
typestring
Required
Allowed values:transferdeposit

Responses

itemsarray
Required