Skip to content

Commit bc08d45

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update CI Visibility pipelines write API timestamp requirements (#1557)
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 749254d commit bc08d45

File tree

6 files changed

+18
-12
lines changed

6 files changed

+18
-12
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.6.5",
7-
"regenerated": "2023-07-03 17:52:51.099746",
8-
"spec_repo_commit": "0476cb95"
7+
"regenerated": "2023-07-04 16:12:29.169633",
8+
"spec_repo_commit": "dcb95a4a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-03 17:52:51.121833",
13-
"spec_repo_commit": "0476cb95"
12+
"regenerated": "2023-07-04 16:12:29.188201",
13+
"spec_repo_commit": "dcb95a4a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,8 +1824,8 @@ components:
18241824
description: Details of the top level pipeline, build, or workflow of your CI.
18251825
properties:
18261826
end:
1827-
description: Time when the pipeline run finished. The time format must be
1828-
RFC3339.
1827+
description: Time when the pipeline run finished. It cannot be older than
1828+
18 hours in the past from the current time. The time format must be RFC3339.
18291829
example: '2023-05-31T15:30:00Z'
18301830
format: date-time
18311831
type: string
@@ -17717,6 +17717,10 @@ paths:
1771717717
we support, see the [guide](https://docs.datadoghq.com/continuous_integration/guides/pipeline_data_model/).
1771817718

1771917719

17720+
Pipeline events can be submitted with a timestamp that is up to 18 hours in
17721+
the past.
17722+
17723+
1772017724
This API endpoint is in private beta.'
1772117725
operationId: CreateCIAppPipelineEvent
1772217726
requestBody:
@@ -25410,7 +25414,7 @@ paths:
2541025414
This endpoint is rate limited to `300` requests per hour.
2541125415

2541225416

25413-
[1]: /logs/guide/collect-multiple-logs-with-pagination'
25417+
[1]: /logs/guide/collect-multiple-logs-with-pagination?tab=v2api'
2541425418
operationId: ListSpansGet
2541525419
parameters:
2541625420
- description: Search query following spans syntax.
@@ -25495,7 +25499,7 @@ paths:
2549525499
This endpoint is rate limited to `300` requests per hour.
2549625500

2549725501

25498-
[1]: /logs/guide/collect-multiple-logs-with-pagination'
25502+
[1]: /logs/guide/collect-multiple-logs-with-pagination?tab=v2api'
2549925503
operationId: ListSpans
2550025504
requestBody:
2550125505
content:

src/datadog_api_client/v2/api/ci_visibility_pipelines_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ def create_ci_app_pipeline_event(
169169
170170
Send your pipeline event to your Datadog platform over HTTP. For details about how pipeline executions are modeled and what execution types we support, see the `guide <https://docs.datadoghq.com/continuous_integration/guides/pipeline_data_model/>`_.
171171
172+
Pipeline events can be submitted with a timestamp that is up to 18 hours in the past.
173+
172174
This API endpoint is in private beta.
173175
174176
:type body: CIAppCreatePipelineEventRequest

src/datadog_api_client/v2/api/spans_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def list_spans(
146146
"""Search spans.
147147
148148
List endpoint returns spans that match a span search query.
149-
`Results are paginated </logs/guide/collect-multiple-logs-with-pagination>`_.
149+
`Results are paginated </logs/guide/collect-multiple-logs-with-pagination?tab=v2api>`_.
150150
151151
Use this endpoint to build complex spans filtering and search.
152152
This endpoint is rate limited to ``300`` requests per hour.
@@ -204,7 +204,7 @@ def list_spans_get(
204204
"""Get a list of spans.
205205
206206
List endpoint returns spans that match a span search query.
207-
`Results are paginated </logs/guide/collect-multiple-logs-with-pagination>`_.
207+
`Results are paginated </logs/guide/collect-multiple-logs-with-pagination?tab=v2api>`_.
208208
209209
Use this endpoint to see your latest spans.
210210
This endpoint is rate limited to ``300`` requests per hour.

src/datadog_api_client/v2/model/ci_app_create_pipeline_event_request_attributes_resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, **kwargs):
1515
"""
1616
Details of the CI pipeline event.
1717
18-
:param end: Time when the pipeline run finished. The time format must be RFC3339.
18+
:param end: Time when the pipeline run finished. It cannot be older than 18 hours in the past from the current time. The time format must be RFC3339.
1919
:type end: datetime
2020
2121
:param error: Contains information of the CI error.

src/datadog_api_client/v2/model/ci_app_pipeline_event_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(
119119
"""
120120
Details of the top level pipeline, build, or workflow of your CI.
121121
122-
:param end: Time when the pipeline run finished. The time format must be RFC3339.
122+
:param end: Time when the pipeline run finished. It cannot be older than 18 hours in the past from the current time. The time format must be RFC3339.
123123
:type end: datetime
124124
125125
:param error: Contains information of the CI error.

0 commit comments

Comments
 (0)