43 lines
970 B
YAML
43 lines
970 B
YAML
get:
|
|
tags:
|
|
- Landing pages
|
|
security:
|
|
- ApiKeyAuth: []
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
description: Landing Page ID
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
- name: path
|
|
in: query
|
|
description: File path. It must be relative, i.e. `order/success.html`.
|
|
required: true
|
|
schema:
|
|
type: string
|
|
summary: Read File
|
|
description: Read the Content of the File
|
|
responses:
|
|
'200':
|
|
description: File Content
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
data:
|
|
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
|