Skip to content

Commit 211eb08

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 46ec985 of spec repo
1 parent 4c1f6aa commit 211eb08

27 files changed

+1106
-6
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "1e6c346",
3-
"generated": "2025-08-25 18:45:37.801"
2+
"spec_repo_commit": "46ec985",
3+
"generated": "2025-08-26 20:03:19.213"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14485,6 +14485,10 @@ components:
1448514485
description: Entity definition in raw JSON or YAML representation.
1448614486
example: "apiVersion: v3\nkind: service\nmetadata:\n name: myservice\n"
1448714487
type: string
14488+
EntityReference:
14489+
description: The unique reference for an IDP entity.
14490+
example: service:my-service
14491+
type: string
1448814492
EntityRelationships:
1448914493
description: Entity relationships.
1449014494
properties:
@@ -34444,6 +34448,8 @@ components:
3444434448
description: If enabled, the rule is calculated as part of the score.
3444534449
example: true
3444634450
type: boolean
34451+
level:
34452+
$ref: '#/components/schemas/RuleLevel'
3444734453
modified_at:
3444834454
description: Time of the last rule outcome modification.
3444934455
format: date-time
@@ -34464,6 +34470,13 @@ components:
3446434470
description: The unique ID for a scorecard rule.
3446534471
example: q8MQxk8TCqrHnWkx
3446634472
type: string
34473+
RuleLevel:
34474+
description: The maturity level of the rule (1, 2, or 3).
34475+
example: 2
34476+
format: int32
34477+
maximum: 3
34478+
minimum: 1
34479+
type: integer
3446734480
RuleName:
3446834481
description: Name of the notification rule.
3446934482
example: Rule 1
@@ -43829,6 +43842,57 @@ components:
4382943842
id:
4383043843
$ref: '#/components/schemas/ApiID'
4383143844
type: object
43845+
UpdateOutcomesAsyncAttributes:
43846+
description: The JSON:API attributes for a batched set of scorecard outcomes.
43847+
properties:
43848+
results:
43849+
description: Set of scorecard outcomes to update asynchronously.
43850+
items:
43851+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequestItem'
43852+
type: array
43853+
type: object
43854+
UpdateOutcomesAsyncRequest:
43855+
description: Scorecard outcomes batch request.
43856+
properties:
43857+
data:
43858+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequestData'
43859+
type: object
43860+
UpdateOutcomesAsyncRequestData:
43861+
description: Scorecard outcomes batch request data.
43862+
properties:
43863+
attributes:
43864+
$ref: '#/components/schemas/UpdateOutcomesAsyncAttributes'
43865+
type:
43866+
$ref: '#/components/schemas/UpdateOutcomesAsyncType'
43867+
type: object
43868+
UpdateOutcomesAsyncRequestItem:
43869+
description: Scorecard outcome for a single entity and rule.
43870+
properties:
43871+
entity_reference:
43872+
$ref: '#/components/schemas/EntityReference'
43873+
remarks:
43874+
description: Any remarks regarding the scorecard rule's evaluation. Supports
43875+
HTML hyperlinks.
43876+
example: 'See: <a href="https://app.datadoghq.com/services">Services</a>'
43877+
type: string
43878+
rule_id:
43879+
$ref: '#/components/schemas/RuleId'
43880+
state:
43881+
$ref: '#/components/schemas/State'
43882+
required:
43883+
- rule_id
43884+
- entity_reference
43885+
- state
43886+
type: object
43887+
UpdateOutcomesAsyncType:
43888+
default: batched-outcome
43889+
description: The JSON:API type for scorecard outcomes.
43890+
enum:
43891+
- batched-outcome
43892+
example: batched-outcome
43893+
type: string
43894+
x-enum-varnames:
43895+
- BATCHED_OUTCOME
4383243896
UpdateResourceEvaluationFiltersRequest:
4383343897
description: Request object to update a resource filter.
4383443898
properties:
@@ -61874,6 +61938,39 @@ paths:
6187461938
resultsPath: data
6187561939
x-unstable: '**Note**: This endpoint is in public beta.
6187661940

61941+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
61942+
post:
61943+
description: Updates multiple scorecard rule outcomes in a single batched request.
61944+
operationId: UpdateScorecardOutcomesAsync
61945+
requestBody:
61946+
content:
61947+
application/json:
61948+
schema:
61949+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequest'
61950+
description: Set of scorecard outcomes.
61951+
required: true
61952+
responses:
61953+
'202':
61954+
description: Accepted
61955+
'400':
61956+
$ref: '#/components/responses/BadRequestResponse'
61957+
'403':
61958+
$ref: '#/components/responses/ForbiddenResponse'
61959+
'409':
61960+
$ref: '#/components/responses/ConflictResponse'
61961+
'429':
61962+
$ref: '#/components/responses/TooManyRequestsResponse'
61963+
security:
61964+
- apiKeyAuth: []
61965+
appKeyAuth: []
61966+
- AuthZ:
61967+
- apm_service_catalog_write
61968+
summary: Update Scorecard outcomes asynchronously
61969+
tags:
61970+
- Service Scorecards
61971+
x-codegen-request-body-name: body
61972+
x-unstable: '**Note**: This endpoint is in public beta.
61973+
6187761974
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6187861975
/api/v2/scorecard/outcomes/batch:
6187961976
post:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-26T15:48:59.496Z

cassettes/features/v2/service_scorecards/Create-a-new-rule-returns-Bad-Request-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-26T14:46:17.790Z

cassettes/features/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Accepted-response.yml

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-26T14:46:19.541Z

cassettes/features/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Bad-Request-response.yml

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2025-08-26T14:46:20.159Z

cassettes/features/v2/service_scorecards/Update-Scorecard-outcomes-asynchronously-returns-Conflict-response.yml

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)