Skip to content

Commit 74819f2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update timestamp details for On Call API (#3072)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 86ccea1 commit 74819f2

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79176,8 +79176,10 @@ paths:
7917679176
schema:
7917779177
example: 3653d3c6-0c75-11ea-ad28-fb5701eabc7d
7917879178
type: string
79179-
- description: Retrieves the on-call user at the given timestamp (ISO-8601).
79180-
Defaults to the current time if omitted."
79179+
- description: Retrieves the on-call user at the given timestamp in RFC3339
79180+
format (for example, `2025-05-07T02:53:01Z` or `2025-05-07T02:53:01+00:00`).
79181+
When using timezone offsets with `+` or `-`, ensure proper URL encoding
79182+
(`+` should be encoded as `%2B`). Defaults to the current time if omitted.
7918179183
in: query
7918279184
name: filter[at_ts]
7918379185
schema:

src/datadog_api_client/v2/api/on_call_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ def get_schedule_on_call_user(
889889
:type schedule_id: str
890890
:param include: Specifies related resources to include in the response as a comma-separated list. Allowed value: ``user``.
891891
:type include: str, optional
892-
:param filter_at_ts: Retrieves the on-call user at the given timestamp (ISO-8601). Defaults to the current time if omitted."
892+
:param filter_at_ts: Retrieves the on-call user at the given timestamp in RFC3339 format (for example, ``2025-05-07T02:53:01Z`` or ``2025-05-07T02:53:01+00:00`` ). When using timezone offsets with ``+`` or ``-`` , ensure proper URL encoding ( ``+`` should be encoded as ``%2B`` ). Defaults to the current time if omitted.
893893
:type filter_at_ts: str, optional
894894
:rtype: Shift
895895
"""

0 commit comments

Comments
 (0)