Layers
Get layers
Get a collection of all layers for a project
get/api/v2/projects/{projectKey}/layers
Path parameters
projectKeystring string required
The project key
The project key
Query parameters
filterstring string
A comma-separated list of filters. This endpoint only accepts filtering by experimentKey. The filter returns layers which include that experiment for the selected environment(s). For example: filter=reservations.experimentKey contains expKey.
A comma-separated list of filters. This endpoint only accepts filtering by experimentKey. The filter returns layers which include that experiment for the selected environment(s). For example: filter=reservations.experimentKey contains expKey.
Response
Layer Collection response
Example response
{
"items": [
{
"key": "checkout-flow",
"name": "Checkout Flow",
"description": "The checkout flow for the application",
"randomizationUnit": "user"
}
],
"_links": {
"self": {
"href": "/api/v2/projects/my-project/layers",
"type": "application/json"
}
}
}