Create Sandbox Project From Feature
Changed onCreate a sandbox project from a confirmed resolved feature (address entry).
The create-flow inversion: unlike POST /sandbox (county picked first), the county scope is derived from the matched feature before the project's RLS role is provisioned. Two-phase — this handler derives scope, inserts the PENDING project + role synchronously, and enqueues the async layer seed; status flips to ready and the layer arrives via SSE.
No available_geographies 403: the matched feature is in-coverage by construction (the resolver only searched this workspace's loaded sandbox). Unknown feature_id → 404; a county somehow not loaded → 404 before any project row is inserted; a matched feature whose _county_fips is NULL/malformed (a sandbox data-integrity fault, not a caller error) → 422.
Request
- Base URLhttps://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.maia-analytics.com/api/v1/project/sandbox/from-feature
- AuthHTTP bearer
Headers
Request body
Response
Successful Response
Changes
- breaking
the request property
became required - breaking
request property
list-of-types was narrowed by removing typesnullfrom media typeapplication/json - breaking
added the pattern
^\d{5}$to the request property
- breaking
- info
added the new optional request property
- info