Skip to content

Commit

Permalink
refactor(webhooks): crud and security
Browse files Browse the repository at this point in the history
  • Loading branch information
balzdur committed Jul 16, 2024
1 parent 0ecb98b commit dc495db
Show file tree
Hide file tree
Showing 11 changed files with 1,048 additions and 104 deletions.
22 changes: 12 additions & 10 deletions api-clients/convoy/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ components:
type: array
interval_seconds:
type: integer
max_retry_seconds:
type: integer
next_send_time:
type: string
num_trials:
Expand Down Expand Up @@ -1932,7 +1934,7 @@ paths:
required: true
x-originalParamName: endpoint
responses:
"200":
"202":
content:
application/json:
schema:
Expand All @@ -1942,7 +1944,7 @@ paths:
data:
$ref: "#/components/schemas/models.EndpointResponse"
type: object
description: OK
description: Accepted
"400":
content:
application/json:
Expand Down Expand Up @@ -2076,7 +2078,7 @@ paths:
schema:
type: string
responses:
"200":
"202":
content:
application/json:
schema:
Expand All @@ -2086,7 +2088,7 @@ paths:
data:
$ref: "#/components/schemas/models.EndpointResponse"
type: object
description: OK
description: Accepted
"400":
content:
application/json:
Expand Down Expand Up @@ -3930,7 +3932,7 @@ paths:
required: true
x-originalParamName: portallink
responses:
"200":
"202":
content:
application/json:
schema:
Expand All @@ -3940,7 +3942,7 @@ paths:
data:
$ref: "#/components/schemas/models.PortalLinkResponse"
type: object
description: OK
description: Accepted
"400":
content:
application/json:
Expand Down Expand Up @@ -4380,7 +4382,7 @@ paths:
required: true
x-originalParamName: source
responses:
"200":
"202":
content:
application/json:
schema:
Expand All @@ -4390,7 +4392,7 @@ paths:
data:
$ref: "#/components/schemas/models.SourceResponse"
type: object
description: OK
description: Accepted
"400":
content:
application/json:
Expand Down Expand Up @@ -4765,7 +4767,7 @@ paths:
required: true
x-originalParamName: subscription
responses:
"200":
"202":
content:
application/json:
schema:
Expand All @@ -4775,7 +4777,7 @@ paths:
data:
$ref: "#/components/schemas/models.SubscriptionResponse"
type: object
description: OK
description: Accepted
"400":
content:
application/json:
Expand Down
3 changes: 3 additions & 0 deletions api-clients/convoy/cfg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ output-options:
- CreateEndpointFanoutEvent
- CreateEndpoint
- CreateSubscription
- GetEndpoint
- GetEndpoints
- GetSubscriptions
- DeleteEndpoint
- UpdateEndpoint
- UpdateSubscription
Loading

0 comments on commit dc495db

Please sign in to comment.