Skip to content

Commit a780935

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit e3e4b05 of spec repo (#648)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent ab778b5 commit a780935

File tree

6 files changed

+9
-124
lines changed

6 files changed

+9
-124
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.dev2",
7-
"regenerated": "2021-02-09 09:15:06.291046",
8-
"spec_repo_commit": "104aacd"
7+
"regenerated": "2021-02-09 10:32:40.316757",
8+
"spec_repo_commit": "e3e4b05"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev2",
12-
"regenerated": "2021-02-09 09:15:15.743961",
13-
"spec_repo_commit": "104aacd"
12+
"regenerated": "2021-02-09 10:32:50.189458",
13+
"spec_repo_commit": "e3e4b05"
1414
}
1515
}
1616
}

api/openapi.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,7 @@ tags:
5454
description: Find out more at
5555
url: https://docs.datadoghq.com/account_management/api-app-keys/
5656
name: Key Management
57-
- description: |-
58-
Search your logs and send them to your Datadog platform over HTTP. Limits per HTTP request are:
59-
60-
- Maximum content size per payload (uncompressed): 5MB
61-
- Maximum size for a single log: 1MB
62-
- Maximum array size if sending multiple logs in an array: 1000 entries
63-
64-
Any log exceeding 1MB is accepted and truncated by Datadog:
65-
- For a single log request, the API truncates the log at 1MB and returns a 2xx.
66-
- For a multi-logs request, the API processes all logs, truncates only logs larger than 1MB, and returns a 2xx.
67-
68-
Datadog recommends sending your logs compressed.
69-
Add the `Content-Encoding: gzip` header to the request when sending compressed logs.
70-
71-
The status codes answered by the HTTP API are:
72-
- 200: OK
73-
- 400: Bad request (likely an issue in the payload formatting)
74-
- 403: Permission issue (likely using an invalid API Key)
75-
- 413: Payload too large (batch is above 5MB uncompressed)
76-
- 5xx: Internal error, request should be retried after some time
57+
- description: Search your logs and send them to your Datadog platform over HTTP.
7758
name: Logs
7859
- description: |-
7960
Archives forward all the logs ingested to a cloud storage system.

src/main/java/com/datadog/api/v1/openapi.yaml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -17938,42 +17938,7 @@ tags:
1793817938
description: Find out more at
1793917939
url: https://docs.datadoghq.com/account_management/api-app-keys/
1794017940
name: Key Management
17941-
- description: 'Search your logs and send them to your Datadog platform over HTTP.
17942-
Limits per HTTP request are:
17943-
17944-
17945-
- Maximum content size per payload (uncompressed): 5MB
17946-
17947-
- Maximum size for a single log: 1MB
17948-
17949-
- Maximum array size if sending multiple logs in an array: 1000 entries
17950-
17951-
17952-
Any log exceeding 1MB is accepted and truncated by Datadog:
17953-
17954-
- For a single log request, the API truncates the log at 1MB and returns a 2xx.
17955-
17956-
- For a multi-logs request, the API processes all logs, truncates only logs larger
17957-
than 1MB, and returns a 2xx.
17958-
17959-
17960-
Datadog recommends sending your logs compressed.
17961-
17962-
Add the `Content-Encoding: gzip` header to the request when sending compressed
17963-
logs.
17964-
17965-
17966-
The status codes answered by the HTTP API are:
17967-
17968-
- 200: OK
17969-
17970-
- 400: Bad request (likely an issue in the payload formatting)
17971-
17972-
- 403: Permission issue (likely using an invalid API Key)
17973-
17974-
- 413: Payload too large (batch is above 5MB uncompressed)
17975-
17976-
- 5xx: Internal error, request should be retried after some time'
17941+
- description: Search your logs and send them to your Datadog platform over HTTP.
1797717942
name: Logs
1797817943
- description: 'Manage configuration of [log indexes](https://docs.datadoghq.com/logs/indexes/).
1797917944

