Skip to main content

Create an application to connect reported metrics

POST 

/api/admin/metrics/applications/:appName

Is used to report usage as well which sdk the application uses

Request

Path Parameters

    appName stringrequired

Body

required

createApplicationSchema

    appName string

    Name of the application

    Example: accounting
    sdkVersion string

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

    Example: unleash-client-java:8.0.0
    strategies string[]

    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"]
    url string

    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
    color string

    Css color to be used to color the application's entry in the application list

    Example: red
    icon string

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

    Example: https://github.com/favicon.ico

Responses

This response has no body.

Loading...