Skip to content

Commit b3671c4

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 46ec9851 of spec repo
1 parent 252f484 commit b3671c4

File tree

9 files changed

+1466
-9
lines changed

9 files changed

+1466
-9
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.6",
7-
"regenerated": "2025-08-25 18:47:02.506137",
8-
"spec_repo_commit": "1e6c3469"
7+
"regenerated": "2025-08-26 20:05:10.994302",
8+
"spec_repo_commit": "46ec9851"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-08-25 18:47:12.680271",
13-
"spec_repo_commit": "1e6c3469"
12+
"regenerated": "2025-08-26 20:05:20.981675",
13+
"spec_repo_commit": "46ec9851"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9255,6 +9255,19 @@ menu:
92559255
unstable:
92569256
- v2
92579257
order: 1
9258+
- name: Update Scorecard outcomes asynchronously
9259+
url: '#update-scorecard-outcomes-asynchronously'
9260+
identifier: service-scorecards-update-scorecard-outcomes-asynchronously
9261+
parent: service-scorecards
9262+
generated: true
9263+
params:
9264+
versions:
9265+
- v2
9266+
operationids:
9267+
- UpdateScorecardOutcomesAsync
9268+
unstable:
9269+
- v2
9270+
order: 1
92589271
- name: List all rule outcomes
92599272
url: '#list-all-rule-outcomes'
92609273
identifier: service-scorecards-list-all-rule-outcomes

content/en/api/v2/service-scorecards/examples.json

Lines changed: 77 additions & 5 deletions
Large diffs are not rendered by default.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"results": [
5+
{
6+
"rule_id": "q8MQxk8TCqrHnWkx",
7+
"entity_reference": "service:my-service",
8+
"remarks": "See: <a href=\"https://app.datadoghq.com/services\">Services</a>",
9+
"state": "pass"
10+
}
11+
]
12+
},
13+
"type": "batched-outcome"
14+
}
15+
}

data/api/v2/CodeExamples.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1478,6 +1478,13 @@
14781478
"description": "Create outcomes batch returns \"OK\" response"
14791479
}
14801480
],
1481+
"UpdateScorecardOutcomesAsync": [
1482+
{
1483+
"group": "service_scorecards",
1484+
"suffix": "",
1485+
"description": "Update Scorecard outcomes asynchronously returns \"Accepted\" response"
1486+
}
1487+
],
14811488
"UpdateScorecardRule": [
14821489
{
14831490
"group": "service_scorecards",

data/api/v2/full_spec.yaml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14358,6 +14358,10 @@ components:
1435814358
description: Entity definition in raw JSON or YAML representation.
1435914359
example: "apiVersion: v3\nkind: service\nmetadata:\n name: myservice\n"
1436014360
type: string
14361+
EntityReference:
14362+
description: The unique reference for an IDP entity.
14363+
example: service:my-service
14364+
type: string
1436114365
EntityRelationships:
1436214366
description: Entity relationships.
1436314367
properties:
@@ -35115,6 +35119,8 @@ components:
3511535119
description: If enabled, the rule is calculated as part of the score.
3511635120
example: true
3511735121
type: boolean
35122+
level:
35123+
$ref: '#/components/schemas/RuleLevel'
3511835124
modified_at:
3511935125
description: Time of the last rule outcome modification.
3512035126
format: date-time
@@ -35135,6 +35141,13 @@ components:
3513535141
description: The unique ID for a scorecard rule.
3513635142
example: q8MQxk8TCqrHnWkx
3513735143
type: string
35144+
RuleLevel:
35145+
description: The maturity level of the rule (1, 2, or 3).
35146+
example: 2
35147+
format: int32
35148+
maximum: 3
35149+
minimum: 1
35150+
type: integer
3513835151
RuleName:
3513935152
description: Name of the notification rule.
3514035153
example: Rule 1
@@ -44511,6 +44524,57 @@ components:
4451144524
id:
4451244525
$ref: '#/components/schemas/ApiID'
4451344526
type: object
44527+
UpdateOutcomesAsyncAttributes:
44528+
description: The JSON:API attributes for a batched set of scorecard outcomes.
44529+
properties:
44530+
results:
44531+
description: Set of scorecard outcomes to update asynchronously.
44532+
items:
44533+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequestItem'
44534+
type: array
44535+
type: object
44536+
UpdateOutcomesAsyncRequest:
44537+
description: Scorecard outcomes batch request.
44538+
properties:
44539+
data:
44540+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequestData'
44541+
type: object
44542+
UpdateOutcomesAsyncRequestData:
44543+
description: Scorecard outcomes batch request data.
44544+
properties:
44545+
attributes:
44546+
$ref: '#/components/schemas/UpdateOutcomesAsyncAttributes'
44547+
type:
44548+
$ref: '#/components/schemas/UpdateOutcomesAsyncType'
44549+
type: object
44550+
UpdateOutcomesAsyncRequestItem:
44551+
description: Scorecard outcome for a single entity and rule.
44552+
properties:
44553+
entity_reference:
44554+
$ref: '#/components/schemas/EntityReference'
44555+
remarks:
44556+
description: Any remarks regarding the scorecard rule's evaluation. Supports
44557+
HTML hyperlinks.
44558+
example: 'See: <a href="https://app.datadoghq.com/services">Services</a>'
44559+
type: string
44560+
rule_id:
44561+
$ref: '#/components/schemas/RuleId'
44562+
state:
44563+
$ref: '#/components/schemas/State'
44564+
required:
44565+
- rule_id
44566+
- entity_reference
44567+
- state
44568+
type: object
44569+
UpdateOutcomesAsyncType:
44570+
default: batched-outcome
44571+
description: The JSON:API type for scorecard outcomes.
44572+
enum:
44573+
- batched-outcome
44574+
example: batched-outcome
44575+
type: string
44576+
x-enum-varnames:
44577+
- BATCHED_OUTCOME
4451444578
UpdateResourceEvaluationFiltersRequest:
4451544579
description: Request object to update a resource filter.
4451644580
properties:
@@ -65561,6 +65625,42 @@ paths:
6556165625
type: safe
6556265626
x-unstable: '**Note**: This endpoint is in public beta.
6556365627

65628+
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
65629+
post:
65630+
description: Updates multiple scorecard rule outcomes in a single batched request.
65631+
operationId: UpdateScorecardOutcomesAsync
65632+
requestBody:
65633+
content:
65634+
application/json:
65635+
schema:
65636+
$ref: '#/components/schemas/UpdateOutcomesAsyncRequest'
65637+
description: Set of scorecard outcomes.
65638+
required: true
65639+
responses:
65640+
'202':
65641+
description: Accepted
65642+
'400':
65643+
$ref: '#/components/responses/BadRequestResponse'
65644+
'403':
65645+
$ref: '#/components/responses/ForbiddenResponse'
65646+
'409':
65647+
$ref: '#/components/responses/ConflictResponse'
65648+
'429':
65649+
$ref: '#/components/responses/TooManyRequestsResponse'
65650+
security:
65651+
- apiKeyAuth: []
65652+
appKeyAuth: []
65653+
- AuthZ:
65654+
- apm_service_catalog_write
65655+
summary: Update Scorecard outcomes asynchronously
65656+
tags:
65657+
- Service Scorecards
65658+
x-codegen-request-body-name: body
65659+
x-menu-order: 1
65660+
x-undo:
65661+
type: idempotent
65662+
x-unstable: '**Note**: This endpoint is in public beta.
65663+
6556465664
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6556565665
/api/v2/scorecard/outcomes/batch:
6556665666
post:

0 commit comments

Comments
 (0)