Grant other app_ids Access to Geometry Layers
Resource method and URI
GET/2/layers/access/grant.json
Query Parameters
Parameters | Required? | Description |
---|---|---|
app_id | Yes | A URL-safe encoded string obtained during the application registration. See Acquiring Credentials for information on getting credentials. |
app_code | Yes | A URL-safe encoded string obtained during the application registration. See Acquiring Credentials for information on getting credentials. |
layer_id | Yes | layer to become accessible to the granted_app_id |
granted_app_id | Yes | Other app_id that will get access to the layer |
permissions | Yes | Comma separated list containing read , write and/or export . read allows searches on the layer (except all.json or all.txt ), write allows uploading or modifying the layer and export allows all searches. Regardless of the previous permissions, the granted_app_id replaces these access rights. An empty list revokes all permissions. |
callback | No | Specifies the function used to wrap the JSON response. |
Fleet Telematics Custom Locations supports granting access rights only for updatable layers, not for read-only layers.