Skip to content

Commit 389383d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
RUM Applications Management API add client_token (#918)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e371f87 commit 389383d

File tree

25 files changed

+410
-111
lines changed

25 files changed

+410
-111
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.4",
7-
"regenerated": "2022-11-30 16:38:15.609568",
8-
"spec_repo_commit": "0035b416"
7+
"regenerated": "2022-12-05 18:23:31.425987",
8+
"spec_repo_commit": "1cc231e1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-11-30 16:38:15.620878",
13-
"spec_repo_commit": "0035b416"
12+
"regenerated": "2022-12-05 18:23:31.437612",
13+
"spec_repo_commit": "1cc231e1"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 88 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6913,6 +6913,10 @@ components:
69136913
description: ID of the RUM application.
69146914
example: abcd1234-0000-0000-abcd-1234abcd5678
69156915
type: string
6916+
client_token:
6917+
description: Client token of the RUM application.
6918+
example: abcd1234efgh5678ijkl90abcd1234efgh0
6919+
type: string
69166920
created_at:
69176921
description: Timestamp in ms of the creation date.
69186922
example: 1659479836169
@@ -6923,9 +6927,12 @@ components:
69236927
example: john.doe
69246928
type: string
69256929
hash:
6926-
description: Client token of the RUM application.
6927-
example: abcd1234efgh5678ijkl90abcd1234efgh0
6930+
description: Hash of the RUM application. Optional.
69286931
type: string
6932+
is_active:
6933+
description: Indicates if the RUM application is active.
6934+
example: true
6935+
type: boolean
69296936
name:
69306937
description: Name of the RUM application.
69316938
example: my_rum_application
@@ -6952,6 +6959,7 @@ components:
69526959
type: string
69536960
required:
69546961
- application_id
6962+
- client_token
69556963
- created_at
69566964
- created_by_handle
69576965
- name
@@ -7003,6 +7011,83 @@ components:
70037011
type: string
70047012
x-enum-varnames:
70057013
- RUM_APPLICATION_CREATE
7014+
RUMApplicationList:
7015+
description: RUM application list.
7016+
properties:
7017+
attributes:
7018+
$ref: '#/components/schemas/RUMApplicationListAttributes'
7019+
type:
7020+
$ref: '#/components/schemas/RUMApplicationListType'
7021+
required:
7022+
- attributes
7023+
- type
7024+
type: object
7025+
RUMApplicationListAttributes:
7026+
description: RUM application list attributes.
7027+
properties:
7028+
application_id:
7029+
description: ID of the RUM application.
7030+
example: abcd1234-0000-0000-abcd-1234abcd5678
7031+
type: string
7032+
created_at:
7033+
description: Timestamp in ms of the creation date.
7034+
example: 1659479836169
7035+
format: int64
7036+
type: integer
7037+
created_by_handle:
7038+
description: Handle of the creator user.
7039+
example: john.doe
7040+
type: string
7041+
hash:
7042+
description: Hash of the RUM application. Optional.
7043+
type: string
7044+
is_active:
7045+
description: Indicates if the RUM application is active.
7046+
example: true
7047+
type: boolean
7048+
name:
7049+
description: Name of the RUM application.
7050+
example: my_rum_application
7051+
type: string
7052+
org_id:
7053+
description: Org ID of the RUM application.
7054+
example: 999
7055+
format: int32
7056+
maximum: 2147483647
7057+
type: integer
7058+
type:
7059+
description: Type of the RUM application. Supported values are `browser`,
7060+
`ios`, `android`, `react-native`, `flutter`.
7061+
example: browser
7062+
type: string
7063+
updated_at:
7064+
description: Timestamp in ms of the last update date.
7065+
example: 1659479836169
7066+
format: int64
7067+
type: integer
7068+
updated_by_handle:
7069+
description: Handle of the updater user.
7070+
example: jane.doe
7071+
type: string
7072+
required:
7073+
- application_id
7074+
- created_at
7075+
- created_by_handle
7076+
- name
7077+
- org_id
7078+
- type
7079+
- updated_at
7080+
- updated_by_handle
7081+
type: object
7082+
RUMApplicationListType:
7083+
default: rum_application
7084+
description: RUM application list type.
7085+
enum:
7086+
- rum_application
7087+
example: rum_application
7088+
type: string
7089+
x-enum-varnames:
7090+
- RUM_APPLICATION
70067091
RUMApplicationResponse:
70077092
description: RUM application response.
70087093
properties:
@@ -7069,7 +7154,7 @@ components:
70697154
data:
70707155
description: RUM applications array response.
70717156
items:
7072-
$ref: '#/components/schemas/RUMApplication'
7157+
$ref: '#/components/schemas/RUMApplicationList'
70737158
type: array
70747159
type: object
70757160
RUMBucketResponse:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-08-08T16:05:30.846Z"
1+
"2022-12-05T18:20:06.486Z"

cassettes/v2/RUM_2896677143/Create-a-new-RUM-application-returns-OK-response_2247322916/recording.har

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 571,
29+
"headersSize": 569,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
@@ -38,11 +38,11 @@
3838
"url": "https://api.datadoghq.com/api/v2/rum/applications"
3939
},
4040
"response": {
41-
"bodySize": 393,
41+
"bodySize": 464,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 393,
45-
"text": "{\"data\":{\"attributes\":{\"updated_by_handle\":\"[email protected]\",\"application_id\":\"0e3f5c84-1d29-4d03-83aa-ed8d4a8d9553\",\"name\":\"my_new_rum_application\",\"created_by_handle\":\"[email protected]\",\"created_at\":1659974731712,\"org_id\":321813,\"updated_at\":1659974731712,\"hash\":\"pubfd2f098023c1b1051e32e437d3d7a89f\",\"type\":\"ios\"},\"type\":\"rum_application\",\"id\":\"0e3f5c84-1d29-4d03-83aa-ed8d4a8d9553\"}}\n"
44+
"size": 464,
45+
"text": "{\"data\":{\"attributes\":{\"updated_by_handle\":\"[email protected]\",\"application_id\":\"a5107087-ff92-413e-9dac-7ee1ebaa2322\",\"name\":\"my_new_rum_application\",\"created_by_handle\":\"[email protected]\",\"created_at\":1670264406913,\"org_id\":321813,\"updated_at\":1670264406913,\"is_active\":false,\"hash\":\"pub827b35dae6920b425915f489a4a309ac\",\"client_token\":\"pub827b35dae6920b425915f489a4a309ac\",\"type\":\"ios\"},\"type\":\"rum_application\",\"id\":\"a5107087-ff92-413e-9dac-7ee1ebaa2322\"}}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-08-08T16:05:30.864Z",
61-
"time": 917
60+
"startedDateTime": "2022-12-05T18:20:06.496Z",
61+
"time": 509
6262
},
6363
{
64-
"_id": "75ee22c0e1fdb55146653d36c0dd1658",
64+
"_id": "a6cc7a6d8b04047d9014d413a2ba2a5f",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,11 +74,11 @@
7474
"value": "*/*"
7575
}
7676
],
77-
"headersSize": 544,
77+
"headersSize": 542,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/rum/applications/0e3f5c84-1d29-4d03-83aa-ed8d4a8d9553"
81+
"url": "https://api.datadoghq.com/api/v2/rum/applications/a5107087-ff92-413e-9dac-7ee1ebaa2322"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -94,8 +94,8 @@
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2022-08-08T16:05:31.795Z",
98-
"time": 235
97+
"startedDateTime": "2022-12-05T18:20:07.018Z",
98+
"time": 464
9999
}
100100
],
101101
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-08-08T16:05:32.039Z"
1+
"2022-12-05T18:20:13.506Z"

