101 lines
2.2 KiB
YAML
101 lines
2.2 KiB
YAML
get:
|
|
tags:
|
|
- Landing pages
|
|
security:
|
|
- ApiKeyAuth: []
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
description: Landing Page ID
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
summary: Get Landing Page
|
|
description: Get a Landing Page
|
|
responses:
|
|
'200':
|
|
description: Landing Page
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/Landing.yaml
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'404':
|
|
$ref: ../responses/NotFound.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|
|
put:
|
|
tags:
|
|
- Landing pages
|
|
security:
|
|
- ApiKeyAuth: []
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
description: Landing Page ID
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
summary: Update Landing Page
|
|
description: Update a Landing Page
|
|
requestBody:
|
|
description: Update a Landing Page
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/LandingRequest.yaml
|
|
responses:
|
|
'200':
|
|
description: Update a Landing Page
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/Landing.yaml
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'404':
|
|
$ref: ../responses/NotFound.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|
|
delete:
|
|
tags:
|
|
- Landing pages
|
|
security:
|
|
- ApiKeyAuth: []
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
description: Landing Page ID
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
summary: Archive Landing Page
|
|
description: Archive a Landing Page
|
|
responses:
|
|
'200':
|
|
description: Landing Page
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: ../schemas/Landing.yaml
|
|
'400':
|
|
$ref: ../responses/BadRequest.yaml
|
|
'401':
|
|
$ref: ../responses/Unauthorized.yaml
|
|
'402':
|
|
$ref: ../responses/PaymentRequired.yaml
|
|
'404':
|
|
$ref: ../responses/NotFound.yaml
|
|
'500':
|
|
$ref: ../responses/InternalError.yaml
|