← Technical API reference

Frontend module · STATIC DECLARATIONS

Resource Category Api client API reference · mansoq-web-teleicu

6 client route/call declarations with path parameters, named payload/response types and source references. Exact server acceptance and permissions require the matched backend contract.

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.

Client contract scope

These 6 declarations come from repositories/teleicu/mansoq-web-teleicu/src/types/base/resourceCategory/resourceCategoryApi.ts. Client types and noAuth flags describe the caller; they do not authorize a server action. Dynamic paths and missing backend matches are retained as review work, not repaired into invented endpoints.

Operation map

Client method HTTP method Path pattern Resolution
default.list GET /api/v1/facility/{facilityId}/resource_category/ literal
default.get GET /api/v1/facility/{facilityId}/resource_category/{slug}/ literal
default.create POST /api/v1/facility/{facilityId}/resource_category/ literal
default.update PUT /api/v1/facility/{facilityId}/resource_category/{slug}/ literal
default.delete DELETE /api/v1/facility/{facilityId}/resource_category/{slug}/ literal
default.setMonetaryComponents POST /api/v1/facility/{facilityId}/resource_category/{slug}/set_monetary_components/ literal

default.list

GET /api/v1/facility/{facilityId}/resource_category/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

response type: PaginatedResponse<ResourceCategoryRead>. client-side declaration; not proof of accepted server payload.

PaginatedResponse declared fields:

Field Type Required Description
count number true —
results TItem[] true —

ResourceCategoryRead declared fields:

Field Type Required Description
created_at string true —
updated_at string true —
created_by UserReadMinimal true —
updated_by UserReadMinimal true —

Composed/inherited schema references: ResourceCategoryBase. Exact generic composition is retained in the structured reference and requires server-side confirmation.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.get

GET /api/v1/facility/{facilityId}/resource_category/{slug}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, slug. Transport strings are declared here; semantic identifier types require the server contract.

response type: ResourceCategoryRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.create

POST /api/v1/facility/{facilityId}/resource_category/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId. Transport strings are declared here; semantic identifier types require the server contract.

request type: ResourceCategoryCreate. client-side declaration; not proof of accepted server payload.

ResourceCategoryCreate declared fields:

Field Type Required Description
title string true —
description string false —
parent string false —
slug_value string true —
resource_type ResourceCategoryResourceType true —
resource_sub_type ResourceCategorySubType true —

response type: ResourceCategoryRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.update

PUT /api/v1/facility/{facilityId}/resource_category/{slug}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, slug. Transport strings are declared here; semantic identifier types require the server contract.

request type: ResourceCategoryUpdate. client-side declaration; not proof of accepted server payload.

ResourceCategoryUpdate declared fields:

Field Type Required Description
title string true —
slug_value string true —
description string false —
parent string false —
resource_type ResourceCategoryResourceType true —
resource_sub_type ResourceCategorySubType true —

response type: ResourceCategoryRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.delete

DELETE /api/v1/facility/{facilityId}/resource_category/{slug}/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, slug. Transport strings are declared here; semantic identifier types require the server contract.

response type: void. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

default.setMonetaryComponents

POST /api/v1/facility/{facilityId}/resource_category/{slug}/set_monetary_components/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

Path parameters: facilityId, slug. Transport strings are declared here; semantic identifier types require the server contract.

request type: MonetaryComponent[]. client-side declaration; not proof of accepted server payload.

Composed/inherited schema references: StandardMonetaryComponent, DiscountMonetaryComponent. Exact generic composition is retained in the structured reference and requires server-side confirmation.

response type: ResourceCategoryRead. client-side declaration; not proof of accepted server payload.

Operational limitation: request validation, permission checks, error statuses and irreversible side effects belong to the server implementation. An unmatched or computed client route requires contract review before use.

Pinned source evidence

Links require access to the private source repository.