Skip to content

Commit 2c11b0a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit cc01f26 of spec repo (#97)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 85156f4 commit 2c11b0a

File tree

6 files changed

+9
-14
lines changed

6 files changed

+9
-14
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.2.0",
7-
"regenerated": "2020-09-30 14:11:12.314239",
8-
"spec_repo_commit": "8738cfd"
7+
"regenerated": "2020-09-30 16:24:43.404702",
8+
"spec_repo_commit": "cc01f26"
99
},
1010
"v2": {
1111
"apigentools_version": "1.2.0",
12-
"regenerated": "2020-09-30 14:11:22.976815",
13-
"spec_repo_commit": "8738cfd"
12+
"regenerated": "2020-09-30 16:24:53.798609",
13+
"spec_repo_commit": "cc01f26"
1414
}
1515
}
1616
}

docs/v2/LogsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request | Description
1414
1515
Aggregate events
1616

17-
The public API endpoint to aggregate events into buckets and compute metrics and timeseries.
17+
The API endpoint to aggregate events into buckets and compute metrics and timeseries.
1818

1919
### Example
2020

src/datadog_api_client/v2/api/logs_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __aggregate_logs(
4444
):
4545
"""Aggregate events # noqa: E501
4646
47-
The public API endpoint to aggregate events into buckets and compute metrics and timeseries. # noqa: E501
47+
The API endpoint to aggregate events into buckets and compute metrics and timeseries. # noqa: E501
4848
This method makes a synchronous HTTP request by default. To make an
4949
asynchronous HTTP request, please pass async_req=True
5050

src/datadog_api_client/v2/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ def __init__(self, host=None,
205205

206206
# Keep track of unstable operations
207207
self.unstable_operations = {
208-
"aggregate_logs": False,
209208
"list_logs": False,
210209
"list_logs_get": False,
211210
"add_read_role_to_archive": False,

src/datadog_api_client/v2/openapi.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2885,8 +2885,8 @@ paths:
28852885
x-codegen-request-body-name: body
28862886
/api/v2/logs/analytics/aggregate:
28872887
post:
2888-
description: The public API endpoint to aggregate events into buckets and compute
2889-
metrics and timeseries.
2888+
description: The API endpoint to aggregate events into buckets and compute metrics
2889+
and timeseries.
28902890
operationId: AggregateLogs
28912891
requestBody:
28922892
content:
@@ -2908,9 +2908,6 @@ paths:
29082908
tags:
29092909
- Logs
29102910
x-codegen-request-body-name: body
2911-
x-unstable: '**Note**: This endpoint is in public beta.
2912-
2913-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
29142911
/api/v2/logs/config/archives:
29152912
get:
29162913
description: Get the list of configured logs archives with their definitions.

tests/v2/features/logs.feature

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ Feature: Logs
2727
Then the response status is 200 OK
2828

2929
Scenario: Aggregate events returns "OK" response
30-
Given operation "AggregateLogs" enabled
31-
And new "AggregateLogs" request
30+
Given new "AggregateLogs" request
3231
And body {"compute": [{"aggregation": "count", "interval": "300", "metric": "test.aggregation.{{ unique }}", "type": "timeseries"}], "filter": {"from": "1600348573", "indexes": ["main"], "query": "datadog-agent", "to": "1600348600"}}
3332
When the request is sent
3433
Then the response status is 200 OK

0 commit comments

Comments
 (0)