List the zoom ranges of a condition

Returns the zoom ranges of a condition of a style rule.

Required role: ORG_VIEWER, and the current user must have the VIEW permission on the project.

locale is accepted for consistency with the other endpoints, but zoom ranges have no text: the response is the same with or without it. A code that isn't a known language returns 400.

What a zoom range is

A zoom range (style map scale) belongs to a condition of a style rule. It gives the style used to draw the features matched by the condition between two zoom levels:

FieldContent
styleIdA style of your organization, compatible with the layer's element type (a compound style is checked on its first style)
minimumZoomFrom 0 to 23, default 0
maximumZoomFrom 0 to 23, default 23. Must be greater than minimumZoom

A condition always keeps at least one range. The ranges of a condition can't overlap; they can touch (0–10 and 10–23). Their order isn't significant.

A referenced layer uses the style rules of its source layer: style-rule must then be a rule of the source layer. Zoom ranges can be listed on a reference, but can't be created, changed or deleted there (400).

Organization

organization must be the organization of the access token, and the project must belong to it; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the layer (a layer of the project)

uuid
required

Id of the style rule (a rule of the layer)

uuid
required

Id of the condition (a condition of the style rule)

Query Params
string

Accepted for consistency; it doesn't change the response (zoom ranges have no text). Such as en, fr or es.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json