List user GeoJSON collections
Returns all GeoJSON feature collections visible to the caller. This includes:
Create a user GeoJSON collection
Creates a new GeoJSON feature collection owned by the caller. The collection is private (`shareType: 'none'`) by default. Use the `/maus/user-geojson/{geojsonId}/sharing` endpoint to share it with others.
Get a single user GeoJSON collection
Returns a single GeoJSON collection by ID. The caller may fetch the collection if they own it (any status) or if it has been shared with them (active status only, via `shareType: 'all'` or `shareType: 'specific'`).
Update a user GeoJSON collection
Updates one or more fields on an existing GeoJSON collection. **Owner-only.** At least one of `name`, `description`, `featureCollection`, `style`, or `customer` must be supplied. Omitted fields are left unchanged.
Delete a user GeoJSON collection
Permanently deletes a GeoJSON collection and its associated sharing rule. **Owner-only.** This action is irreversible; use the `/archive` sub-endpoint to soft-delete instead.
Archive a user GeoJSON collection
Sets the collection's `status` to `'archived'`, hiding it from the default list view. **Owner-only.** Archived collections are not visible to users the collection was shared with. Use the `/unarchive` endpoint to restore it.
Unarchive a user GeoJSON collection
Restores an archived collection by setting its `status` back to `'active'`. **Owner-only.** Once unarchived, the collection becomes visible again in the default list view and is visible to any users it was shared with.
Get sharing rule for a collection
Returns the current sharing rule for a collection. **Owner-only.** When the collection is not shared, returns `shareType: 'none'` with an empty `sharedEmails` list.
Set sharing rule for a collection
Creates or replaces the sharing rule for a collection. **Owner-only.**