Visibility Check Endpoint
const url = 'https://example.com/maps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/visibility-check/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/visibility-check/ \ --header 'Authorization: Bearer <token>'Check if a map has non-public datasets. Informational only.
Owner-or-admin like the other sharing mutations: the response names non-public dataset titles, which read access alone must not reveal. Read access is checked first so unreadable maps keep answering 404 (SEC-007 existence-hiding); readable non-owners get 403.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Successful Response
object
Titles of datasets not publicly visible
True if any layer references a non-public dataset
Example generated
{ "non_public_datasets": [ "example" ], "has_non_public": true}Bad request — invalid payload
Unauthorized — missing or invalid credentials
Forbidden — caller lacks write access
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