Get all applications
GET <your-unleash-url>/api/admin/metrics/applications
Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
Returns all applications registered with Unleash. Applications can be created via metrics reporting or manual creation
Request
Query Parameters
- query string
The search query for the application name
- offset string
The number of applications to skip when returning a page. By default it is set to 0.
- limit string
The number of applications to return in a page. By default it is set to 1000.
- sortBy string
The field to sort the results by. By default it is set to "appName".
- sortOrder string
The sort order for the sortBy. By default it is det to "asc".
Responses
- 200
applicationsSchema
- application/json
- Schema
- Example (from schema)
Schema
- total integer required
The total number of project applications.
applications object[]required
{
"total": 50,
"applications": [
{
"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"
]
}
]
}
]
}
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' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
go / native
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / native
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
csharp / httpclient
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET '<your-unleash-url>/api/admin/metrics/applications' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'