68 lines
1.6 KiB
YAML
68 lines
1.6 KiB
YAML
components:
|
|
schemas:
|
|
CallbackRetryPolicy:
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- minDelayMs
|
|
- maxDelayMs
|
|
- signingMode
|
|
- maxAttempts
|
|
- requestTimeoutMs
|
|
properties:
|
|
minDelayMs:
|
|
type: integer
|
|
minimum: 1
|
|
maxDelayMs:
|
|
type: integer
|
|
minimum: 1
|
|
signingMode:
|
|
type: string
|
|
enum:
|
|
- none
|
|
- hmac_sha256
|
|
secretRef:
|
|
type: string
|
|
nullable: true
|
|
headers:
|
|
type: object
|
|
additionalProperties:
|
|
type: string
|
|
maxAttempts:
|
|
type: integer
|
|
minimum: 1
|
|
requestTimeoutMs:
|
|
type: integer
|
|
minimum: 1
|
|
|
|
Callback:
|
|
allOf:
|
|
- $ref: ../permission_bound.yaml#/components/schemas/PermissionBound
|
|
- $ref: ../common/describable.yaml#/components/schemas/Describable
|
|
- type: object
|
|
additionalProperties: false
|
|
required:
|
|
- clientId
|
|
- status
|
|
- url
|
|
- eventTypes
|
|
- retryPolicy
|
|
properties:
|
|
clientId:
|
|
type: string
|
|
status:
|
|
type: string
|
|
enum:
|
|
- active
|
|
- disabled
|
|
url:
|
|
type: string
|
|
format: uri
|
|
eventTypes:
|
|
type: array
|
|
items:
|
|
type: string
|
|
retryPolicy:
|
|
$ref: '#/components/schemas/CallbackRetryPolicy'
|
|
|