Skip to content

Commit 47e73fa

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit bce6c00 of spec repo
1 parent 4116ca1 commit 47e73fa

21 files changed

Lines changed: 1203 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 320 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,6 +1909,14 @@ components:
19091909
required: true
19101910
schema:
19111911
type: string
1912+
VercelConfigurationID:
1913+
description: The Vercel configuration ID.
1914+
example: icfg_abc123
1915+
in: path
1916+
name: configuration_id
1917+
required: true
1918+
schema:
1919+
type: string
19121920
ViewIDPathParameter:
19131921
description: The UUID of the case view.
19141922
example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
@@ -106727,6 +106735,168 @@ components:
106727106735
required:
106728106736
- value
106729106737
type: object
106738+
VercelApiKey:
106739+
description: Datadog API key reference used by the Vercel integration to send telemetry.
106740+
properties:
106741+
id:
106742+
description: ID of the Datadog API key used by the Vercel integration.
106743+
example: 00000000-0000-0000-0000-000000000001
106744+
type: string
106745+
value:
106746+
description: Value of the Datadog API key. Returned as an empty string in read responses.
106747+
example: ""
106748+
type: string
106749+
required:
106750+
- id
106751+
- value
106752+
type: object
106753+
VercelConfigAttributes:
106754+
description: Attributes of the Datadog Vercel integration configuration.
106755+
properties:
106756+
apiKey:
106757+
$ref: "#/components/schemas/VercelApiKey"
106758+
logsConfig:
106759+
$ref: "#/components/schemas/VercelLogsConfig"
106760+
traceConfig:
106761+
$ref: "#/components/schemas/VercelTraceConfig"
106762+
required:
106763+
- apiKey
106764+
- logsConfig
106765+
- traceConfig
106766+
type: object
106767+
VercelConfigDataResponse:
106768+
description: Vercel configuration data returned by the API.
106769+
properties:
106770+
attributes:
106771+
$ref: "#/components/schemas/VercelConfigAttributes"
106772+
id:
106773+
description: Vercel configuration ID.
106774+
example: icfg_abc123
106775+
type: string
106776+
type:
106777+
$ref: "#/components/schemas/VercelConfigDataResponseType"
106778+
required:
106779+
- id
106780+
- type
106781+
- attributes
106782+
type: object
106783+
VercelConfigDataResponseType:
106784+
default: vercelConfiguration
106785+
description: Type identifier for a Vercel configuration resource.
106786+
enum:
106787+
- vercelConfiguration
106788+
example: vercelConfiguration
106789+
type: string
106790+
x-enum-varnames:
106791+
- VERCEL_CONFIGURATION
106792+
VercelConfigResponse:
106793+
description: Response containing the Datadog Vercel integration configuration.
106794+
properties:
106795+
data:
106796+
$ref: "#/components/schemas/VercelConfigDataResponse"
106797+
required:
106798+
- data
106799+
type: object
106800+
VercelEnvironment:
106801+
description: Vercel deployment environment.
106802+
enum:
106803+
- production
106804+
- preview
106805+
example: production
106806+
type: string
106807+
x-enum-varnames:
106808+
- PRODUCTION
106809+
- PREVIEW
106810+
VercelLogSource:
106811+
description: Source of logs that Vercel forwards to Datadog.
106812+
enum:
106813+
- static
106814+
- lambda
106815+
- edge
106816+
- build
106817+
- external
106818+
- firewall
106819+
example: lambda
106820+
type: string
106821+
x-enum-varnames:
106822+
- STATIC
106823+
- LAMBDA
106824+
- EDGE
106825+
- BUILD
106826+
- EXTERNAL
106827+
- FIREWALL
106828+
VercelLogsConfig:
106829+
description: Logs forwarding configuration for the Vercel integration.
106830+
properties:
106831+
enabled:
106832+
description: Whether logs forwarding is enabled.
106833+
example: true
106834+
type: boolean
106835+
environments:
106836+
description: List of Vercel deployment environments to forward telemetry from.
106837+
example:
106838+
- production
106839+
items:
106840+
$ref: "#/components/schemas/VercelEnvironment"
106841+
type: array
106842+
logSources:
106843+
description: List of Vercel log sources to forward to Datadog.
106844+
example:
106845+
- lambda
106846+
items:
106847+
$ref: "#/components/schemas/VercelLogSource"
106848+
type: array
106849+
samplingPercentage:
106850+
description: Percentage of logs to forward to Datadog, between 0 and 100.
106851+
example: 100
106852+
format: int32
106853+
maximum: 100
106854+
minimum: 0
106855+
type: integer
106856+
required:
106857+
- enabled
106858+
- samplingPercentage
106859+
- logSources
106860+
- environments
106861+
type: object
106862+
VercelTokenCreateRequest:
106863+
description: Request to exchange a Vercel marketplace authorization code for a Datadog-managed access token.
106864+
properties:
106865+
authGrantCode:
106866+
description: OAuth authorization code received from the Vercel marketplace flow.
106867+
example: code
106868+
type: string
106869+
vercelConfigurationId:
106870+
description: Vercel configuration identifier returned by the marketplace flow.
106871+
example: icfg_abc123
106872+
type: string
106873+
required:
106874+
- authGrantCode
106875+
- vercelConfigurationId
106876+
type: object
106877+
VercelTraceConfig:
106878+
description: Tracing configuration for the Vercel integration.
106879+
properties:
106880+
enabled:
106881+
description: Whether tracing is enabled.
106882+
example: true
106883+
type: boolean
106884+
isDeprecatedOtel:
106885+
description: Whether the configuration uses the deprecated OpenTelemetry tracing setup.
106886+
example: false
106887+
type: boolean
106888+
samplingPercentage:
106889+
description: Percentage of traces to forward to Datadog, between 0 and 100.
106890+
example: 100
106891+
format: int32
106892+
maximum: 100
106893+
minimum: 0
106894+
type: integer
106895+
required:
106896+
- enabled
106897+
- samplingPercentage
106898+
- isDeprecatedOtel
106899+
type: object
106730106900
Version:
106731106901
description: Version of the notification rule. It is updated when the rule is modified.
106732106902
example: 1
@@ -191561,6 +191731,154 @@ paths:
191561191731
"x-permission":
191562191732
operator: OPEN
191563191733
permissions: []
191734+
/api/v2/vercel/config/{configuration_id}:
191735+
get:
191736+
description: Retrieve the Datadog Vercel integration configuration for a given Vercel configuration. The response contains the API key reference, logs forwarding settings, and tracing settings stored in Datadog for this configuration.
191737+
operationId: GetVercelConfig
191738+
parameters:
191739+
- $ref: "#/components/parameters/VercelConfigurationID"
191740+
responses:
191741+
"200":
191742+
content:
191743+
application/json:
191744+
examples:
191745+
default:
191746+
value:
191747+
data:
191748+
attributes:
191749+
apiKey:
191750+
id: 00000000-0000-0000-0000-000000000001
191751+
value: ""
191752+
logsConfig:
191753+
enabled: true
191754+
environments:
191755+
- production
191756+
logSources:
191757+
- lambda
191758+
- edge
191759+
samplingPercentage: 100
191760+
traceConfig:
191761+
enabled: true
191762+
isDeprecatedOtel: false
191763+
samplingPercentage: 100
191764+
id: icfg_abc123
191765+
type: vercelConfiguration
191766+
schema:
191767+
$ref: "#/components/schemas/VercelConfigResponse"
191768+
description: OK
191769+
"400":
191770+
content:
191771+
application/json:
191772+
schema:
191773+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191774+
description: Bad Request
191775+
"403":
191776+
content:
191777+
application/json:
191778+
schema:
191779+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191780+
description: Forbidden
191781+
"404":
191782+
content:
191783+
application/json:
191784+
schema:
191785+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191786+
description: Not Found
191787+
"429":
191788+
$ref: "#/components/responses/TooManyRequestsResponse"
191789+
summary: Get Vercel configuration
191790+
tags:
191791+
- Vercel
191792+
put:
191793+
description: Update the Datadog Vercel integration configuration for a given Vercel configuration. The provided payload replaces the existing API key reference, logs forwarding settings, and tracing settings stored in Datadog for this configuration.
191794+
operationId: UpdateVercelConfig
191795+
parameters:
191796+
- $ref: "#/components/parameters/VercelConfigurationID"
191797+
requestBody:
191798+
content:
191799+
application/json:
191800+
examples:
191801+
default:
191802+
value:
191803+
apiKey:
191804+
id: 00000000-0000-0000-0000-000000000001
191805+
value: ""
191806+
logsConfig:
191807+
enabled: true
191808+
environments:
191809+
- production
191810+
logSources:
191811+
- lambda
191812+
- edge
191813+
samplingPercentage: 100
191814+
traceConfig:
191815+
enabled: true
191816+
isDeprecatedOtel: false
191817+
samplingPercentage: 100
191818+
schema:
191819+
$ref: "#/components/schemas/VercelConfigAttributes"
191820+
required: true
191821+
responses:
191822+
"200":
191823+
description: OK
191824+
"400":
191825+
content:
191826+
application/json:
191827+
schema:
191828+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191829+
description: Bad Request
191830+
"403":
191831+
content:
191832+
application/json:
191833+
schema:
191834+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191835+
description: Forbidden
191836+
"404":
191837+
content:
191838+
application/json:
191839+
schema:
191840+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191841+
description: Not Found
191842+
"429":
191843+
$ref: "#/components/responses/TooManyRequestsResponse"
191844+
summary: Update Vercel configuration
191845+
tags:
191846+
- Vercel
191847+
/api/v2/vercel/token:
191848+
post:
191849+
description: Exchange a Vercel marketplace authorization code for an access token and store it in Datadog so that the integration can call Vercel APIs on behalf of the customer. This endpoint is invoked once when a customer installs the Datadog integration from the Vercel marketplace.
191850+
operationId: CreateVercelToken
191851+
requestBody:
191852+
content:
191853+
application/json:
191854+
examples:
191855+
default:
191856+
value:
191857+
authGrantCode: "code"
191858+
vercelConfigurationId: "icfg_abc123"
191859+
schema:
191860+
$ref: "#/components/schemas/VercelTokenCreateRequest"
191861+
required: true
191862+
responses:
191863+
"200":
191864+
description: OK
191865+
"400":
191866+
content:
191867+
application/json:
191868+
schema:
191869+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191870+
description: Bad Request
191871+
"403":
191872+
content:
191873+
application/json:
191874+
schema:
191875+
$ref: "#/components/schemas/JSONAPIErrorResponse"
191876+
description: Forbidden
191877+
"429":
191878+
$ref: "#/components/responses/TooManyRequestsResponse"
191879+
summary: Create Vercel access token
191880+
tags:
191881+
- Vercel
191564191882
/api/v2/web-integrations/{integration_name}/accounts:
191565191883
get:
191566191884
description: List accounts for a given web integration.
@@ -193556,6 +193874,8 @@ tags:
193556193874
externalDocs:
193557193875
url: https://docs.datadoghq.com/account_management/users
193558193876
name: Users
193877+
- description: Configure the Datadog Vercel integration. Endpoints in this section let you exchange a Vercel marketplace authorization code for a Datadog-managed access token and read or update the logs, traces, and API key configuration associated with a Vercel project.
193878+
name: Vercel
193559193879
- description: |-
193560193880
Manage web integration accounts programmatically through the Datadog API.
193561193881
See the [Web Integrations page](https://app.datadoghq.com/integrations) for more information.

docs/datadog_api_client.v2.api.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,13 @@ datadog\_api\_client.v2.api.users\_api module
907907
:members:
908908
:show-inheritance:
909909

910+
datadog\_api\_client.v2.api.vercel\_api module
911+
----------------------------------------------
912+
913+
.. automodule:: datadog_api_client.v2.api.vercel_api
914+
:members:
915+
:show-inheritance:
916+
910917
datadog\_api\_client.v2.api.web\_integrations\_api module
911918
---------------------------------------------------------
912919

0 commit comments

Comments
 (0)