Custom Location Extension API Developer's Guide

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. Regardless of the previous permissions, the granted_app_id will become these access rights. An empty list will revoke all permissions.
callback No Specifies the function used to wrap the JSON response.