Skip to main content

Create an application to connect reported metrics

POST 

<your-unleash-url>/api/admin/metrics/applications/:appName

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

Request

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L '<your-unleash-url>/api/admin/metrics/applications/:appName' \
-H 'Content-Type: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
-d '{
"appName": "accounting",
"sdkVersion": "unleash-client-java:8.0.0",
"strategies": [
"standard",
"gradualRollout",
"mySpecialCustomStrategy"
],
"url": "https://github.com/Unleash/unleash-proxy-client-js",
"color": "red",
"icon": "https://github.com/favicon.ico"
}'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
Body required
{
  "appName": "accounting",
  "sdkVersion": "unleash-client-java:8.0.0",
  "strategies": [
    "standard",
    "gradualRollout",
    "mySpecialCustomStrategy"
  ],
  "url": "https://github.com/Unleash/unleash-proxy-client-js",
  "color": "red",
  "icon": "https://github.com/favicon.ico"
}
ResponseClear

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