Skip to content

Commit d47f6a3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit ddadc0b2 of spec repo (#787)
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 a054e16 commit d47f6a3

File tree

36 files changed

+2365
-4
lines changed

36 files changed

+2365
-4
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.2",
7-
"regenerated": "2022-08-04 14:45:12.442147",
8-
"spec_repo_commit": "27b7ba8d"
7+
"regenerated": "2022-08-09 08:46:36.711763",
8+
"spec_repo_commit": "ddadc0b2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-08-04 14:45:12.456686",
13-
"spec_repo_commit": "27b7ba8d"
12+
"regenerated": "2022-08-09 08:46:36.725061",
13+
"spec_repo_commit": "ddadc0b2"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 341 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5603,6 +5603,184 @@ components:
56035603
meta:
56045604
$ref: '#/components/schemas/RUMResponseMetadata'
56055605
type: object
5606+
RUMApplication:
5607+
description: RUM application.
5608+
properties:
5609+
attributes:
5610+
$ref: '#/components/schemas/RUMApplicationAttributes'
5611+
id:
5612+
description: RUM application ID.
5613+
example: abcd1234-0000-0000-abcd-1234abcd5678
5614+
type: string
5615+
type:
5616+
$ref: '#/components/schemas/RUMApplicationType'
5617+
required:
5618+
- attributes
5619+
- id
5620+
- type
5621+
type: object
5622+
RUMApplicationAttributes:
5623+
description: RUM application attributes.
5624+
properties:
5625+
application_id:
5626+
description: ID of the RUM application.
5627+
example: abcd1234-0000-0000-abcd-1234abcd5678
5628+
type: string
5629+
created_at:
5630+
description: Timestamp in ms of the creation date.
5631+
example: 1659479836169
5632+
format: int64
5633+
type: integer
5634+
created_by_handle:
5635+
description: Handle of the creator user.
5636+
example: john.doe
5637+
type: string
5638+
hash:
5639+
description: Client token of the RUM application.
5640+
example: abcd1234efgh5678ijkl90abcd1234efgh0
5641+
type: string
5642+
name:
5643+
description: Name of the RUM application.
5644+
example: my_rum_application
5645+
type: string
5646+
org_id:
5647+
description: Org ID of the RUM application.
5648+
example: 999
5649+
format: int32
5650+
type: integer
5651+
type:
5652+
description: Type of the RUM application.
5653+
example: browser|ios|android|react-native|flutter
5654+
type: string
5655+
updated_at:
5656+
description: Timestamp in ms of the last update date.
5657+
example: 1659479836169
5658+
format: int64
5659+
type: integer
5660+
updated_by_handle:
5661+
description: Handle of the updater user.
5662+
example: jane.doe
5663+
type: string
5664+
required:
5665+
- application_id
5666+
- created_at
5667+
- created_by_handle
5668+
- name
5669+
- org_id
5670+
- type
5671+
- updated_at
5672+
- updated_by_handle
5673+
type: object
5674+
RUMApplicationCreate:
5675+
description: RUM application creation.
5676+
properties:
5677+
attributes:
5678+
$ref: '#/components/schemas/RUMApplicationCreateAttributes'
5679+
type:
5680+
$ref: '#/components/schemas/RUMApplicationCreateType'
5681+
required:
5682+
- attributes
5683+
- type
5684+
type: object
5685+
RUMApplicationCreateAttributes:
5686+
description: RUM application creation attributes.
5687+
properties:
5688+
name:
5689+
description: Name of the RUM application.
5690+
example: my_new_rum_application
5691+
type: string
5692+
type:
5693+
description: Type of the RUM application.
5694+
example: browser|ios|android|react-native|flutter
5695+
type: string
5696+
required:
5697+
- name
5698+
type: object
5699+
RUMApplicationCreateRequest:
5700+
description: RUM application creation request attributes.
5701+
properties:
5702+
data:
5703+
$ref: '#/components/schemas/RUMApplicationCreate'
5704+
required:
5705+
- data
5706+
type: object
5707+
RUMApplicationCreateType:
5708+
default: rum_application_create
5709+
description: RUM application creation type.
5710+
enum:
5711+
- rum_application_create
5712+
example: rum_application_create
5713+
type: string
5714+
x-enum-varnames:
5715+
- RUM_APPLICATION_CREATE
5716+
RUMApplicationResponse:
5717+
description: RUM application response.
5718+
properties:
5719+
data:
5720+
$ref: '#/components/schemas/RUMApplication'
5721+
type: object
5722+
RUMApplicationType:
5723+
default: rum_application
5724+
description: RUM application response type.
5725+
enum:
5726+
- rum_application
5727+
example: rum_application
5728+
type: string
5729+
x-enum-varnames:
5730+
- RUM_APPLICATION
5731+
RUMApplicationUpdate:
5732+
description: RUM application update.
5733+
properties:
5734+
attributes:
5735+
$ref: '#/components/schemas/RUMApplicationUpdateAttributes'
5736+
id:
5737+
description: RUM application ID.
5738+
example: abcd1234-0000-0000-abcd-1234abcd5678
5739+
type: string
5740+
type:
5741+
$ref: '#/components/schemas/RUMApplicationUpdateType'
5742+
required:
5743+
- id
5744+
- type
5745+
type: object
5746+
RUMApplicationUpdateAttributes:
5747+
description: RUM application update attributes.
5748+
properties:
5749+
name:
5750+
description: Name of the RUM application.
5751+
example: updated_name_for_my_existing_rum_application
5752+
type: string
5753+
type:
5754+
description: Type of the RUM application.
5755+
example: browser|ios|android|react-native|flutter
5756+
type: string
5757+
type: object
5758+
RUMApplicationUpdateRequest:
5759+
description: RUM application update request.
5760+
properties:
5761+
data:
5762+
$ref: '#/components/schemas/RUMApplicationUpdate'
5763+
required:
5764+
- data
5765+
type: object
5766+
RUMApplicationUpdateType:
5767+
default: rum_application_update
5768+
description: RUM application update type.
5769+
enum:
5770+
- rum_application_update
5771+
example: rum_application_update
5772+
type: string
5773+
x-enum-varnames:
5774+
- RUM_APPLICATION_UPDATE
5775+
RUMApplicationsResponse:
5776+
description: RUM applications response.
5777+
properties:
5778+
data:
5779+
description: RUM applications array response.
5780+
items:
5781+
$ref: '#/components/schemas/RUMApplication'
5782+
type: array
5783+
type: object
56065784
RUMBucketResponse:
56075785
description: Bucket values.
56085786
properties:
@@ -12059,6 +12237,169 @@ paths:
1205912237
x-menu-order: 3
1206012238
x-undo:
1206112239
type: safe
12240+
/api/v2/rum/applications:
12241+
get:
12242+
description: List all the RUM applications in your organization.
12243+
operationId: GetRUMApplications
12244+
responses:
12245+
'200':
12246+
content:
12247+
application/json:
12248+
schema:
12249+
$ref: '#/components/schemas/RUMApplicationsResponse'
12250+
description: OK
12251+
'404':
12252+
$ref: '#/components/responses/NotFoundResponse'
12253+
'429':
12254+
$ref: '#/components/responses/TooManyRequestsResponse'
12255+
security:
12256+
- apiKeyAuth: []
12257+
appKeyAuth: []
12258+
summary: List all the RUM applications
12259+
tags:
12260+
- RUM
12261+
x-undo:
12262+
type: safe
12263+
post:
12264+
description: Create a new RUM application in your organization.
12265+
operationId: CreateRUMApplication
12266+
requestBody:
12267+
content:
12268+
application/json:
12269+
schema:
12270+
$ref: '#/components/schemas/RUMApplicationCreateRequest'
12271+
required: true
12272+
responses:
12273+
'200':
12274+
content:
12275+
application/json:
12276+
schema:
12277+
$ref: '#/components/schemas/RUMApplicationResponse'
12278+
description: OK
12279+
'400':
12280+
$ref: '#/components/responses/BadRequestResponse'
12281+
'429':
12282+
$ref: '#/components/responses/TooManyRequestsResponse'
12283+
security:
12284+
- apiKeyAuth: []
12285+
appKeyAuth: []
12286+
summary: Create a new RUM application
12287+
tags:
12288+
- RUM
12289+
x-codegen-request-body-name: body
12290+
x-given:
12291+
rum_application:
12292+
parameters:
12293+
- name: body
12294+
value: "{ \"data\": {\n \"type\": \"rum_application_create\",\n \"attributes\":
12295+
{\n \"name\": \"test_name_create\",\n \"type\": \"browser\"\n
12296+
\ }\n }\n}"
12297+
step: there is a valid "rum_application" in the system
12298+
x-undo:
12299+
operationId: DeleteRUMApplication
12300+
parameters:
12301+
- name: id
12302+
source: data.id
12303+
type: unsafe
12304+
/api/v2/rum/applications/{id}:
12305+
delete:
12306+
description: Delete an existing RUM application in your organization.
12307+
operationId: DeleteRUMApplication
12308+
parameters:
12309+
- description: RUM application ID.
12310+
in: path
12311+
name: id
12312+
required: true
12313+
schema:
12314+
type: string
12315+
responses:
12316+
'204':
12317+
description: No Content
12318+
'404':
12319+
$ref: '#/components/responses/NotFoundResponse'
12320+
'429':
12321+
$ref: '#/components/responses/TooManyRequestsResponse'
12322+
security:
12323+
- apiKeyAuth: []
12324+
appKeyAuth: []
12325+
summary: Delete a RUM application
12326+
tags:
12327+
- RUM
12328+
x-undo:
12329+
type: idempotent
12330+
get:
12331+
description: Get the RUM application with given ID in your organization.
12332+
operationId: GetRUMApplication
12333+
parameters:
12334+
- description: RUM application ID.
12335+
in: path
12336+
name: id
12337+
required: true
12338+
schema:
12339+
type: string
12340+
responses:
12341+
'200':
12342+
content:
12343+
application/json:
12344+
schema:
12345+
$ref: '#/components/schemas/RUMApplicationResponse'
12346+
description: OK
12347+
'404':
12348+
$ref: '#/components/responses/NotFoundResponse'
12349+
'429':
12350+
$ref: '#/components/responses/TooManyRequestsResponse'
12351+
security:
12352+
- apiKeyAuth: []
12353+
appKeyAuth: []
12354+
summary: Get a RUM application
12355+
tags:
12356+
- RUM
12357+
x-undo:
12358+
type: safe
12359+
patch:
12360+
description: Update the RUM application with given ID in your organization.
12361+
operationId: UpdateRUMApplication
12362+
parameters:
12363+
- description: RUM application ID.
12364+
in: path
12365+
name: id
12366+
required: true
12367+
schema:
12368+
type: string
12369+
requestBody:
12370+
content:
12371+
application/json:
12372+
schema:
12373+
$ref: '#/components/schemas/RUMApplicationUpdateRequest'
12374+
required: true
12375+
responses:
12376+
'200':
12377+
content:
12378+
application/json:
12379+
schema:
12380+
$ref: '#/components/schemas/RUMApplicationResponse'
12381+
description: OK
12382+
'400':
12383+
$ref: '#/components/responses/BadRequestResponse'
12384+
'404':
12385+
$ref: '#/components/responses/NotFoundResponse'
12386+
'422':
12387+
content:
12388+
application/json:
12389+
schema:
12390+
$ref: '#/components/schemas/APIErrorResponse'
12391+
description: Unprocessable Entity.
12392+
'429':
12393+
$ref: '#/components/responses/TooManyRequestsResponse'
12394+
security:
12395+
- apiKeyAuth: []
12396+
appKeyAuth: []
12397+
summary: Update a RUM application
12398+
tags:
12399+
- RUM
12400+
x-codegen-request-body-name: body
12401+
x-undo:
12402+
type: idempotent
1206212403
/api/v2/rum/events:
1206312404
get:
1206412405
description: 'List endpoint returns events that match a RUM search query.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2022-08-08T16:05:30.846Z"

0 commit comments

Comments
 (0)