v1

latestOpenAPI 3.1.0BUSL-1.12026-07-1756132288.0 KB

Register a scope node (auto-vivifies missing ancestors; enforces scope:create, depth, node-budget, and per-node policy).

post/api/v1/{context_id}/scopes

Path parameters

context_idstring required

Spectron context id

Request body

descriptionstring nullable

Optional description for the UI.

displayNamestring nullable

Optional display name for the UI.

pathstring required

A validated, canonical scope path in slash form, e.g. org/apple/product/ipad/. Root is /.

Response

createdAtstring date-time required

Creation timestamp.

pathstring required

A validated, canonical scope path in slash form, e.g. org/apple/product/ipad/. Root is /.

tombstonedAtstring date-time nullable

Soft-delete timestamp; null while the node is live.