-
Notifications
You must be signed in to change notification settings - Fork 0
/
lexoffice.yml
31 lines (31 loc) · 918 Bytes
/
lexoffice.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
swagger: '2.0'
info: {title: lexoffice API, description: 'lexoffice API https://developers.lexoffice.io/',
version: '1.0'}
host: api.lexoffice.io
basePath: /v1/
schemes: [https]
consumes: []
produces: []
paths:
/files:
post:
responses:
default: {description: default}
summary: Upload a file
operationId: FileUpload
description: https://developers.lexoffice.io/docs/#files-endpoint-upload-a-file
consumes: [multipart/form-data]
produces: [application/json]
parameters:
- {name: type, type: string, default: voucher, description: document type, required: true,
in: formData}
- {name: file, in: formData, required: true, type: file, x-ms-summary: File
Content}
definitions: {}
parameters: {}
responses: {}
securityDefinitions:
API-Schlüssel: {type: apiKey, in: header, name: Authorization}
tags: []
security:
- API-Schlüssel: []