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

43 lines
935 B
YAML

get:
tags:
- Offers
security:
- ApiKeyAuth: []
parameters:
- name: id
in: path
description: Offer ID
required: true
schema:
type: integer
- name: path
in: query
description: File path, 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