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 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