openapi: 3.1.0 info: title: Redmine REST Attachments Uploads.json API description: REST API for Redmine project management. Base URL is your Redmine instance URL. version: 1.0.0 servers: - url: https://{redmine_host} description: Redmine instance variables: redmine_host: default: redmine.example.com security: - apiKeyHeader: [] - apiKeyQuery: [] - basicAuth: [] tags: - name: Uploads.json paths: /uploads.json: post: summary: Upload file requestBody: required: true content: application/octet-stream: schema: type: string format: binary responses: '201': description: Upload token returned tags: - Uploads.json components: securitySchemes: apiKeyHeader: type: apiKey in: header name: X-Redmine-API-Key apiKeyQuery: type: apiKey in: query name: key basicAuth: type: http scheme: basic