@@ -7297,6 +7297,50 @@ components:
72977297 data:
72987298 $ref: '#/components/schemas/BillingDimensionsMappingBody'
72997299 type: object
7300+ BranchCoverageSummaryRequest:
7301+ description: Request object for getting code coverage summary for a branch.
7302+ properties:
7303+ data:
7304+ $ref: '#/components/schemas/BranchCoverageSummaryRequestData'
7305+ required:
7306+ - data
7307+ type: object
7308+ BranchCoverageSummaryRequestAttributes:
7309+ description: Attributes for requesting code coverage summary for a branch.
7310+ properties:
7311+ branch:
7312+ description: The branch name.
7313+ example: prod
7314+ minLength: 1
7315+ type: string
7316+ repository_id:
7317+ description: The repository identifier.
7318+ example: github.com/datadog/shopist
7319+ minLength: 1
7320+ type: string
7321+ required:
7322+ - repository_id
7323+ - branch
7324+ type: object
7325+ BranchCoverageSummaryRequestData:
7326+ description: Data object for branch summary request.
7327+ properties:
7328+ attributes:
7329+ $ref: '#/components/schemas/BranchCoverageSummaryRequestAttributes'
7330+ type:
7331+ $ref: '#/components/schemas/BranchCoverageSummaryRequestType'
7332+ required:
7333+ - type
7334+ - attributes
7335+ type: object
7336+ BranchCoverageSummaryRequestType:
7337+ description: The definition of `BranchCoverageSummaryRequestType` object.
7338+ enum:
7339+ - ci_app_coverage_branch_summary_request
7340+ example: ci_app_coverage_branch_summary_request
7341+ type: string
7342+ x-enum-varnames:
7343+ - CI_APP_COVERAGE_BRANCH_SUMMARY_REQUEST
73007344 Budget:
73017345 description: A budget.
73027346 properties:
@@ -11760,6 +11804,50 @@ components:
1176011804 required:
1176111805 - location
1176211806 type: object
11807+ CommitCoverageSummaryRequest:
11808+ description: Request object for getting code coverage summary for a commit.
11809+ properties:
11810+ data:
11811+ $ref: '#/components/schemas/CommitCoverageSummaryRequestData'
11812+ required:
11813+ - data
11814+ type: object
11815+ CommitCoverageSummaryRequestAttributes:
11816+ description: Attributes for requesting code coverage summary for a commit.
11817+ properties:
11818+ commit_sha:
11819+ description: The commit SHA (40-character hexadecimal string).
11820+ example: 66adc9350f2cc9b250b69abddab733dd55e1a588
11821+ pattern: ^[a-fA-F0-9]{40}$
11822+ type: string
11823+ repository_id:
11824+ description: The repository identifier.
11825+ example: github.com/datadog/shopist
11826+ minLength: 1
11827+ type: string
11828+ required:
11829+ - repository_id
11830+ - commit_sha
11831+ type: object
11832+ CommitCoverageSummaryRequestData:
11833+ description: Data object for commit summary request.
11834+ properties:
11835+ attributes:
11836+ $ref: '#/components/schemas/CommitCoverageSummaryRequestAttributes'
11837+ type:
11838+ $ref: '#/components/schemas/CommitCoverageSummaryRequestType'
11839+ required:
11840+ - type
11841+ - attributes
11842+ type: object
11843+ CommitCoverageSummaryRequestType:
11844+ description: The definition of `CommitCoverageSummaryRequestType` object.
11845+ enum:
11846+ - ci_app_coverage_commit_summary_request
11847+ example: ci_app_coverage_commit_summary_request
11848+ type: string
11849+ x-enum-varnames:
11850+ - CI_APP_COVERAGE_COMMIT_SUMMARY_REQUEST
1176311851 CompletionCondition:
1176411852 description: The definition of `CompletionCondition` object.
1176511853 properties:
@@ -13270,6 +13358,122 @@ components:
1327013358 type: string
1327113359 x-enum-varnames:
1327213360 - COST_BY_ORG
13361+ CoverageSummaryAttributes:
13362+ description: Attributes object for code coverage summary response.
13363+ properties:
13364+ codeowners:
13365+ additionalProperties:
13366+ $ref: '#/components/schemas/CoverageSummaryCodeownerStats'
13367+ description: Coverage statistics broken down by code owner.
13368+ nullable: true
13369+ type: object
13370+ evaluated_flags_count:
13371+ description: Total number of coverage flags evaluated.
13372+ example: 8
13373+ format: int64
13374+ type: integer
13375+ evaluated_reports_count:
13376+ description: Total number of coverage reports evaluated.
13377+ example: 12
13378+ format: int64
13379+ type: integer
13380+ patch_coverage:
13381+ description: Overall patch coverage percentage.
13382+ example: 70.1
13383+ format: double
13384+ nullable: true
13385+ type: number
13386+ services:
13387+ additionalProperties:
13388+ $ref: '#/components/schemas/CoverageSummaryServiceStats'
13389+ description: Coverage statistics broken down by service.
13390+ nullable: true
13391+ type: object
13392+ total_coverage:
13393+ description: Overall total coverage percentage.
13394+ example: 82.4
13395+ format: double
13396+ nullable: true
13397+ type: number
13398+ type: object
13399+ CoverageSummaryCodeownerStats:
13400+ description: Coverage statistics for a specific code owner.
13401+ properties:
13402+ evaluated_flags_count:
13403+ description: Number of coverage flags evaluated for the code owner.
13404+ example: 2
13405+ format: int64
13406+ type: integer
13407+ evaluated_reports_count:
13408+ description: Number of coverage reports evaluated for the code owner.
13409+ example: 4
13410+ format: int64
13411+ type: integer
13412+ patch_coverage:
13413+ description: Patch coverage percentage for the code owner.
13414+ example: 75.2
13415+ format: double
13416+ nullable: true
13417+ type: number
13418+ total_coverage:
13419+ description: Total coverage percentage for the code owner.
13420+ example: 88.7
13421+ format: double
13422+ nullable: true
13423+ type: number
13424+ type: object
13425+ CoverageSummaryData:
13426+ description: Data object for coverage summary response.
13427+ properties:
13428+ attributes:
13429+ $ref: '#/components/schemas/CoverageSummaryAttributes'
13430+ id:
13431+ description: Unique identifier for the coverage summary (base64-hashed).
13432+ example: ZGQxMjM0NV9tYWluXzE3MDk1NjQwMDA=
13433+ type: string
13434+ type:
13435+ $ref: '#/components/schemas/CoverageSummaryType'
13436+ type: object
13437+ CoverageSummaryResponse:
13438+ description: Response object containing code coverage summary.
13439+ properties:
13440+ data:
13441+ $ref: '#/components/schemas/CoverageSummaryData'
13442+ type: object
13443+ CoverageSummaryServiceStats:
13444+ description: Coverage statistics for a specific service.
13445+ properties:
13446+ evaluated_flags_count:
13447+ description: Number of coverage flags evaluated for the service.
13448+ example: 3
13449+ format: int64
13450+ type: integer
13451+ evaluated_reports_count:
13452+ description: Number of coverage reports evaluated for the service.
13453+ example: 5
13454+ format: int64
13455+ type: integer
13456+ patch_coverage:
13457+ description: Patch coverage percentage for the service.
13458+ example: 72.3
13459+ format: double
13460+ nullable: true
13461+ type: number
13462+ total_coverage:
13463+ description: Total coverage percentage for the service.
13464+ example: 85.5
13465+ format: double
13466+ nullable: true
13467+ type: number
13468+ type: object
13469+ CoverageSummaryType:
13470+ description: The definition of `CoverageSummaryType` object.
13471+ enum:
13472+ - ci_app_coverage_summary
13473+ example: ci_app_coverage_summary
13474+ type: string
13475+ x-enum-varnames:
13476+ - CI_APP_COVERAGE_SUMMARY
1327313477 Cpu:
1327413478 description: CPU usage statistics derived from historical Spark job metrics.
1327513479 Provides multiple estimates so users can choose between conservative and cost-saving
@@ -40874,6 +41078,8 @@ components:
4087441078 type: integer
4087541079 type:
4087641080 $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
41081+ when_full:
41082+ $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4087741083 type: object
4087841084 ObservabilityPipelineMemoryBufferSizeOptions:
4087941085 description: Options for configuring a memory buffer by queue length.
@@ -40885,6 +41091,8 @@ components:
4088541091 type: integer
4088641092 type:
4088741093 $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
41094+ when_full:
41095+ $ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
4088841096 type: object
4088941097 ObservabilityPipelineMetadataEntry:
4089041098 description: A custom metadata entry.
@@ -67614,6 +67822,7 @@ components:
6761467822 cloud_cost_management_write: Configure cloud cost accounts and global
6761567823 customizations. For more details, see the Cloud Cost Management docs.
6761667824 code_analysis_read: View Code Analysis.
67825+ code_coverage_read: View Code Coverage.
6761767826 continuous_profiler_pgo_read: Read and query Continuous Profiler data
6761867827 for Profile-Guided Optimization (PGO).
6761967828 coterm_read: Read terminal recordings.
@@ -74215,6 +74424,119 @@ paths:
7421574424 operator: OR
7421674425 permissions:
7421774426 - security_monitoring_filters_write
74427+ /api/v2/code-coverage/branch/summary:
74428+ post:
74429+ description: 'Retrieve aggregated code coverage statistics for a specific branch
74430+ in a repository.
74431+
74432+ This endpoint provides overall coverage metrics as well as breakdowns by service
74433+
74434+ and code owner.
74435+
74436+
74437+ **Note**: This endpoint requires the `code_coverage_read` permission.'
74438+ operationId: GetCodeCoverageBranchSummary
74439+ requestBody:
74440+ content:
74441+ application/json:
74442+ schema:
74443+ $ref: '#/components/schemas/BranchCoverageSummaryRequest'
74444+ required: true
74445+ responses:
74446+ '200':
74447+ content:
74448+ application/json:
74449+ schema:
74450+ $ref: '#/components/schemas/CoverageSummaryResponse'
74451+ description: OK
74452+ '400':
74453+ $ref: '#/components/responses/BadRequestResponse'
74454+ '403':
74455+ $ref: '#/components/responses/NotAuthorizedResponse'
74456+ '404':
74457+ $ref: '#/components/responses/NotFoundResponse'
74458+ '429':
74459+ $ref: '#/components/responses/TooManyRequestsResponse'
74460+ '500':
74461+ content:
74462+ application/json:
74463+ schema:
74464+ $ref: '#/components/schemas/APIErrorResponse'
74465+ description: Internal server error
74466+ security:
74467+ - apiKeyAuth: []
74468+ appKeyAuth: []
74469+ - AuthZ:
74470+ - code_coverage_read
74471+ summary: Get code coverage summary for a branch
74472+ tags:
74473+ - Code Coverage
74474+ x-codegen-request-body-name: body
74475+ x-permission:
74476+ operator: OR
74477+ permissions:
74478+ - code_coverage_read
74479+ x-unstable: '**Note**: This endpoint is in preview and may be subject to change.
74480+
74481+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
74482+ /api/v2/code-coverage/commit/summary:
74483+ post:
74484+ description: 'Retrieve aggregated code coverage statistics for a specific commit
74485+ in a repository.
74486+
74487+ This endpoint provides overall coverage metrics as well as breakdowns by service
74488+
74489+ and code owner.
74490+
74491+
74492+ The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
74493+
74494+
74495+ **Note**: This endpoint requires the `code_coverage_read` permission.'
74496+ operationId: GetCodeCoverageCommitSummary
74497+ requestBody:
74498+ content:
74499+ application/json:
74500+ schema:
74501+ $ref: '#/components/schemas/CommitCoverageSummaryRequest'
74502+ required: true
74503+ responses:
74504+ '200':
74505+ content:
74506+ application/json:
74507+ schema:
74508+ $ref: '#/components/schemas/CoverageSummaryResponse'
74509+ description: OK
74510+ '400':
74511+ $ref: '#/components/responses/BadRequestResponse'
74512+ '403':
74513+ $ref: '#/components/responses/NotAuthorizedResponse'
74514+ '404':
74515+ $ref: '#/components/responses/NotFoundResponse'
74516+ '429':
74517+ $ref: '#/components/responses/TooManyRequestsResponse'
74518+ '500':
74519+ content:
74520+ application/json:
74521+ schema:
74522+ $ref: '#/components/schemas/APIErrorResponse'
74523+ description: Internal server error
74524+ security:
74525+ - apiKeyAuth: []
74526+ appKeyAuth: []
74527+ - AuthZ:
74528+ - code_coverage_read
74529+ summary: Get code coverage summary for a commit
74530+ tags:
74531+ - Code Coverage
74532+ x-codegen-request-body-name: body
74533+ x-permission:
74534+ operator: OR
74535+ permissions:
74536+ - code_coverage_read
74537+ x-unstable: '**Note**: This endpoint is in preview and may be subject to change.
74538+
74539+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
7421874540 /api/v2/container_images:
7421974541 get:
7422074542 description: 'Get all Container Images for your organization.
@@ -103493,6 +103815,9 @@ tags:
103493103815 API. See the [Cloudflare integration page](https://docs.datadoghq.com/integrations/cloudflare/)
103494103816 for more information.
103495103817 name: Cloudflare Integration
103818+ - description: Retrieve and analyze code coverage data from Code Coverage. See the
103819+ [Code Coverage page](https://docs.datadoghq.com/code_coverage/) for more information.
103820+ name: Code Coverage
103496103821- description: Manage your Datadog Confluent Cloud integration accounts and account
103497103822 resources directly through the Datadog API. See the [Confluent Cloud page](https://docs.datadoghq.com/integrations/confluent_cloud/)
103498103823 for more information.
0 commit comments