keitaro-api-skill/references/paths/landing_pages_id_add_file.yaml

43 lines
957 B
YAML

post:
tags:
- Landing pages
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
description: Landing Page ID
required: true
schema:
type: integer
- name: path
in: query
description: Path to the File
required: true
schema:
type: string
summary: Create a File
description: Create a Local Landing Page File
responses:
'200':
description: Create a Local Landing Page File
content:
application/json:
schema:
type: object
properties:
path:
type: string
'400':
$ref: ../responses/BadRequest.yaml
'401':
$ref: ../responses/Unauthorized.yaml
'402':
$ref: ../responses/PaymentRequired.yaml
'404':
$ref: ../responses/NotFound.yaml
'406':
$ref: ../responses/NotAcceptable.yaml
'500':
$ref: ../responses/InternalError.yaml