Column References Endpoint
const url = 'https://example.com/layers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/columns/example/references';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/layers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/columns/example/references \ --header 'Authorization: Bearer <token>'Count saved maps whose layer config references a column.
fix(#458): surfaced in the schema editor before a rename/drop so the editor knows how many saved maps depend on the column. Count only — map titles may belong to other users and are not exposed here.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”Successful Response
How many saved maps reference a column in their layer config.
object
Distinct saved maps whose styles/filters/labels/popups reference this column
Example generated
{ "map_count": 1}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