get
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//styles/resources/
Returns one symbology resource, with its image and tags.
Required role: ORG_EDITOR.
What a symbology resource is
A reusable image for styles, kept in a library:
resourceType | Image | Used as |
|---|---|---|
SYMBOL | SVG, PNG, GIF or JPEG, 100 x 100 pixels at most | symbolData of a POINT style |
FILL_PATTERN | SVG, PNG, GIF or JPEG, 128 x 128 pixels at most | patternData of a POLYGON style |
LINE_PATTERN | SVG, PNG, GIF or JPEG, 128 x 128 pixels at most | linePatternData or borderPatternData of a style |
resourceData is the image as Base64. Styles keep a copy of the image: changing or deleting a resource doesn't change the styles.
Global resources (global: true) are provided by the platform to every organization: they are listed with yours, but can't be changed, deleted or tagged (400).
Organization
organization must be the organization of the access token, and the resource must belong to it (or be global); otherwise the request returns 404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…