Custom Location Extension API Developer's Guide

List my Geometry Layers

Resource method and URI

GET /2/layers/list.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.
detail_level No One of none, grants, timestamp or all. Default = none. Adds the specified layer details to the response.
layer_id Yes Layer ID identifying the layers to be searched. Layer names are not case sensitive. The maximum length of a layer name and the permitted characters can be lookup up in the service via /serviceconfiguration.json
callback No Specifies the function used to wrap the JSON response.

Example Response

{
  "layers":
    [
      "my_stores",
      "my_geofences",
      "my_warehouses",
    ]
}