admin

Update Region Admin

Edit/disable a region. Re-runs the scoped backfill over the UNION of the old + new bboxes so a shrunk or disabled outline un-tags the places that left it (§2.5; for a pure enable/disable toggle old == new — one scan).

patch/admin/regions/{region_id}

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/{region_id}
  • Auth
    none declared

Path parameters

region_idstring required

Request body

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

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.