Skip to content

Commit 5d8d38d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add pagination method for NDM ListDevices. (#2386)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e5009f2 commit 5d8d38d

12 files changed

+121
-98
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.6",
7-
"regenerated": "2025-05-06 19:22:02.226451",
8-
"spec_repo_commit": "1faa96a2"
7+
"regenerated": "2025-05-07 17:07:22.766765",
8+
"spec_repo_commit": "a1235a0d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-06 19:22:02.241650",
13-
"spec_repo_commit": "1faa96a2"
12+
"regenerated": "2025-05-07 17:07:22.783724",
13+
"spec_repo_commit": "a1235a0d"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50925,22 +50925,8 @@ paths:
5092550925
description: Get the list of devices.
5092650926
operationId: ListDevices
5092750927
parameters:
50928-
- description: The page number to fetch.
50929-
example: 0
50930-
in: query
50931-
name: page[number]
50932-
required: false
50933-
schema:
50934-
format: int64
50935-
type: integer
50936-
- description: The number of devices to return per page.
50937-
example: 10
50938-
in: query
50939-
name: page[size]
50940-
required: false
50941-
schema:
50942-
format: int64
50943-
type: integer
50928+
- $ref: '#/components/parameters/PageSize'
50929+
- $ref: '#/components/parameters/PageNumber'
5094450930
- description: The field to sort the devices by.
5094550931
example: status
5094650932
in: query
@@ -50971,6 +50957,10 @@ paths:
5097150957
summary: Get the list of devices
5097250958
tags:
5097350959
- Network Device Monitoring
50960+
x-pagination:
50961+
limitParam: page[size]
50962+
pageParam: page[number]
50963+
resultsPath: data
5097450964
/api/v2/ndm/devices/{device_id}:
5097550965
get:
5097650966
description: Get the device details.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-24T02:49:21.008Z
1+
2025-04-24T03:17:05.259Z

cassettes/features/v2/on-call/Create-on-call-escalation-policy-returns-Created-response.yml

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-24T02:49:32.262Z
1+
2025-04-24T03:17:07.960Z

0 commit comments

Comments
 (0)