Get application overview
GET <your-unleash-url>/api/admin/metrics/applications/:appName/overview
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
Returns an overview of the specified application (appName
).
Request
Path Parameters
- appName string required
Responses
- 200
- 404
applicationOverviewSchema
- application/json
- Schema
- Example (from schema)
Schema
- projects string[] required
The list of projects the application has been using.
- featureCount number required
The number of features the application has been using.
environments object[]required
issues objectrequired
{
"projects": [
"default",
"payment"
],
"featureCount": 5,
"environments": [
{
"name": "production",
"instanceCount": 5,
"sdks": [
"unleash-client-node:5.4.0",
"unleash-client-node:5.3.0"
],
"lastSeen": "2023-04-19T08:15:14.000Z",
"issues": {
"missingFeatures": [
"feature1",
"feature2"
],
"outdatedSdks": [
"unleash-client-node:5.4.0",
"unleash-client-node:5.3.0"
]
}
}
],
"issues": {
"missingStrategies": [
"feature1",
"feature2"
]
}
}
The requested resource was not found.
- application/json
- Schema
- Example (from schema)
Schema
- id string
The ID of the error instance
- name string
The name of the error kind
- message string
A description of what went wrong.
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "NotFoundError",
"message": "Could not find the addon with ID \"12345\"."
}
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
Request
Request
curl / cURL
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
go / native
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / native
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
csharp / httpclient
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications/:appName/overview' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'