diff --git a/docs/api/metrics-api.md b/docs/api/metrics-api.md index f44a1f13ba..97060e4bcc 100644 --- a/docs/api/metrics-api.md +++ b/docs/api/metrics-api.md @@ -235,4 +235,50 @@ strategies implemented and seen toogles. "toggle-3" ] } -``` \ No newline at end of file +``` + +### Seen applications + +`GET http://unleash.host.com/api//client/seen-apps` + +This endpoint gives insight into details about application seen per feature toggle. + + +```json +{ + "my-toggle": [ + { + "appName": "my-app", + "createdAt": "2016-12-28T10:39:24.966Z", + "updatedAt": "2017-01-06T15:32:41.932Z", + "description": "our main app", + "strategies": [ + "gradualRolloutRandom", + "abTest", + "default", + "betaUser", + "userWithId", + "byHostName", + "gradualRolloutWithSessionId", + "gradualRollout", + "byRemoteAddr" + ], + "url": "http://example.com", + "color": null, + "icon": "terrain" + }, + { + "appName": "my-other-app", + "createdAt": "2016-12-28T10:39:24.966Z", + "updatedAt": "2017-01-06T15:32:41.932Z", + "description": "our other app", + "strategies": [ + "default", + ], + "url": "http://example.com", + "color": null, + "icon": "desktop" + } + ] +} +```