← Technical API reference

Frontend module · STATIC DECLARATIONS

Thread Api client API reference · mansoq-web-teleicu

4 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 4 declarations come from repositories/teleicu/mansoq-web-teleicu/src/types/notes/threadApi.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.create POST /api/v1/patient/{patientId}/thread/ literal
default.list GET /api/v1/patient/{patientId}/thread/ literal
default.createNote POST /api/v1/patient/{patientId}/thread/{threadId}/note/ literal
default.listNotes GET /api/v1/patient/{patientId}/thread/{threadId}/note/ literal

default.create

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

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

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

ThreadCreate declared fields:

Field Type Required Description
encounter string false —

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

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

ThreadRead declared fields:

Field Type Required Description
id string true —
created_date string true —
modified_date string true —
created_by UserReadMinimal true —
updated_by UserReadMinimal true —

Composed/inherited schema references: ThreadBase. 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.list

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

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

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

PaginatedResponse declared fields:

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

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.createNote

POST /api/v1/patient/{patientId}/thread/{threadId}/note/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

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

NoteCreate declared fields:

Field Type Required Description
message string true —

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

NoteRead declared fields:

Field Type Required Description
id string true —
message string true —
message_history Record<string, unknown> true —
created_by UserReadMinimal true —
updated_by UserReadMinimal true —
created_date string true —
modified_date string true —

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.listNotes

GET /api/v1/patient/{patientId}/thread/{threadId}/note/. typed route object; literal. multiple static method/path matches across source registrations; installed target and boundary require review.

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

response type: PaginatedResponse<NoteRead>. 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.