You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This REST API is for custom integrations, data export, or automating your featur
6
6
This client library is only compatible with the latest version of our REST API. Previous versions of this client library are compatible with earlier versions of our REST API. When you create an access token, you can set the REST API version associated with the token. By default, API requests you send using the token will use the specified API version. To learn more, read [Versioning](https://apidocs.launchdarkly.com/#section/Overview/Versioning).
7
7
View our [sample code](#sample-code) for example usage.
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
12
12
@@ -44,7 +44,7 @@ navigate to the folder of your consuming project and run one of the following co
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31315
+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
31300
31316
* @param {string} [versionId] The specific version ID of the metric
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31541
+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
31526
31542
* @param {string} [versionId] The specific version ID of the metric
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31624
+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
31609
31625
* @param {string} [versionId] The specific version ID of the metric
@@ -31675,7 +31691,7 @@ export class MetricsApi extends BaseAPI {
31675
31691
* @summary Get metric
31676
31692
* @param {string} projectKey The project key
31677
31693
* @param {string} metricKey The metric key
31678
-
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`.
31694
+
* @param {string} [expand] A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`.
31679
31695
* @param {string} [versionId] The specific version ID of the metric
Copy file name to clipboardExpand all lines: docs/MetricsApi.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ const apiInstance = new MetricsApi(configuration);
86
86
87
87
let projectKey:string; //The project key (default to undefined)
88
88
let metricKey:string; //The metric key (default to undefined)
89
-
let expand:string; //A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`. (optional) (default to undefined)
89
+
let expand:string; //A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`. (optional) (default to undefined)
90
90
let versionId:string; //The specific version ID of the metric (optional) (default to undefined)
91
91
92
92
const { status, data } =awaitapiInstance.getMetric(
|**projectKey**|[**string**]| The project key | defaults to undefined|
105
105
|**metricKey**|[**string**]| The metric key | defaults to undefined|
106
-
|**expand**|[**string**]| A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, and `lastUsedInEntity`. | (optional) defaults to undefined|
106
+
|**expand**|[**string**]| A comma-separated list of properties that can reveal additional information in the response. Supported fields are `experiments`, `experimentCount`, `metricGroups`, `metricGroupCount`, `eventSources`, `guardedRollouts`, `guardedRolloutCount`, `lastUsedInExperiment`, and `lastUsedInGuardedRollout`. | (optional) defaults to undefined|
107
107
|**versionId**|[**string**]| The specific version ID of the metric | (optional) defaults to undefined|
0 commit comments