bff for callbacks
This commit is contained in:
67
interface/models/callback/callback.yaml
Normal file
67
interface/models/callback/callback.yaml
Normal file
@@ -0,0 +1,67 @@
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user