cassettes/v2/RUM_2896677143/Delete-a-RUM-application-returns-No-Content-response_4096730965/recording.har

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
"url": "https://api.datadoghq.com/api/v2/rum/applications"
3939
},
4040
"response": {
41-
"bodySize": 391,
41+
"bodySize": 462,
4242
"content": {
4343
"mimeType": "application/json",
44-
"size": 391,
45-
"text": "{\"data\":{\"attributes\":{\"updated_by_handle\":\"[email protected]\",\"application_id\":\"3afb7cd0-d141-4065-9fb3-eef0b4216d8c\",\"name\":\"test_name_create\",\"created_by_handle\":\"[email protected]\",\"created_at\":1659974732224,\"org_id\":321813,\"updated_at\":1659974732224,\"hash\":\"pubb39e078225631468dca5cf1be278eaab\",\"type\":\"browser\"},\"type\":\"rum_application\",\"id\":\"3afb7cd0-d141-4065-9fb3-eef0b4216d8c\"}}\n"
44+
"size": 462,
45+
"text": "{\"data\":{\"attributes\":{\"updated_by_handle\":\"[email protected]\",\"application_id\":\"cae2b3d1-9ea1-4321-8506-725cc4242f6f\",\"name\":\"test_name_create\",\"created_by_handle\":\"[email protected]\",\"created_at\":1670264413962,\"org_id\":321813,\"updated_at\":1670264413962,\"is_active\":false,\"hash\":\"pub147f190fd98caeffebcb3bc3130879bf\",\"client_token\":\"pub147f190fd98caeffebcb3bc3130879bf\",\"type\":\"browser\"},\"type\":\"rum_application\",\"id\":\"cae2b3d1-9ea1-4321-8506-725cc4242f6f\"}}\n"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2022-08-08T16:05:32.043Z",
61-
"time": 244
60+
"startedDateTime": "2022-12-05T18:20:13.517Z",
61+
"time": 1318
6262
},
6363
{
64-
"_id": "5f17f943ad142f563259318f194a9ff1",
64+
"_id": "015bf3b30b4358ae5117380c4f6b033c",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -78,7 +78,7 @@
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/rum/applications/3afb7cd0-d141-4065-9fb3-eef0b4216d8c"
81+
"url": "https://api.datadoghq.com/api/v2/rum/applications/cae2b3d1-9ea1-4321-8506-725cc4242f6f"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -94,11 +94,11 @@
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2022-08-08T16:05:32.295Z",
98-
"time": 242
97+
"startedDateTime": "2022-12-05T18:20:14.848Z",
98+
"time": 443
9999
},
100100
{
101-
"_id": "5f17f943ad142f563259318f194a9ff1",
101+
"_id": "015bf3b30b4358ae5117380c4f6b033c",
102102
"_order": 1,
103103
"cache": {},
104104
"request": {
@@ -115,7 +115,7 @@
115115
"httpVersion": "HTTP/1.1",
116116
"method": "DELETE",
117117
"queryString": [],
118-
"url": "https://api.datadoghq.com/api/v2/rum/applications/3afb7cd0-d141-4065-9fb3-eef0b4216d8c"
118+
"url": "https://api.datadoghq.com/api/v2/rum/applications/cae2b3d1-9ea1-4321-8506-725cc4242f6f"
119119
},
120120
"response": {
121121
"bodySize": 0,
@@ -131,8 +131,8 @@
131131
"status": 204,
132132
"statusText": "No Content"
133133
},
134-
"startedDateTime": "2022-08-08T16:05:32.543Z",
135-
"time": 216
134+
"startedDateTime": "2022-12-05T18:20:15.299Z",
135+
"time": 460
136136
}
137137
],
138138
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-08-08T16:05:32.764Z"
1+
"2022-12-05T18:19:50.488Z"

