Skip to content

Commit

Permalink
Regenerate client from commit cc01f26 of spec repo (#496)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Sep 30, 2020
1 parent c61921f commit 84029af
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.2.0",
"regenerated": "2020-09-30 14:10:51.893721",
"spec_repo_commit": "8738cfd"
"regenerated": "2020-09-30 16:18:15.216075",
"spec_repo_commit": "cc01f26"
},
"v2": {
"apigentools_version": "1.2.0",
"regenerated": "2020-09-30 14:10:58.002512",
"spec_repo_commit": "8738cfd"
"regenerated": "2020-09-30 16:18:20.769554",
"spec_repo_commit": "cc01f26"
}
}
}
7 changes: 2 additions & 5 deletions api/v2/datadog/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ paths:
x-codegen-request-body-name: body
/api/v2/logs/analytics/aggregate:
post:
description: The public API endpoint to aggregate events into buckets and compute
metrics and timeseries.
description: The API endpoint to aggregate events into buckets and compute metrics
and timeseries.
operationId: AggregateLogs
requestBody:
content:
Expand Down Expand Up @@ -288,9 +288,6 @@ paths:
tags:
- Logs
x-codegen-request-body-name: body
x-unstable: |-
**Note**: This endpoint is in public beta.
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
/api/v2/logs/config/archives:
get:
description: Get the list of configured logs archives with their definitions.
Expand Down
9 changes: 1 addition & 8 deletions api/v2/datadog/api_logs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion api/v2/datadog/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions tests/api/v2/datadog/features/logs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ Feature: Logs
Then the response status is 200 OK

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

0 comments on commit 84029af

Please sign in to comment.