Skip to content

Commit 1f437f1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 25dc593e of spec repo
1 parent 98f7c16 commit 1f437f1

File tree

66 files changed

+828
-501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+828
-501
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-19 18:05:03.090949",
8-
"spec_repo_commit": "e9066fe1"
7+
"regenerated": "2023-07-19 18:28:27.285608",
8+
"spec_repo_commit": "25dc593e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-19 18:05:03.104671",
13-
"spec_repo_commit": "e9066fe1"
12+
"regenerated": "2023-07-19 18:28:27.305575",
13+
"spec_repo_commit": "25dc593e"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 83 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11594,6 +11594,8 @@ components:
1159411594
items:
1159511595
$ref: '#/components/schemas/RelationshipToTeamLinkData'
1159611596
type: array
11597+
links:
11598+
$ref: '#/components/schemas/TeamRelationshipsLinks'
1159711599
type: object
1159811600
RelationshipToUser:
1159911601
description: Relationship to user.
@@ -11621,6 +11623,8 @@ components:
1162111623
properties:
1162211624
data:
1162311625
$ref: '#/components/schemas/RelationshipToUserTeamPermissionData'
11626+
links:
11627+
$ref: '#/components/schemas/TeamRelationshipsLinks'
1162411628
type: object
1162511629
RelationshipToUserTeamPermissionData:
1162611630
description: Related user team permission data
@@ -15961,22 +15965,6 @@ components:
1596115965
required:
1596215966
- data
1596315967
type: object
15964-
TeamData:
15965-
description: A team
15966-
properties:
15967-
attributes:
15968-
$ref: '#/components/schemas/TeamAttributes'
15969-
id:
15970-
description: The team's identifier
15971-
example: aeadc05e-98a8-11ec-ac2c-da7ad0900001
15972-
type: string
15973-
type:
15974-
$ref: '#/components/schemas/TeamType'
15975-
required:
15976-
- attributes
15977-
- id
15978-
- type
15979-
type: object
1598015968
TeamIncluded:
1598115969
description: Included resources related to the team
1598215970
oneOf:
@@ -16190,11 +16178,19 @@ components:
1619016178
user_team_permissions:
1619116179
$ref: '#/components/schemas/RelationshipToUserTeamPermission'
1619216180
type: object
16181+
TeamRelationshipsLinks:
16182+
description: Links attributes.
16183+
properties:
16184+
related:
16185+
description: Related link.
16186+
example: /api/v2/team/c75a4a8e-20c7-11ee-a3a5-da7ad0900002/links
16187+
type: string
16188+
type: object
1619316189
TeamResponse:
1619416190
description: Response with a team
1619516191
properties:
1619616192
data:
16197-
$ref: '#/components/schemas/TeamData'
16193+
$ref: '#/components/schemas/Team'
1619816194
type: object
1619916195
TeamType:
1620016196
default: team
@@ -16271,6 +16267,72 @@ components:
1627116267
items:
1627216268
$ref: '#/components/schemas/TeamIncluded'
1627316269
type: array
16270+
links:
16271+
$ref: '#/components/schemas/TeamsResponseLinks'
16272+
meta:
16273+
$ref: '#/components/schemas/TeamsResponseMeta'
16274+
type: object
16275+
TeamsResponseLinks:
16276+
description: Teams response links.
16277+
properties:
16278+
first:
16279+
description: First link.
16280+
type: string
16281+
last:
16282+
description: Last link.
16283+
nullable: true
16284+
type: string
16285+
next:
16286+
description: Next link.
16287+
type: string
16288+
prev:
16289+
description: Previous link.
16290+
nullable: true
16291+
type: string
16292+
self:
16293+
description: Current link.
16294+
type: string
16295+
type: object
16296+
TeamsResponseMeta:
16297+
description: Teams response metadata.
16298+
properties:
16299+
pagination:
16300+
$ref: '#/components/schemas/TeamsResponseMetaPagination'
16301+
type: object
16302+
TeamsResponseMetaPagination:
16303+
description: Teams response metadata.
16304+
properties:
16305+
first_offset:
16306+
description: The first offset.
16307+
format: int64
16308+
type: integer
16309+
last_offset:
16310+
description: The last offset.
16311+
format: int64
16312+
type: integer
16313+
limit:
16314+
description: Pagination limit.
16315+
format: int64
16316+
type: integer
16317+
next_offset:
16318+
description: The next offset.
16319+
format: int64
16320+
type: integer
16321+
offset:
16322+
description: The offset.
16323+
format: int64
16324+
type: integer
16325+
prev_offset:
16326+
description: The previous offset.
16327+
format: int64
16328+
type: integer
16329+
total:
16330+
description: Total results.
16331+
format: int64
16332+
type: integer
16333+
type:
16334+
description: Offset type.
16335+
type: string
1627416336
type: object
1627516337
TimeseriesFormulaQueryRequest:
1627616338
description: A request wrapper around a single timeseries query to be executed.
@@ -16912,6 +16974,10 @@ components:
1691216974
items:
1691316975
$ref: '#/components/schemas/UserTeam'
1691416976
type: array
16977+
links:
16978+
$ref: '#/components/schemas/TeamsResponseLinks'
16979+
meta:
16980+
$ref: '#/components/schemas/TeamsResponseMeta'
1691516981
type: object
1691616982
UserUpdateAttributes:
1691716983
description: Attributes of the edited user.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-05-10T16:25:49.959Z"
1+
"2023-07-12T17:29:26.749Z"

