mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 12:27:48 +00:00
* added new oauth2 flow and description * renamed authentication to make more sense' by github action: 5967546682
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
post:
|
|
tags:
|
|
- Connector Rule Management
|
|
operationId: validateConnectorRule
|
|
summary: Validate Connector Rule
|
|
description: >-
|
|
Returns a list of issues within the code to fix, if any.
|
|
|
|
A token with ORG_ADMIN authority is required to call this API.
|
|
|
|
requestBody:
|
|
required: true
|
|
description: The code to validate
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/SourceCode.yaml'
|
|
responses:
|
|
'200':
|
|
description: The status of the code's eligibility as a connector rule
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../schemas/ConnectorRuleValidationResponse.yaml'
|
|
'400':
|
|
$ref: '../../v3/responses/400.yaml'
|
|
'401':
|
|
$ref: '../../v3/responses/401.yaml'
|
|
'403':
|
|
$ref: '../../v3/responses/403.yaml'
|
|
'429':
|
|
$ref: '../../v3/responses/429.yaml'
|
|
'500':
|
|
$ref: '../../v3/responses/500.yaml'
|
|
security:
|
|
- UserContextAuth: [idn:rule-management-connector:read, idn:rule-management-connector:manage]
|