chore: Move agent availability to Account level (#3074)
- Move agent availability to the account level
This commit is contained in:
17
swagger/paths/application/integrations/apps/show.yml
Normal file
17
swagger/paths/application/integrations/apps/show.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
tags:
|
||||
- Integrations
|
||||
operationId: get-details-of-all-integrations
|
||||
summary: List all the Integrations
|
||||
description: Get the details of all Integrations available for the account
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
type: array
|
||||
description: 'Array of Integration apps'
|
||||
items:
|
||||
$ref: '#/definitions/integrations_app'
|
||||
401:
|
||||
description: Unauthorized
|
||||
404:
|
||||
description: Url not found
|
||||
19
swagger/paths/application/integrations/hooks/create.yml
Normal file
19
swagger/paths/application/integrations/hooks/create.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
tags:
|
||||
- Integrations
|
||||
operationId: create-an-integration-hook
|
||||
summary: Create an integration hook
|
||||
description: Create an integration hook
|
||||
parameters:
|
||||
- $ref: '#/parameters/account_id'
|
||||
- name: data
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/integrations_hook_create_payload'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/integrations_hook'
|
||||
401:
|
||||
description: Unauthorized
|
||||
15
swagger/paths/application/integrations/hooks/delete.yml
Normal file
15
swagger/paths/application/integrations/hooks/delete.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
tags:
|
||||
- Integrations
|
||||
operationId: delete-an-integration-hook
|
||||
summary: Delete an Integration Hook
|
||||
description: Delete an Integration Hook
|
||||
parameters:
|
||||
- $ref: '#/parameters/account_id'
|
||||
- $ref: '#/parameters/hook_id'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
401:
|
||||
description: Unauthorized
|
||||
404:
|
||||
description: The hook does not exist in the account
|
||||
20
swagger/paths/application/integrations/hooks/update.yml
Normal file
20
swagger/paths/application/integrations/hooks/update.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
tags:
|
||||
- Integrations
|
||||
operationId: update-an-integrations-hook
|
||||
summary: Update an Integration Hook
|
||||
description: Update an Integration Hook
|
||||
parameters:
|
||||
- $ref: '#/parameters/account_id'
|
||||
- $ref: '#/parameters/hook_id'
|
||||
- name: data
|
||||
in: body
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/integrations_hook_update_payload'
|
||||
responses:
|
||||
200:
|
||||
description: Success
|
||||
schema:
|
||||
$ref: '#/definitions/integrations_hook'
|
||||
401:
|
||||
description: Unauthorized
|
||||
Reference in New Issue
Block a user