59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
get:
|
|
tags:
|
|
- Third-party integrations
|
|
security:
|
|
- ApiKeyAuth: []
|
|
summary: Get Facebook integrations
|
|
description: Returns list of Facebook integrations
|
|
responses:
|
|
'200':
|
|
description: List of Facebook integrations
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
data:
|
|
type: array
|
|
items:
|
|
$ref: ../schemas/Facebook.yaml
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|
|
post:
|
|
tags:
|
|
- Third-party integrations
|
|
security:
|
|
- ApiKeyAuth: []
|
|
summary: Create Facebook Integration
|
|
description: Creates Facebook integration.
|
|
requestBody:
|
|
description: Integration details.
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/FacebookRequest.yaml
|
|
responses:
|
|
'200':
|
|
description: Integration details.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/Facebook.yaml
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'406':
|
|
$ref: ../responses/NotAcceptable.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|