Applications (beta)
Get application by key
Retrieve an application by the application key.
Expanding the application response
LaunchDarkly supports expanding the "Get application" response to include additional fields.
To expand the response, append the expand query parameter and include the following:
- flags includes details on the flags that have been evaluated by the application
For example, use ?expand=flags to include the flags field in the response. By default, this field is not included in the response.
get/api/v2/applications/{applicationKey}
Path parameters
applicationKeystring string required
The application key
The application key
Query parameters
expandstring string
A comma-separated list of properties that can reveal additional information in the response. Options: flags.
A comma-separated list of properties that can reveal additional information in the response. Options: flags.
Response
Application response
Example response
{
"flags": {
"items": [
{
"name": "Example flag",
"key": "flag-key-123abc"
}
],
"totalCount": 1
},
"_access": {
"denied": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
],
"allowed": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
]
},
"autoAdded": true,
"description": "The LaunchDarkly Cafe app",
"key": "com.launchdarkly.cafe",
"kind": "mobile",
"_maintainer": {
"member": {
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"firstName": "Ariel",
"lastName": "Flores",
"role": "admin",
"email": "ariel@acme.com"
},
"team": {
"customRoleKeys": [
"access-to-test-projects"
],
"key": "team-key-123abc",
"name": "QA Team"
}
},
"name": "LaunchDarklyCafe"
}