Get application data
GET/api/admin/metrics/applications/:appName
Returns data about the specified application (appName
). The data contains information on the name of the application, sdkVersion (which sdk reported these metrics, typically unleash-client-node:3.4.1
or unleash-client-java:7.1.0
), as well as data about how to display this application in a list.
Request
Path Parameters
Responses
- 200
- 404
applicationSchema
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Name of the application
accounting
Which SDK and version the application reporting uses. Typically represented as <identifier>:<version>
unleash-client-java:8.0.0
Which strategies the application has loaded. Useful when trying to figure out if your custom strategy has been loaded in the SDK
["standard","gradualRollout","mySpecialCustomStrategy"]
Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface
Application for reporting page visits
A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application
https://github.com/Unleash/unleash-proxy-client-js
The CSS color that is used to color the application's entry in the application list
red
An URL to an icon file to be used for the applications's entry in the application list
https://github.com/favicon.ico
usage
object[]
The list of projects the application has been using.
Name of the project
main-project
Which environments have been accessed in this project.
["development","production"]
{
"appName": "accounting",
"sdkVersion": "unleash-client-java:8.0.0",
"strategies": [
"standard",
"gradualRollout",
"mySpecialCustomStrategy"
],
"description": "Application for reporting page visits",
"url": "https://github.com/Unleash/unleash-proxy-client-js",
"color": "red",
"icon": "https://github.com/favicon.ico",
"usage": [
{
"project": "main-project",
"environments": [
"development",
"production"
]
}
]
}
The requested resource was not found.
- application/json
- Schema
- Example (from schema)
Schema
The ID of the error instance
9c40958a-daac-400e-98fb-3bb438567008
The name of the error kind
NotFoundError
A description of what went wrong.
Could not find the addon with ID "12345".
{
"id": "9c40958a-daac-400e-98fb-3bb438567008",
"name": "NotFoundError",
"message": "Could not find the addon with ID \"12345\"."
}