admin

Create Region Admin

Create a region (save row + enqueue the scoped backfill in one action, §2.5). 409 if the id already exists — PATCH to edit.

post/admin/regions

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/admin/regions
  • Auth
    none declared

Request body

idstring required
namestring required
outlineobject required
area_km2number nullable
source'osm-relation' | 'admin-union' | 'hand-drawn'
source_refsstring[]
enabledboolean

Response

Successful Response

idstring required
namestring required
area_km2number required
sourcestring required
source_refsstring[] required
enabledboolean required
member_countinteger required
created_atstring date-time required
updated_atstring date-time required
outlineobject required

Changes

No recorded changes to this operation across all 34 revisions of this API.