This route lists all layers that the user can access. It returns layers with their sites, technical installations, and associated parameters. Technical installation parameters are taken from the site level if defined, otherwise from the organization level.
Send a GET request to /plans/v1/rs/{planId}/layers.
extend (string): Comma-separated list of fields to extend (e.g., “sites,technicalInstallations,tags”)The request will fail if:
s
Only authenticated users with proper permissions can list layers. The results are filtered based on the cells/layers that are accessible to the user. Requires x-session-token header.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
"application/json"Unique identifier of the plan.
-9007199254740991 <= x <= 90071992547409911
Extend options:
actions-info Filter by layer name
"string"
Filter by createdAt date
"2021-01-01T00:00:00.000Z"
Include total count in response.
true
Page number.
-9007199254740991 <= x <= 90071992547409911
Page size.
-9007199254740991 <= x <= 900719925474099150
Get the page where the item with this id is located.
-9007199254740991 <= x <= 90071992547409911
Sub page size for grouping items.
-9007199254740991 <= x <= 900719925474099110