src/main/java/com/datadog/api/v2/openapi.yaml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -7449,42 +7449,7 @@ tags:
74497449
description: Find out more at
74507450
url: https://docs.datadoghq.com/account_management/api-app-keys/
74517451
name: Key Management
7452-
- description: 'Search your logs and send them to your Datadog platform over HTTP.
7453-
Limits per HTTP request are:
7454-
7455-
7456-
- Maximum content size per payload (uncompressed): 5MB
7457-
7458-
- Maximum size for a single log: 1MB
7459-
7460-
- Maximum array size if sending multiple logs in an array: 1000 entries
7461-
7462-
7463-
Any log exceeding 1MB is accepted and truncated by Datadog:
7464-
7465-
- For a single log request, the API truncates the log at 1MB and returns a 2xx.
7466-
7467-
- For a multi-logs request, the API processes all logs, truncates only logs larger
7468-
than 1MB, and returns a 2xx.
7469-
7470-
7471-
Datadog recommends sending your logs compressed.
7472-
7473-
Add the `Content-Encoding: gzip` header to the request when sending compressed
7474-
logs.
7475-
7476-
7477-
The status codes answered by the HTTP API are:
7478-
7479-
- 200: OK
7480-
7481-
- 400: Bad request (likely an issue in the payload formatting)
7482-
7483-
- 403: Permission issue (likely using an invalid API Key)
7484-
7485-
- 413: Payload too large (batch is above 5MB uncompressed)
7486-
7487-
- 5xx: Internal error, request should be retried after some time'
7452+
- description: Search your logs and send them to your Datadog platform over HTTP.
74887453
name: Logs
74897454
- description: 'Archives forward all the logs ingested to a cloud storage system.
74907455

src/test/resources/com/datadog/api/v1/client/api/logs.feature

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
@endpoint(logs)
22
Feature: Logs
3-
Search your logs and send them to your Datadog platform over HTTP. Limits
4-
per HTTP request are: - Maximum content size per payload (uncompressed):
5-
5MB - Maximum size for a single log: 1MB - Maximum array size if sending
6-
multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted
7-
and truncated by Datadog: - For a single log request, the API truncates
8-
the log at 1MB and returns a 2xx. - For a multi-logs request, the API
9-
processes all logs, truncates only logs larger than 1MB, and returns a
10-
2xx. Datadog recommends sending your logs compressed. Add the `Content-
11-
Encoding: gzip` header to the request when sending compressed logs. The
12-
status codes answered by the HTTP API are: - 200: OK - 400: Bad request
13-
(likely an issue in the payload formatting) - 403: Permission issue
14-
(likely using an invalid API Key) - 413: Payload too large (batch is above
15-
5MB uncompressed) - 5xx: Internal error, request should be retried after
16-
some time
3+
Search your logs and send them to your Datadog platform over HTTP.
174

185
Background:
196
Given a valid "apiKeyAuth" key in the system

src/test/resources/com/datadog/api/v2/client/api/logs.feature

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
@endpoint(logs)
22
Feature: Logs
3-
Search your logs and send them to your Datadog platform over HTTP. Limits
4-
per HTTP request are: - Maximum content size per payload (uncompressed):
5-
5MB - Maximum size for a single log: 1MB - Maximum array size if sending
6-
multiple logs in an array: 1000 entries Any log exceeding 1MB is accepted
7-
and truncated by Datadog: - For a single log request, the API truncates
8-
the log at 1MB and returns a 2xx. - For a multi-logs request, the API
9-
processes all logs, truncates only logs larger than 1MB, and returns a
10-
2xx. Datadog recommends sending your logs compressed. Add the `Content-
11-
Encoding: gzip` header to the request when sending compressed logs. The
12-
status codes answered by the HTTP API are: - 200: OK - 400: Bad request
13-
(likely an issue in the payload formatting) - 403: Permission issue
14-
(likely using an invalid API Key) - 413: Payload too large (batch is above
15-
5MB uncompressed) - 5xx: Internal error, request should be retried after
16-
some time
3+
Search your logs and send them to your Datadog platform over HTTP.
174

185
Background:
196
Given a valid "apiKeyAuth" key in the system

0 commit comments

Comments
 (0)