Skip to main content

Get application data

GET 

<your-unleash-url>/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

    appName stringrequired

Responses

applicationSchema

Schema
    appNamestringrequired

    Name of the application

    Example: accounting
    sdkVersionstring

    Which SDK and version the application reporting uses. Typically represented as <identifier>:<version>

    Example: unleash-client-java:8.0.0
    strategiesstring[]

    Which strategies the application has loaded. Useful when trying to figure out if your custom strategy has been loaded in the SDK

    Example: ["standard","gradualRollout","mySpecialCustomStrategy"]
    descriptionstring

    Extra information added about the application reporting the metrics. Only present if added via the Unleash Admin interface

    Example: Application for reporting page visits
    urlstring

    A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application

    Example: https://github.com/Unleash/unleash-proxy-client-js
    colorstring

    The CSS color that is used to color the application's entry in the application list

    Example: red
    iconstring

    An URL to an icon file to be used for the applications's entry in the application list

    Example: https://github.com/favicon.ico
    usage object[]

    The list of projects the application has been using.

  • Array [
  • projectstringrequired

    Name of the project

    Example: main-project
    environmentsstring[]required

    Which environments have been accessed in this project.

    Example: ["development","production"]
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/metrics/applications/:appName' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!