← Technical API reference

Backend resource · STATIC DECLARATIONS

Token Category API reference · mansoq-core-teleicu

Static source contract for Token Category: 6 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.

Static API contract — behavior review pending. Source baseline f6e9f05f76d4.

Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.

Declared route and availability

This resource is declared in mansoq-core-teleicu at /api/v1/facility/{facility_external_id}/token/category/. verified core mount in config/urls.py This is an alternative core contract, not proof that the primary core uses the same behavior. A registered path and an indexed handler do not prove deployment availability, user permission or production readiness.

Operation map

Method Path Action Evidence
GET /api/v1/facility/{facility_external_id}/token/category/ list declared/inherited method
POST /api/v1/facility/{facility_external_id}/token/category/ create declared/inherited method
GET /api/v1/facility/{facility_external_id}/token/category/{external_id}/ retrieve declared/inherited method
PUT /api/v1/facility/{facility_external_id}/token/category/{external_id}/ update declared/inherited method
PATCH /api/v1/facility/{facility_external_id}/token/category/{external_id}/ partial_update declared/inherited method
POST /api/v1/facility/{facility_external_id}/token/category/{external_id}/set_default/ set_default @action declaration

list · GET

GET /api/v1/facility/{facility_external_id}/token/category/ — action list. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true

response: TokenCategoryReadSpec. Declared fields below; inherited fields are retained in the schema inventory.

Field Type Required Constraints
meta dict false No extra constraint extracted
id UUID4 | None false No extra constraint extracted
name str true No extra constraint extracted
resource_type SchedulableResourceTypeOptions true No extra constraint extracted
shorthand str true max_length: 5
metadata dict | None false No extra constraint extracted
default bool true No extra constraint extracted

Observed authorization checks: can_list_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

create · POST

POST /api/v1/facility/{facility_external_id}/token/category/ — action create. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true

request: TokenCategoryCreateSpec. Declared fields below; inherited fields are retained in the schema inventory.

Field Type Required Constraints
meta dict false No extra constraint extracted
id UUID4 | None false No extra constraint extracted
name str true No extra constraint extracted
resource_type SchedulableResourceTypeOptions true No extra constraint extracted
shorthand str true max_length: 5
metadata dict | None false No extra constraint extracted

response: TokenCategoryRetrieveSpec. Declared fields below; inherited fields are retained in the schema inventory.

Field Type Required Constraints
meta dict false No extra constraint extracted
id UUID4 | None false No extra constraint extracted
name str true No extra constraint extracted
resource_type SchedulableResourceTypeOptions true No extra constraint extracted
shorthand str true max_length: 5
metadata dict | None false No extra constraint extracted
default bool true No extra constraint extracted
created_by dict false No extra constraint extracted
updated_by dict false No extra constraint extracted

Observed authorization checks: can_list_facility_token_category, can_write_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

retrieve · GET

GET /api/v1/facility/{facility_external_id}/token/category/{external_id}/ — action retrieve. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true
path external_id router lookup string; semantic ID validation requires handler/schema review true

response: TokenCategoryRetrieveSpec. Declared fields below; inherited fields are retained in the schema inventory.

The declared field table is shown at its first occurrence in this reference; this operation links the same schema.

Observed authorization checks: can_list_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

update · PUT

PUT /api/v1/facility/{facility_external_id}/token/category/{external_id}/ — action update. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true
path external_id router lookup string; semantic ID validation requires handler/schema review true

request: TokenCategoryCreateSpec. Declared fields below; inherited fields are retained in the schema inventory.

The declared field table is shown at its first occurrence in this reference; this operation links the same schema.

response: TokenCategoryRetrieveSpec. Declared fields below; inherited fields are retained in the schema inventory.

The declared field table is shown at its first occurrence in this reference; this operation links the same schema.

Observed authorization checks: can_list_facility_token_category, can_write_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

partial_update · PATCH

PATCH /api/v1/facility/{facility_external_id}/token/category/{external_id}/ — action partial_update. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true
path external_id router lookup string; semantic ID validation requires handler/schema review true

request: TokenCategoryCreateSpec. Declared fields below; inherited fields are retained in the schema inventory.

The declared field table is shown at its first occurrence in this reference; this operation links the same schema.

response: TokenCategoryRetrieveSpec. Declared fields below; inherited fields are retained in the schema inventory.

The declared field table is shown at its first occurrence in this reference; this operation links the same schema.

Observed authorization checks: can_list_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

set_default · POST

POST /api/v1/facility/{facility_external_id}/token/category/{external_id}/set_default/ — action set_default. static contract extracted; runtime/permission/payload behavior review pending.

Path and deployment-context parameters:

Location Parameter Type Required
path facility_external_id router lookup string; semantic ID validation requires handler/schema review true
path external_id router lookup string; semantic ID validation requires handler/schema review true

Observed authorization checks: can_list_facility_token_category, can_write_facility_token_category. Helper/queryset evidence is included; this is not proof of complete security review.

Declared refusal/error evidence: PermissionDenied: Access Denied to Token Category.

Integration review checklist

Confirm the installed route and full schema; review authentication, organization/facility scoping, all accepted fields, value-state and date/time semantics, idempotency, pagination, response/exception branches and the allowed correction/reversal workflow. Test positive and negative cases with synthetic data. This source reference does not establish external certification or replace an illustrated user procedure.

Pinned source evidence

Links require access to the private source repository.