@@ -65766,6 +65766,240 @@ components:
6576665766 required:
6576765767 - data
6576865768 type: object
65769+ TestOptimizationDeleteServiceSettingsRequest:
65770+ description: Request object for deleting Test Optimization service settings.
65771+ properties:
65772+ data:
65773+ $ref: "#/components/schemas/TestOptimizationDeleteServiceSettingsRequestData"
65774+ required:
65775+ - data
65776+ type: object
65777+ TestOptimizationDeleteServiceSettingsRequestAttributes:
65778+ description: Attributes for deleting Test Optimization service settings.
65779+ properties:
65780+ env:
65781+ description: The environment name. If omitted, defaults to `none`.
65782+ example: prod
65783+ type: string
65784+ repository_id:
65785+ description: The repository identifier.
65786+ example: github.com/datadog/shopist
65787+ minLength: 1
65788+ type: string
65789+ service_name:
65790+ description: The service name.
65791+ example: shopist
65792+ minLength: 1
65793+ type: string
65794+ required:
65795+ - repository_id
65796+ - service_name
65797+ type: object
65798+ TestOptimizationDeleteServiceSettingsRequestData:
65799+ description: Data object for delete service settings request.
65800+ properties:
65801+ attributes:
65802+ $ref: "#/components/schemas/TestOptimizationDeleteServiceSettingsRequestAttributes"
65803+ type:
65804+ $ref: "#/components/schemas/TestOptimizationDeleteServiceSettingsRequestDataType"
65805+ required:
65806+ - type
65807+ - attributes
65808+ type: object
65809+ TestOptimizationDeleteServiceSettingsRequestDataType:
65810+ description: JSON:API type for delete service settings request. The value must always be `test_optimization_delete_service_settings_request`.
65811+ enum:
65812+ - test_optimization_delete_service_settings_request
65813+ example: test_optimization_delete_service_settings_request
65814+ type: string
65815+ x-enum-varnames:
65816+ - TEST_OPTIMIZATION_DELETE_SERVICE_SETTINGS_REQUEST
65817+ TestOptimizationGetServiceSettingsRequest:
65818+ description: Request object for getting Test Optimization service settings.
65819+ properties:
65820+ data:
65821+ $ref: "#/components/schemas/TestOptimizationGetServiceSettingsRequestData"
65822+ required:
65823+ - data
65824+ type: object
65825+ TestOptimizationGetServiceSettingsRequestAttributes:
65826+ description: Attributes for requesting Test Optimization service settings.
65827+ properties:
65828+ env:
65829+ description: The environment name. If omitted, defaults to `none`.
65830+ example: prod
65831+ type: string
65832+ repository_id:
65833+ description: The repository identifier.
65834+ example: github.com/datadog/shopist
65835+ minLength: 1
65836+ type: string
65837+ service_name:
65838+ description: The service name.
65839+ example: shopist
65840+ minLength: 1
65841+ type: string
65842+ required:
65843+ - repository_id
65844+ - service_name
65845+ type: object
65846+ TestOptimizationGetServiceSettingsRequestData:
65847+ description: Data object for get service settings request.
65848+ properties:
65849+ attributes:
65850+ $ref: "#/components/schemas/TestOptimizationGetServiceSettingsRequestAttributes"
65851+ type:
65852+ $ref: "#/components/schemas/TestOptimizationGetServiceSettingsRequestDataType"
65853+ required:
65854+ - type
65855+ - attributes
65856+ type: object
65857+ TestOptimizationGetServiceSettingsRequestDataType:
65858+ description: JSON:API type for get service settings request. The value must always be `test_optimization_get_service_settings_request`.
65859+ enum:
65860+ - test_optimization_get_service_settings_request
65861+ example: test_optimization_get_service_settings_request
65862+ type: string
65863+ x-enum-varnames:
65864+ - TEST_OPTIMIZATION_GET_SERVICE_SETTINGS_REQUEST
65865+ TestOptimizationServiceSettingsAttributes:
65866+ description: Attributes for Test Optimization service settings.
65867+ properties:
65868+ auto_test_retries_enabled:
65869+ description: Whether Auto Test Retries are enabled for this service.
65870+ example: false
65871+ type: boolean
65872+ code_coverage_enabled:
65873+ description: Whether Code Coverage is enabled for this service.
65874+ example: false
65875+ type: boolean
65876+ early_flake_detection_enabled:
65877+ description: Whether Early Flake Detection is enabled for this service.
65878+ example: false
65879+ type: boolean
65880+ env:
65881+ description: The environment name.
65882+ example: prod
65883+ type: string
65884+ failed_test_replay_enabled:
65885+ description: Whether Failed Test Replay is enabled for this service.
65886+ example: false
65887+ type: boolean
65888+ pr_comments_enabled:
65889+ description: Whether PR Comments are enabled for this service.
65890+ example: true
65891+ type: boolean
65892+ repository_id:
65893+ description: The repository identifier.
65894+ example: github.com/datadog/shopist
65895+ type: string
65896+ service_name:
65897+ description: The service name.
65898+ example: shopist
65899+ type: string
65900+ test_impact_analysis_enabled:
65901+ description: Whether Test Impact Analysis is enabled for this service.
65902+ example: false
65903+ type: boolean
65904+ type: object
65905+ TestOptimizationServiceSettingsData:
65906+ description: Data object for Test Optimization service settings response.
65907+ properties:
65908+ attributes:
65909+ $ref: "#/components/schemas/TestOptimizationServiceSettingsAttributes"
65910+ id:
65911+ description: Unique identifier for the service settings.
65912+ example: github.com/datadog/shopist::shopist::prod
65913+ type: string
65914+ type:
65915+ $ref: "#/components/schemas/TestOptimizationServiceSettingsType"
65916+ type: object
65917+ TestOptimizationServiceSettingsResponse:
65918+ description: Response object containing Test Optimization service settings.
65919+ properties:
65920+ data:
65921+ $ref: "#/components/schemas/TestOptimizationServiceSettingsData"
65922+ type: object
65923+ TestOptimizationServiceSettingsType:
65924+ description: JSON:API type for service settings response. The value must always be `test_optimization_service_settings`.
65925+ enum:
65926+ - test_optimization_service_settings
65927+ example: test_optimization_service_settings
65928+ type: string
65929+ x-enum-varnames:
65930+ - TEST_OPTIMIZATION_SERVICE_SETTINGS
65931+ TestOptimizationUpdateServiceSettingsRequest:
65932+ description: Request object for updating Test Optimization service settings.
65933+ properties:
65934+ data:
65935+ $ref: "#/components/schemas/TestOptimizationUpdateServiceSettingsRequestData"
65936+ required:
65937+ - data
65938+ type: object
65939+ TestOptimizationUpdateServiceSettingsRequestAttributes:
65940+ description: Attributes for updating Test Optimization service settings. All non-required fields are optional; only provided fields will be updated.
65941+ properties:
65942+ auto_test_retries_enabled:
65943+ description: Whether Auto Test Retries are enabled for this service.
65944+ example: false
65945+ type: boolean
65946+ code_coverage_enabled:
65947+ description: Whether Code Coverage is enabled for this service.
65948+ example: false
65949+ type: boolean
65950+ early_flake_detection_enabled:
65951+ description: Whether Early Flake Detection is enabled for this service.
65952+ example: false
65953+ type: boolean
65954+ env:
65955+ description: The environment name. If omitted, defaults to `none`.
65956+ example: prod
65957+ type: string
65958+ failed_test_replay_enabled:
65959+ description: Whether Failed Test Replay is enabled for this service.
65960+ example: false
65961+ type: boolean
65962+ pr_comments_enabled:
65963+ description: Whether PR Comments are enabled for this service.
65964+ example: true
65965+ type: boolean
65966+ repository_id:
65967+ description: The repository identifier.
65968+ example: github.com/datadog/shopist
65969+ minLength: 1
65970+ type: string
65971+ service_name:
65972+ description: The service name.
65973+ example: shopist
65974+ minLength: 1
65975+ type: string
65976+ test_impact_analysis_enabled:
65977+ description: Whether Test Impact Analysis is enabled for this service.
65978+ example: false
65979+ type: boolean
65980+ required:
65981+ - repository_id
65982+ - service_name
65983+ type: object
65984+ TestOptimizationUpdateServiceSettingsRequestData:
65985+ description: Data object for update service settings request.
65986+ properties:
65987+ attributes:
65988+ $ref: "#/components/schemas/TestOptimizationUpdateServiceSettingsRequestAttributes"
65989+ type:
65990+ $ref: "#/components/schemas/TestOptimizationUpdateServiceSettingsRequestDataType"
65991+ required:
65992+ - type
65993+ - attributes
65994+ type: object
65995+ TestOptimizationUpdateServiceSettingsRequestDataType:
65996+ description: JSON:API type for update service settings request. The value must always be `test_optimization_update_service_settings_request`.
65997+ enum:
65998+ - test_optimization_update_service_settings_request
65999+ example: test_optimization_update_service_settings_request
66000+ type: string
66001+ x-enum-varnames:
66002+ - TEST_OPTIMIZATION_UPDATE_SERVICE_SETTINGS_REQUEST
6576966003 ThreatHuntingJobDataType:
6577066004 description: Type of payload.
6577166005 enum:
@@ -69561,6 +69795,7 @@ components:
6956169795 teams_manage: Manage Teams. Create, delete, rename, and edit metadata of all Teams. To control Team membership across all Teams, use the User Access Manage permission.
6956269796 teams_read: Read Teams data. A User with this permission can view Team names, metadata, and which Users are on each Team.
6956369797 test_optimization_read: View Test Optimization.
69798+ test_optimization_settings_write: Update service settings in Test Optimization.
6956469799 test_optimization_write: Update flaky tests from Flaky Tests Management of Test Optimization.
6956569800 timeseries_query: Query Timeseries data.
6956669801 usage_read: View your organization's usage and usage attribution.
@@ -75808,6 +76043,124 @@ paths:
7580876043 operator: OR
7580976044 permissions:
7581076045 - ci_visibility_read
76046+ /api/v2/ci/test-optimization/settings/service:
76047+ delete:
76048+ description: |-
76049+ Delete Test Optimization settings for a specific service identified by repository, service name, and environment.
76050+ operationId: DeleteTestOptimizationServiceSettings
76051+ requestBody:
76052+ content:
76053+ application/json:
76054+ schema:
76055+ $ref: "#/components/schemas/TestOptimizationDeleteServiceSettingsRequest"
76056+ required: true
76057+ responses:
76058+ "204":
76059+ description: No Content
76060+ "400":
76061+ $ref: "#/components/responses/BadRequestResponse"
76062+ "403":
76063+ $ref: "#/components/responses/NotAuthorizedResponse"
76064+ "404":
76065+ $ref: "#/components/responses/NotFoundResponse"
76066+ "429":
76067+ $ref: "#/components/responses/TooManyRequestsResponse"
76068+ security:
76069+ - apiKeyAuth: []
76070+ appKeyAuth: []
76071+ - AuthZ:
76072+ - test_optimization_settings_write
76073+ summary: Delete Test Optimization service settings
76074+ tags: ["Test Optimization"]
76075+ x-codegen-request-body-name: body
76076+ x-permission:
76077+ operator: OR
76078+ permissions:
76079+ - test_optimization_settings_write
76080+ x-unstable: |-
76081+ **Note**: This endpoint is in preview and may be subject to change.
76082+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
76083+ patch:
76084+ description: |-
76085+ Partially update Test Optimization settings for a specific service identified by repository, service name, and environment.
76086+ Only provided fields are updated; null or omitted fields are left unchanged.
76087+ operationId: UpdateTestOptimizationServiceSettings
76088+ requestBody:
76089+ content:
76090+ application/json:
76091+ schema:
76092+ $ref: "#/components/schemas/TestOptimizationUpdateServiceSettingsRequest"
76093+ required: true
76094+ responses:
76095+ "200":
76096+ content:
76097+ application/json:
76098+ schema:
76099+ $ref: "#/components/schemas/TestOptimizationServiceSettingsResponse"
76100+ description: OK
76101+ "400":
76102+ $ref: "#/components/responses/BadRequestResponse"
76103+ "403":
76104+ $ref: "#/components/responses/NotAuthorizedResponse"
76105+ "404":
76106+ $ref: "#/components/responses/NotFoundResponse"
76107+ "429":
76108+ $ref: "#/components/responses/TooManyRequestsResponse"
76109+ security:
76110+ - apiKeyAuth: []
76111+ appKeyAuth: []
76112+ - AuthZ:
76113+ - test_optimization_settings_write
76114+ summary: Update Test Optimization service settings
76115+ tags: ["Test Optimization"]
76116+ x-codegen-request-body-name: body
76117+ x-permission:
76118+ operator: OR
76119+ permissions:
76120+ - test_optimization_settings_write
76121+ x-unstable: |-
76122+ **Note**: This endpoint is in preview and may be subject to change.
76123+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
76124+ post:
76125+ description: |-
76126+ Retrieve Test Optimization settings for a specific service identified by repository, service name, and environment.
76127+ operationId: GetTestOptimizationServiceSettings
76128+ requestBody:
76129+ content:
76130+ application/json:
76131+ schema:
76132+ $ref: "#/components/schemas/TestOptimizationGetServiceSettingsRequest"
76133+ required: true
76134+ responses:
76135+ "200":
76136+ content:
76137+ application/json:
76138+ schema:
76139+ $ref: "#/components/schemas/TestOptimizationServiceSettingsResponse"
76140+ description: OK
76141+ "400":
76142+ $ref: "#/components/responses/BadRequestResponse"
76143+ "403":
76144+ $ref: "#/components/responses/NotAuthorizedResponse"
76145+ "404":
76146+ $ref: "#/components/responses/NotFoundResponse"
76147+ "429":
76148+ $ref: "#/components/responses/TooManyRequestsResponse"
76149+ security:
76150+ - apiKeyAuth: []
76151+ appKeyAuth: []
76152+ - AuthZ:
76153+ - test_optimization_read
76154+ summary: Get Test Optimization service settings
76155+ tags: ["Test Optimization"]
76156+ x-codegen-request-body-name: body
76157+ x-permission:
76158+ operator: OR
76159+ permissions:
76160+ - test_optimization_read
76161+ x-unstable: |-
76162+ **Note**: This endpoint is in preview and may be subject to change.
76163+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
7581176164 /api/v2/ci/tests/analytics/aggregate:
7581276165 post:
7581376166 description: |-
0 commit comments