@@ -17075,6 +17075,12 @@ components:
1707517075 required:
1707617076 - id
1707717077 type: object
17078+ DeploymentGateRulesResponse:
17079+ description: Response for a deployment gate rules.
17080+ properties:
17081+ data:
17082+ $ref: '#/components/schemas/ListDeploymentRuleResponseData'
17083+ type: object
1707817084 DeploymentMetadata:
1707917085 description: Metadata object containing the publication creation information.
1708017086 properties:
@@ -30199,6 +30205,37 @@ components:
3019930205 type: string
3020030206 x-enum-varnames:
3020130207 - LIST_CONNECTIONS_RESPONSE
30208+ ListDeploymentRuleResponseData:
30209+ description: Data for a list of deployment rules.
30210+ properties:
30211+ attributes:
30212+ $ref: '#/components/schemas/ListDeploymentRulesResponseDataAttributes'
30213+ id:
30214+ description: Unique identifier of the deployment rule.
30215+ example: 1111-2222-3333-4444-555566667777
30216+ type: string
30217+ type:
30218+ $ref: '#/components/schemas/ListDeploymentRulesDataType'
30219+ required:
30220+ - type
30221+ - attributes
30222+ - id
30223+ type: object
30224+ ListDeploymentRulesDataType:
30225+ description: List deployment rule resource type.
30226+ enum:
30227+ - list_deployment_rules
30228+ example: list_deployment_rules
30229+ type: string
30230+ x-enum-varnames:
30231+ - LIST_DEPLOYMENT_RULES
30232+ ListDeploymentRulesResponseDataAttributes:
30233+ properties:
30234+ rules:
30235+ items:
30236+ $ref: '#/components/schemas/DeploymentRuleResponseDataAttributes'
30237+ type: array
30238+ type: object
3020230239 ListDevicesResponse:
3020330240 description: List devices response.
3020430241 properties:
@@ -66236,6 +66273,50 @@ paths:
6623666273
6623766274 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6623866275 /api/v2/deployment_gates/{gate_id}/rules:
66276+ get:
66277+ description: Endpoint to get rules for a deployment gate.
66278+ operationId: GetDeploymentGateRules
66279+ parameters:
66280+ - description: The ID of the deployment gate.
66281+ in: path
66282+ name: gate_id
66283+ required: true
66284+ schema:
66285+ type: string
66286+ responses:
66287+ '200':
66288+ content:
66289+ application/json:
66290+ schema:
66291+ $ref: '#/components/schemas/DeploymentGateRulesResponse'
66292+ description: OK
66293+ '400':
66294+ $ref: '#/components/responses/HTTPCDGatesBadRequestResponse'
66295+ '401':
66296+ $ref: '#/components/responses/UnauthorizedResponse'
66297+ '403':
66298+ $ref: '#/components/responses/ForbiddenResponse'
66299+ '429':
66300+ $ref: '#/components/responses/TooManyRequestsResponse'
66301+ '500':
66302+ content:
66303+ application/json:
66304+ schema:
66305+ $ref: '#/components/schemas/HTTPCIAppErrors'
66306+ description: Internal Server Error
66307+ security:
66308+ - apiKeyAuth: []
66309+ appKeyAuth: []
66310+ summary: Get rules for a deployment gate
66311+ tags:
66312+ - Deployment Gates
66313+ x-permission:
66314+ operator: OR
66315+ permissions:
66316+ - deployment_gates_read
66317+ x-unstable: '**Note**: This endpoint is in preview and may be subject to change.
66318+
66319+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
6623966320 post:
6624066321 description: Endpoint to create a deployment rule. A gate for the rule must
6624166322 already exist.
0 commit comments