@@ -71914,6 +71914,55 @@ components:
7191471914 $ref: "#/components/schemas/Trigger"
7191571915 type: array
7191671916 type: object
71917+ SpecAttributes:
71918+ description: Attributes of an API spec.
71919+ properties:
71920+ name:
71921+ description: The name of the spec.
71922+ example: pets-api
71923+ type: string
71924+ status:
71925+ $ref: "#/components/schemas/SpecAttributesStatus"
71926+ version:
71927+ description: The version of the spec.
71928+ example: "2.1.0"
71929+ type: string
71930+ type: object
71931+ SpecAttributesStatus:
71932+ description: The publication status of the spec.
71933+ enum:
71934+ - published
71935+ - draft
71936+ - deprecated
71937+ example: published
71938+ type: string
71939+ x-enum-varnames:
71940+ - PUBLISHED
71941+ - DRAFT
71942+ - DEPRECATED
71943+ SpecData:
71944+ description: A single API spec resource.
71945+ properties:
71946+ attributes:
71947+ $ref: "#/components/schemas/SpecAttributes"
71948+ id:
71949+ description: The unique identifier of the spec.
71950+ example: d5e5d5a0-1234-5678-9abc-def012345678
71951+ type: string
71952+ type:
71953+ $ref: "#/components/schemas/SpecType"
71954+ required:
71955+ - type
71956+ type: object
71957+ SpecType:
71958+ default: spec
71959+ description: Type of the spec resource.
71960+ enum:
71961+ - spec
71962+ example: spec
71963+ type: string
71964+ x-enum-varnames:
71965+ - SPEC
7191771966 SpecVersion:
7191871967 description: The version of the CycloneDX specification a BOM conforms to.
7191971968 enum:
@@ -71932,6 +71981,15 @@ components:
7193271981 - ONE_THREE
7193371982 - ONE_FOUR
7193471983 - ONE_FIVE
71984+ SpecsListResponse:
71985+ description: Response containing a list of specs.
71986+ properties:
71987+ data:
71988+ description: List of specs.
71989+ items:
71990+ $ref: "#/components/schemas/SpecData"
71991+ type: array
71992+ type: object
7193571993 SplitAPIKey:
7193671994 description: The definition of the `SplitAPIKey` object.
7193771995 properties:
@@ -137984,6 +138042,43 @@ paths:
137984138042 cursorPath: meta.page.after
137985138043 limitParam: body.data.attributes.page.limit
137986138044 resultsPath: data
138045+ /api/v2/specs:
138046+ get:
138047+ description: Returns a list of API specs stored in the system.
138048+ operationId: ListSpecs
138049+ responses:
138050+ "200":
138051+ content:
138052+ application/json:
138053+ examples:
138054+ default:
138055+ value:
138056+ data:
138057+ - attributes:
138058+ name: pets-api
138059+ status: published
138060+ version: "2.1.0"
138061+ id: d5e5d5a0-1234-5678-9abc-def012345678
138062+ type: spec
138063+ - attributes:
138064+ name: users-api
138065+ status: draft
138066+ version: "1.0.0"
138067+ id: a1b2c3d4-5678-9abc-def0-123456789abc
138068+ type: spec
138069+ schema:
138070+ $ref: "#/components/schemas/SpecsListResponse"
138071+ description: OK
138072+ "403":
138073+ $ref: "#/components/responses/ForbiddenResponse"
138074+ "429":
138075+ $ref: "#/components/responses/TooManyRequestsResponse"
138076+ security:
138077+ - apiKeyAuth: []
138078+ appKeyAuth: []
138079+ summary: List API specs
138080+ tags:
138081+ - Specs
137987138082 /api/v2/static-analysis-sca/dependencies:
137988138083 post:
137989138084 operationId: CreateSCAResult
@@ -148377,6 +148472,9 @@ tags:
148377148472 description: Find out more at
148378148473 url: https://docs.datadoghq.com/tracing/metrics/metrics_namespace/
148379148474 name: Spans Metrics
148475+ - description: |-
148476+ View API specs stored in the system.
148477+ name: Specs
148380148478 - description: API for static analysis
148381148479 name: Static Analysis
148382148480 - description: Manage your status pages and communicate service disruptions to stakeholders via Datadog's API. See the [Status Pages documentation](https://docs.datadoghq.com/incident_response/status_pages/) for more information.
0 commit comments