Skip to main content

Module statement

Module statement 

Source
Expand description

Statement-graph request/response DTOs — the public JSON contract for the /v1/statements verbs (fetch by id, list by filters).

Deliberately identical to the Arc cloud gateway’s contract. Ids are canonical UUID strings. A statement’s object is a tagged union (kind: entity | value | memory | statement); a scalar value is itself a tagged union (type: text | integer | float | bool | unix_nanos | blob).

Structs§

GetStatementQuery
GET /v1/statements/{id} query parameters.
ListStatementsQuery
GET /v1/statements query parameters. All optional.
ListStatementsResponseDto
GET /v1/statements response: a page of statements plus its count.
StatementDetailDto
A read-side statement view in the public JSON contract (dashboard subset).

Enums§

StatementObjectDto
A statement object in the public JSON contract. Ids are UUID strings.
StatementValueDto
A scalar object value in the public JSON contract.

Functions§

get_request_from
Build a wire STATEMENT_GET request from the path id and query.