List Maps Endpoint
const url = 'https://example.com/maps/?skip=0&limit=50&sort_by=name&sort_dir=asc&owned_only=false';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/maps/?skip=0&limit=50&sort_by=name&sort_dir=asc&owned_only=false'List maps. Admins see all; authenticated users see own + internal + public + restricted maps shared with their groups; anonymous see public only.
Supports search (ILIKE on name+description), sort_by (name/created_at/updated_at), sort_dir (asc/desc), and visibility filter (private/internal/public/restricted). owned_only restricts results to the caller’s maps; anonymous callers get no maps.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ”Responses
Section titled “ Responses ”Successful Response
object
object
Who may read a map. A response names restricted only to a client
that sends X-GeoLens-Map-Visibility: restricted; any other client
reads a restricted map as private.
Example
{ "maps": [ { "visibility": "private" } ]}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks access to this resource
Not found
Conflict — resource state prevents the operation
Validation error
Too many requests — retry after the advertised interval
Headers
Section titled “ Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request