List Named Maps

Description

Returns a list of named maps that are available within the repository.

ACL Authorization Flow

To list all the named maps stored in a repository, the user (or any roles they belong to) will need Execute permission on the named maps in the following manner:

  • “EXECUTE” for entity type “Location Intelligence.Named Resources”
Note: All the named maps or named layers are filtered from Jackrabbit search with EXECUTE permission. The response will contain those tables on which user has EXECUTE permission. If the user has no EXECUTE permissions on any tables then an empty list is returned.

HTTP GET URL Format

The following format is used for HTTP GET requests:


HTTP GET /maps.rep
			

Parameters

For information on the parameter types listed below, see Request URL Data Types.

Parameter Type Required Description
rep String yes The representation to be returned. Supported representation is JSON.

Returns

Returns a list of maps in the specified format.

Example

This example returns a list of available maps in the repository, as an array of String values.


http://www.pbbi.com/rest/Spatial/MappingService/maps.json
			

The following example shows the format of the JSON object returned in the response:



{
    "Maps":
    [
        "/Samples/NamedMaps/MapWithBarLayer",
        "/Samples/NamedMaps/CountriesWithShapeTable",
        "/Samples/NamedMaps/MapWithLayerStyle",
        "/Samples/NamedMaps/MapWithLayer",
        "/Samples/NamedMaps/MapWithPieLayer",
        "/Samples/NamedMaps/WorldMap",
        "/Samples/NamedMaps/WorldWithGradSymLayer",
        "/Samples/NamedMaps/MapWithTable"
    ]
}