Skip to content

Commit a93a9f1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 6586890 of spec repo (#215)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 012d9ef commit a93a9f1

File tree

11 files changed

+4
-606
lines changed

11 files changed

+4
-606
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.4.1.dev11",
7-
"regenerated": "2021-07-07 06:44:40.468768",
8-
"spec_repo_commit": "0eabb4b"
7+
"regenerated": "2021-07-13 14:06:25.236880",
8+
"spec_repo_commit": "6586890"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev11",
12-
"regenerated": "2021-07-07 06:46:04.090008",
13-
"spec_repo_commit": "0eabb4b"
12+
"regenerated": "2021-07-13 14:07:37.720935",
13+
"spec_repo_commit": "6586890"
1414
}
1515
}
1616
}

docs/v1/UsageMeteringApi.md

Lines changed: 0 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Method | HTTP request | Description
1010
[**getMonthlyCustomReports**](UsageMeteringApi.md#getMonthlyCustomReports) | **GET** /api/v1/monthly_custom_reports | Get the list of available monthly custom reports
1111
[**getSpecifiedDailyCustomReports**](UsageMeteringApi.md#getSpecifiedDailyCustomReports) | **GET** /api/v1/daily_custom_reports/{report_id} | Get specified daily custom reports
1212
[**getSpecifiedMonthlyCustomReports**](UsageMeteringApi.md#getSpecifiedMonthlyCustomReports) | **GET** /api/v1/monthly_custom_reports/{report_id} | Get specified monthly custom reports
13-
[**getTracingWithoutLimits**](UsageMeteringApi.md#getTracingWithoutLimits) | **GET** /api/v1/usage/tracing-without-limits | Get hourly usage for tracing without limits
1413
[**getUsageAnalyzedLogs**](UsageMeteringApi.md#getUsageAnalyzedLogs) | **GET** /api/v1/usage/analyzed_logs | Get hourly usage for analyzed logs
1514
[**getUsageAttribution**](UsageMeteringApi.md#getUsageAttribution) | **GET** /api/v1/usage/attribution | Get Usage Attribution
1615
[**getUsageAuditLogs**](UsageMeteringApi.md#getUsageAuditLogs) | **GET** /api/v1/usage/audit_logs | Get hourly usage for audit logs
@@ -36,7 +35,6 @@ Method | HTTP request | Description
3635
[**getUsageSyntheticsBrowser**](UsageMeteringApi.md#getUsageSyntheticsBrowser) | **GET** /api/v1/usage/synthetics_browser | Get hourly usage for Synthetics Browser Checks
3736
[**getUsageTimeseries**](UsageMeteringApi.md#getUsageTimeseries) | **GET** /api/v1/usage/timeseries | Get hourly usage for custom metrics
3837
[**getUsageTopAvgMetrics**](UsageMeteringApi.md#getUsageTopAvgMetrics) | **GET** /api/v1/usage/top_avg_metrics | Get all custom metrics by hourly average
39-
[**getUsageTrace**](UsageMeteringApi.md#getUsageTrace) | **GET** /api/v1/usage/traces | Get hourly usage for Trace Search
4038

4139

4240
## **getDailyCustomReports**
@@ -398,67 +396,6 @@ Name | Type | Description | Notes
398396

399397
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
400398

401-
## **getTracingWithoutLimits**
402-
> UsageTracingWithoutLimitsResponse getTracingWithoutLimits()
403-
404-
Get hourly usage for tracing without limits.
405-
406-
**Note** This endpoint has been renamed to `/api/v1/usage/ingested-spans`.
407-
408-
### Example
409-
410-
411-
```typescript
412-
import { v1 } from '@datadog/datadog-api-client';
413-
import * as fs from 'fs';
414-
415-
const configuration = v1.createConfiguration();
416-
const apiInstance = new v1.UsageMeteringApi(configuration);
417-
418-
let params:v1.UsageMeteringApiGetTracingWithoutLimitsRequest = {
419-
// Date | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
420-
startHr: new Date('1970-01-01T00:00:00.00Z'),
421-
// Date | Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour. (optional)
422-
endHr: new Date('1970-01-01T00:00:00.00Z'),
423-
};
424-
425-
apiInstance.getTracingWithoutLimits(params).then((data:any) => {
426-
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
427-
}).catch((error:any) => console.error(error));
428-
```
429-
430-
431-
### Parameters
432-
433-
Name | Type | Description | Notes
434-
------------- | ------------- | ------------- | -------------
435-
**startHr** | [**Date**] | Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage beginning at this hour. | defaults to undefined
436-
**endHr** | [**Date**] | Datetime in ISO-8601 format, UTC, precise to hour: &#x60;[YYYY-MM-DDThh]&#x60; for usage ending **before** this hour. | (optional) defaults to undefined
437-
438-
439-
### Return type
440-
441-
**UsageTracingWithoutLimitsResponse**
442-
443-
### Authorization
444-
445-
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
446-
447-
### HTTP request headers
448-
449-
- **Content-Type**: Not defined
450-
- **Accept**: application/json;datetime-format=rfc3339
451-
452-
453-
### HTTP response details
454-
| Status code | Description | Response headers |
455-
|-------------|-------------|------------------|
456-
**200** | OK | - |
457-
**400** | Bad Request | - |
458-
**403** | Forbidden - User is not authorized | - |
459-
460-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
461-
462399
## **getUsageAnalyzedLogs**
463400
> UsageAnalyzedLogsResponse getUsageAnalyzedLogs()
464401
@@ -1961,64 +1898,3 @@ Name | Type | Description | Notes
19611898

19621899
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
19631900

1964-
## **getUsageTrace**
1965-
> UsageTraceResponse getUsageTrace()
1966-
1967-
Get hourly usage for trace search.
1968-
1969-
**Note** This endpoint has been renamed to `/api/v1/usage/indexed-spans`.
1970-
1971-
### Example
1972-
1973-
1974-
```typescript
1975-
import { v1 } from '@datadog/datadog-api-client';
1976-
import * as fs from 'fs';
1977-
1978-
const configuration = v1.createConfiguration();
1979-
const apiInstance = new v1.UsageMeteringApi(configuration);
1980-
1981-
let params:v1.UsageMeteringApiGetUsageTraceRequest = {
1982-
// Date | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
1983-
startHr: new Date('1970-01-01T00:00:00.00Z'),
1984-
// Date | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. (optional)
1985-
endHr: new Date('1970-01-01T00:00:00.00Z'),
1986-
};
1987-
1988-
apiInstance.getUsageTrace(params).then((data:any) => {
1989-
console.log('API called successfully. Returned data: ' + JSON.stringify(data));
1990-
}).catch((error:any) => console.error(error));
1991-
```
1992-
1993-
1994-
### Parameters
1995-
1996-
Name | Type | Description | Notes
1997-
------------- | ------------- | ------------- | -------------
1998-
**startHr** | [**Date**] | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour. | defaults to undefined
1999-
**endHr** | [**Date**] | Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour. | (optional) defaults to undefined
2000-
2001-
2002-
### Return type
2003-
2004-
**UsageTraceResponse**
2005-
2006-
### Authorization
2007-
2008-
[apiKeyAuth](README.md#apiKeyAuth), [appKeyAuth](README.md#appKeyAuth)
2009-
2010-
### HTTP request headers
2011-
2012-
- **Content-Type**: Not defined
2013-
- **Accept**: application/json;datetime-format=rfc3339
2014-
2015-
2016-
### HTTP response details
2017-
| Status code | Description | Response headers |
2018-
|-------------|-------------|------------------|
2019-
**200** | OK | - |
2020-
**400** | Bad Request | - |
2021-
**403** | Forbidden - User is not authorized | - |
2022-
2023-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
2024-

features/v1/undo.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,18 +1224,6 @@
12241224
"type": "safe"
12251225
}
12261226
},
1227-
"GetUsageTrace": {
1228-
"tag": "Usage Metering",
1229-
"undo": {
1230-
"type": "safe"
1231-
}
1232-
},
1233-
"GetTracingWithoutLimits": {
1234-
"tag": "Usage Metering",
1235-
"undo": {
1236-
"type": "safe"
1237-
}
1238-
},
12391227
"ListUsers": {
12401228
"tag": "Users",
12411229
"undo": {

features/v1/usage_metering.feature

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -223,18 +223,6 @@ Feature: Usage Metering
223223
When the request is sent
224224
Then the response status is 200 OK
225225

226-
@generated @skip
227-
Scenario: Get hourly usage for Trace Search returns "Bad Request" response
228-
Given new "GetUsageTrace" request
229-
When the request is sent
230-
Then the response status is 400 Bad Request
231-
232-
@generated @skip
233-
Scenario: Get hourly usage for Trace Search returns "OK" response
234-
Given new "GetUsageTrace" request
235-
When the request is sent
236-
Then the response status is 200 OK
237-
238226
@generated @skip
239227
Scenario: Get hourly usage for analyzed logs returns "Bad Request" response
240228
Given new "GetUsageAnalyzedLogs" request
@@ -331,18 +319,6 @@ Feature: Usage Metering
331319
When the request is sent
332320
Then the response status is 200 OK
333321

334-
@generated @skip
335-
Scenario: Get hourly usage for tracing without limits returns "Bad Request" response
336-
Given new "GetTracingWithoutLimits" request
337-
When the request is sent
338-
Then the response status is 400 Bad Request
339-
340-
@generated @skip
341-
Scenario: Get hourly usage for tracing without limits returns "OK" response
342-
Given new "GetTracingWithoutLimits" request
343-
When the request is sent
344-
Then the response status is 200 OK
345-
346322
@generated @skip
347323
Scenario: Get specified daily custom reports returns "Not Found" response
348324
Given operation "GetSpecifiedDailyCustomReports" enabled

packages/datadog-api-client-v1/.openapi-generator/FILES

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,6 @@ models/UsageTimeseriesResponse.ts
601601
models/UsageTopAvgMetricsHour.ts
602602
models/UsageTopAvgMetricsMetadata.ts
603603
models/UsageTopAvgMetricsResponse.ts
604-
models/UsageTraceHour.ts
605-
models/UsageTraceResponse.ts
606-
models/UsageTracingWithoutLimitsHour.ts
607-
models/UsageTracingWithoutLimitsResponse.ts
608604
models/User.ts
609605
models/UserDisableResponse.ts
610606
models/UserListResponse.ts

0 commit comments

Comments
 (0)