-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George J Padayatti <[email protected]>
- Loading branch information
1 parent
2b2f9aa
commit ea2b539
Showing
16 changed files
with
1,240 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
required: | ||
- payloadUrl | ||
- contentType | ||
- subscribedEvents | ||
- disabled | ||
- secretKey | ||
- skipSslVerification | ||
- timestamp | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
orgId: | ||
type: string | ||
payloadUrl: | ||
type: string | ||
contentType: | ||
type: string | ||
subscribedEvents: | ||
type: array | ||
items: | ||
type: string | ||
disabled: | ||
type: boolean | ||
secretKey: | ||
type: string | ||
skipSslVerification: | ||
type: boolean | ||
timestamp: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
type: string | ||
title: WebhookEventType | ||
enum: | ||
- data.update.initiated | ||
- data.update.cancelled | ||
- consent.allowed | ||
- consent.disallowed | ||
- consent.auto_expiry | ||
- org.unsubscribed | ||
- data.delete.initiated | ||
- data.download.initiated | ||
- data.delete.cancelled | ||
- data.download.cancelled | ||
- org.subscribed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
operationId: configCreateWebhook | ||
summary: CREATE - Create webhook | ||
description: Create webhook | ||
tags: | ||
- config | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../definitions/Webhook.yaml" | ||
required: true | ||
responses: | ||
"201": | ||
description: Created | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../definitions/Webhook.yaml" | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
operationId: configDeleteWebhook | ||
summary: DELETE - Delete webhook | ||
description: Delete webhook | ||
tags: | ||
- config | ||
parameters: | ||
- name: webhookId | ||
in: path | ||
required: true | ||
style: simple | ||
schema: | ||
type: string | ||
responses: | ||
"204": | ||
description: No Content | ||
content: {} | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |
51 changes: 51 additions & 0 deletions
51
openapi/v2023.8.2/paths/configListAllRecentWebhookDeliveries.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
operationId: configListAllRecentWebhookDeliveries | ||
summary: Get recent webhook deliveries | ||
description: Get recent webhook deliveries | ||
tags: | ||
- config | ||
parameters: | ||
- name: webhookId | ||
in: path | ||
required: true | ||
style: simple | ||
schema: | ||
type: string | ||
- $ref: "../parameters/offset.yaml" | ||
- $ref: "../parameters/limit.yaml" | ||
- $ref: "../parameters/page.yaml" | ||
responses: | ||
"200": | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
required: | ||
- webhookDeliveries | ||
- pagination | ||
type: object | ||
properties: | ||
webhookDeliveries: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
webhookId: | ||
type: string | ||
responseStatusCode: | ||
type: integer | ||
format: int32 | ||
responseStatusStr: | ||
type: string | ||
timestamp: | ||
type: string | ||
status: | ||
type: string | ||
statusDescription: | ||
type: string | ||
pagination: | ||
$ref: "../definitions/Pagination.yaml" | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
operationId: configListWebhooks | ||
summary: Get all webhooks for an organisation | ||
description: Get all webhooks for an organisation | ||
tags: | ||
- config | ||
responses: | ||
"200": | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
required: | ||
- ID | ||
- PayloadURL | ||
- Disabled | ||
- TimeStamp | ||
- IsLastDeliverySuccess | ||
type: object | ||
properties: | ||
ID: | ||
type: string | ||
PayloadURL: | ||
type: string | ||
Disabled: | ||
type: boolean | ||
TimeStamp: | ||
type: string | ||
IsLastDeliverySuccess: | ||
type: boolean | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
operationId: configPingWebhook | ||
summary: Ping webhook | ||
description: Ping webhook | ||
tags: | ||
- config | ||
parameters: | ||
- name: webhookId | ||
in: path | ||
required: true | ||
style: simple | ||
schema: | ||
type: string | ||
responses: | ||
"200": | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
required: | ||
- ResponseStatusCode | ||
- ResponseStatusStr | ||
- ExecutionStartTimeStamp | ||
- ExecutionEndTimeStamp | ||
- Status | ||
- StatusDescription | ||
type: object | ||
properties: | ||
ResponseStatusCode: | ||
type: integer | ||
format: int32 | ||
ResponseStatusStr: | ||
type: string | ||
ExecutionStartTimeStamp: | ||
type: string | ||
ExecutionEndTimeStamp: | ||
type: string | ||
Status: | ||
type: string | ||
StatusDescription: | ||
type: string | ||
deprecated: false | ||
security: | ||
- BearerAuth: [] |
Oops, something went wrong.