Save a structure instance
POST/structures/:namespaceName/:structureName
Creates or updates the active instance of the structure and indexes its fields into the wide tables. The caller must carry a branch (the borrower gateway is the only branchless surface). Every attempt is audited. The returned payload shape follows the structure's field catalog. Returns 404 when the structure is unknown.
The payload keys follow the structure's field catalog, discoverable via the structure catalog endpoints. The request payload must satisfy the same catalog — required catalog fields that are missing, null or blank reject the save with 400.
Permissions required
relation-store:RELATION_STORE_WRITE
Request
Responses
- 200
- 400
- 404
Instance saved; current payload returned
Invalid payload or a required catalog field is missing, null or blank
Structure not found