cassettes/v2/Teams_3116892301/Create-a-team-link-returns-API-error-response-response_2927866376/recording.har

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "dbff0b398973b608a32b9794ab1ba1d1",
11+
"_id": "74d49ccec0c11e5ae74a243208eae988",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,17 +32,17 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"handle\":\"handle-7f82f490dc758fbf\",\"name\":\"name-7f82f490dc758fbf\"},\"type\":\"team\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"handle\":\"handle-93860ab913118caf\",\"name\":\"name-93860ab913118caf\"},\"type\":\"team\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/team"
3939
},
4040
"response": {
41-
"bodySize": 551,
41+
"bodySize": 540,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 551,
45-
"text": "{\"data\":{\"type\":\"team\",\"id\":\"5391cf72-ef4f-11ed-9b09-da7ad0900002\",\"attributes\":{\"name\":\"name-7f82f490dc758fbf\",\"handle\":\"handle-7f82f490dc758fbf\",\"summary\":null,\"description\":null,\"color\":11,\"created_at\":\"2023-05-10T16:25:50.187661+00:00\",\"modified_at\":\"2023-05-10T16:25:50.187665+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/permission-settings\"}}}}}\n"
44+
"size": 540,
45+
"text": "{\"data\":{\"type\":\"team\",\"id\":\"a68b555c-20d9-11ee-8739-da7ad0900002\",\"attributes\":{\"name\":\"name-93860ab913118caf\",\"handle\":\"handle-93860ab913118caf\",\"summary\":null,\"description\":null,\"created_at\":\"2023-07-12T17:29:26.918845+00:00\",\"modified_at\":\"2023-07-12T17:29:26.918850+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/permission-settings\"}}}}}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2023-05-10T16:25:49.968Z",
61-
"time": 267
60+
"startedDateTime": "2023-07-12T17:29:26.757Z",
61+
"time": 209
6262
},
6363
{
64-
"_id": "1503c74187b6396c4bcae177adc0333d",
64+
"_id": "b1391affc74ddcea5f68c408fdee1a8a",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -88,7 +88,7 @@
8888
"text": "{\"data\":{\"attributes\":{\"label\":\"\",\"position\":0,\"url\":\"https://example.com\"},\"type\":\"team_links\"}}"
8989
},
9090
"queryString": [],
91-
"url": "https://api.datadoghq.com/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002/links"
91+
"url": "https://api.datadoghq.com/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002/links"
9292
},
9393
"response": {
9494
"bodySize": 36,
@@ -110,11 +110,11 @@
110110
"status": 422,
111111
"statusText": "Unprocessable Entity"
112112
},
113-
"startedDateTime": "2023-05-10T16:25:50.262Z",
114-
"time": 196
113+
"startedDateTime": "2023-07-12T17:29:26.978Z",
114+
"time": 133
115115
},
116116
{
117-
"_id": "4fdc4bf4749554269b47590069d458a7",
117+
"_id": "bb69daa424d3590600d315b3b54c234d",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -131,7 +131,7 @@
131131
"httpVersion": "HTTP/1.1",
132132
"method": "DELETE",
133133
"queryString": [],
134-
"url": "https://api.datadoghq.com/api/v2/team/5391cf72-ef4f-11ed-9b09-da7ad0900002"
134+
"url": "https://api.datadoghq.com/api/v2/team/a68b555c-20d9-11ee-8739-da7ad0900002"
135135
},
136136
"response": {
137137
"bodySize": 0,
@@ -147,8 +147,8 @@
147147
"status": 204,
148148
"statusText": "No Content"
149149
},
150-
"startedDateTime": "2023-05-10T16:25:50.479Z",
151-
"time": 231
150+
"startedDateTime": "2023-07-12T17:29:27.122Z",
151+
"time": 196
152152
}
153153
],
154154
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2023-05-10T16:25:50.730Z"
1+
"2023-07-12T17:29:27.327Z"

0 commit comments

Comments
 (0)