Skip to content

Commit dbc4581

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add PreviewCatalogEntities (#2926)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5ee57eb commit dbc4581

27 files changed

+1526
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17294,11 +17294,201 @@ components:
1729417294
schema:
1729517295
$ref: '#/components/schemas/EntityToSchema'
1729617296
type: object
17297+
EntityResponseArray:
17298+
properties:
17299+
data:
17300+
items:
17301+
$ref: '#/components/schemas/PreviewEntityResponseData'
17302+
type: array
17303+
required:
17304+
- data
17305+
type: object
1729717306
EntityResponseData:
1729817307
description: List of entity data.
1729917308
items:
1730017309
$ref: '#/components/schemas/EntityData'
1730117310
type: array
17311+
EntityResponseDataAttributes:
17312+
properties:
17313+
apiVersion:
17314+
type: string
17315+
description:
17316+
type: string
17317+
displayName:
17318+
type: string
17319+
kind:
17320+
type: string
17321+
name:
17322+
type: string
17323+
namespace:
17324+
type: string
17325+
owner:
17326+
type: string
17327+
properties:
17328+
additionalProperties: {}
17329+
type: object
17330+
tags:
17331+
items:
17332+
type: string
17333+
type: array
17334+
type: object
17335+
EntityResponseDataRelationships:
17336+
properties:
17337+
incidents:
17338+
$ref: '#/components/schemas/EntityResponseDataRelationshipsIncidents'
17339+
oncalls:
17340+
$ref: '#/components/schemas/EntityResponseDataRelationshipsOncalls'
17341+
rawSchema:
17342+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRawSchema'
17343+
relatedEntities:
17344+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRelatedEntities'
17345+
schema:
17346+
$ref: '#/components/schemas/EntityResponseDataRelationshipsSchema'
17347+
type: object
17348+
EntityResponseDataRelationshipsIncidents:
17349+
properties:
17350+
data:
17351+
items:
17352+
$ref: '#/components/schemas/EntityResponseDataRelationshipsIncidentsDataItems'
17353+
type: array
17354+
type: object
17355+
EntityResponseDataRelationshipsIncidentsDataItems:
17356+
properties:
17357+
id:
17358+
example: ''
17359+
type: string
17360+
type:
17361+
$ref: '#/components/schemas/EntityResponseDataRelationshipsIncidentsDataItemsType'
17362+
required:
17363+
- type
17364+
- id
17365+
type: object
17366+
EntityResponseDataRelationshipsIncidentsDataItemsType:
17367+
default: incident
17368+
description: Incident resource type.
17369+
enum:
17370+
- incident
17371+
example: incident
17372+
type: string
17373+
x-enum-varnames:
17374+
- INCIDENT
17375+
EntityResponseDataRelationshipsOncalls:
17376+
properties:
17377+
data:
17378+
items:
17379+
$ref: '#/components/schemas/EntityResponseDataRelationshipsOncallsDataItems'
17380+
type: array
17381+
type: object
17382+
EntityResponseDataRelationshipsOncallsDataItems:
17383+
properties:
17384+
id:
17385+
example: ''
17386+
type: string
17387+
type:
17388+
$ref: '#/components/schemas/EntityResponseDataRelationshipsOncallsDataItemsType'
17389+
required:
17390+
- type
17391+
- id
17392+
type: object
17393+
EntityResponseDataRelationshipsOncallsDataItemsType:
17394+
default: oncall
17395+
description: Oncall resource type.
17396+
enum:
17397+
- oncall
17398+
example: oncall
17399+
type: string
17400+
x-enum-varnames:
17401+
- ONCALL
17402+
EntityResponseDataRelationshipsRawSchema:
17403+
properties:
17404+
data:
17405+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRawSchemaData'
17406+
required:
17407+
- data
17408+
type: object
17409+
EntityResponseDataRelationshipsRawSchemaData:
17410+
properties:
17411+
id:
17412+
example: ''
17413+
type: string
17414+
type:
17415+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRawSchemaDataType'
17416+
required:
17417+
- type
17418+
- id
17419+
type: object
17420+
EntityResponseDataRelationshipsRawSchemaDataType:
17421+
default: rawSchema
17422+
description: Raw schema resource type.
17423+
enum:
17424+
- rawSchema
17425+
example: rawSchema
17426+
type: string
17427+
x-enum-varnames:
17428+
- RAWSCHEMA
17429+
EntityResponseDataRelationshipsRelatedEntities:
17430+
properties:
17431+
data:
17432+
items:
17433+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRelatedEntitiesDataItems'
17434+
type: array
17435+
type: object
17436+
EntityResponseDataRelationshipsRelatedEntitiesDataItems:
17437+
properties:
17438+
id:
17439+
example: ''
17440+
type: string
17441+
type:
17442+
$ref: '#/components/schemas/EntityResponseDataRelationshipsRelatedEntitiesDataItemsType'
17443+
required:
17444+
- type
17445+
- id
17446+
type: object
17447+
EntityResponseDataRelationshipsRelatedEntitiesDataItemsType:
17448+
default: relatedEntity
17449+
description: Related entity resource type.
17450+
enum:
17451+
- relatedEntity
17452+
example: relatedEntity
17453+
type: string
17454+
x-enum-varnames:
17455+
- RELATEDENTITY
17456+
EntityResponseDataRelationshipsSchema:
17457+
properties:
17458+
data:
17459+
$ref: '#/components/schemas/EntityResponseDataRelationshipsSchemaData'
17460+
required:
17461+
- data
17462+
type: object
17463+
EntityResponseDataRelationshipsSchemaData:
17464+
properties:
17465+
id:
17466+
example: ''
17467+
type: string
17468+
type:
17469+
$ref: '#/components/schemas/EntityResponseDataRelationshipsSchemaDataType'
17470+
required:
17471+
- type
17472+
- id
17473+
type: object
17474+
EntityResponseDataRelationshipsSchemaDataType:
17475+
default: schema
17476+
description: Schema resource type.
17477+
enum:
17478+
- schema
17479+
example: schema
17480+
type: string
17481+
x-enum-varnames:
17482+
- SCHEMA
17483+
EntityResponseDataType:
17484+
default: entity
17485+
description: Entity resource type.
17486+
enum:
17487+
- entity
17488+
example: entity
17489+
type: string
17490+
x-enum-varnames:
17491+
- ENTITY
1730217492
EntityResponseIncludedIncident:
1730317493
description: Included incident.
1730417494
properties:
@@ -37681,6 +37871,19 @@ components:
3768137871
description: Offset type.
3768237872
type: string
3768337873
type: object
37874+
PreviewEntityResponseData:
37875+
properties:
37876+
attributes:
37877+
$ref: '#/components/schemas/EntityResponseDataAttributes'
37878+
id:
37879+
type: string
37880+
relationships:
37881+
$ref: '#/components/schemas/EntityResponseDataRelationships'
37882+
type:
37883+
$ref: '#/components/schemas/EntityResponseDataType'
37884+
required:
37885+
- type
37886+
type: object
3768437887
ProcessSummariesMeta:
3768537888
description: Response metadata object.
3768637889
properties:
@@ -58421,6 +58624,26 @@ paths:
5842158624
tags:
5842258625
- Software Catalog
5842358626
x-codegen-request-body-name: body
58627+
/api/v2/catalog/entity/preview:
58628+
post:
58629+
operationId: PreviewCatalogEntities
58630+
responses:
58631+
'202':
58632+
content:
58633+
application/json:
58634+
schema:
58635+
$ref: '#/components/schemas/EntityResponseArray'
58636+
description: Accepted
58637+
'429':
58638+
$ref: '#/components/responses/TooManyRequestsResponse'
58639+
security:
58640+
- apiKeyAuth: []
58641+
appKeyAuth: []
58642+
- AuthZ:
58643+
- apm_service_catalog_read
58644+
summary: Preview catalog entities
58645+
tags:
58646+
- Software Catalog
5842458647
/api/v2/catalog/entity/{entity_id}:
5842558648
delete:
5842658649
description: Delete a single entity in Software Catalog.

0 commit comments

Comments
 (0)