cassettes/v2/RUM_2896677143/Delete-a-RUM-application-returns-Not-Found-response_922651274/recording.har

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"url": "https://api.datadoghq.com/api/v2/rum/applications/abcde-12345"
2929
},
3030
"response": {
31-
"bodySize": 47,
31+
"bodySize": 46,
3232
"content": {
3333
"mimeType": "application/json",
34-
"size": 47,
35-
"text": "{\"errors\":[\"Application Not Found not found\"]}\n"
34+
"size": 46,
35+
"text": "{\"errors\":[\"Application Not Found not found\"]}"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -47,8 +47,8 @@
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2022-08-08T16:05:32.767Z",
51-
"time": 233
50+
"startedDateTime": "2022-12-05T18:19:50.498Z",
51+
"time": 489
5252
}
5353
],
5454
"pages": [],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2022-08-08T16:05:33.008Z"
1+
"2022-12-05T18:19:57.409Z"

cassettes/v2/RUM_2896677143/Get-a-RUM-application-returns-Not-Found-response_3731484761/recording.har

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
"url": "https://api.datadoghq.com/api/v2/rum/applications/abcd1234-0000-0000-abcd-1234abcd5678"
2929
},
3030
"response": {
31-
"bodySize": 47,
31+
"bodySize": 46,
3232
"content": {
3333
"mimeType": "application/json",
34-
"size": 47,
35-
"text": "{\"errors\":[\"Application Not Found not found\"]}\n"
34+
"size": 46,
35+
"text": "{\"errors\":[\"Application Not Found not found\"]}"
3636
},
3737
"cookies": [],
3838
"headers": [
@@ -41,14 +41,14 @@
4141
"value": "application/json"
4242
}
4343
],
44-
"headersSize": 677,
44+
"headersSize": 676,
4545
"httpVersion": "HTTP/1.1",
4646
"redirectURL": "",
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2022-08-08T16:05:33.011Z",
51-
"time": 222
50+
"startedDateTime": "2022-12-05T18:19:57.420Z",
51+
"time": 461
5252
}
5353
],
5454
"pages": [],

0 commit comments

Comments
 (0)