Maps
Patch Map Layers Endpoint
Apply incremental layer additions, patches, removals, and ordering.
Declared on both slash variants directly, mirroring the POST route below. FastAPI's default redirect_slashes builds a relative Location header that resolves against the request's Host header, which would leak the in-container api:8000 hostname through Vite's dev proxy on a 307 redirect. The canonical (OpenAPI-published) form is the no-slash sub-collection convention documented in the GeoLens API guide (https://docs.getgeolens.com/guides/api/); the trailing-slash form is a hidden alias.
patch/maps/{map_id}/layers
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (password, token URL /api/auth/login)
- API key in header X-Api-Key
- API key in query parameter api_key
Path parameters
map_idstring uuid required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 50 revisions of this API.