Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: File manager Downloading API
description: A simple file manager for uploading and downloading files.
version: 0.0.1
contact:
name: TARDIS
email: tardis@nop.telekom.de
url: https://developer.telekom.de/
license:
name: Apache 2.0
x-api-category: TARDIS
servers:
- url: https://locahost:8080
description: For local development
security:
- bearerAuth: []
tags:
- name: downloading
description: An endpoint to download existing files
paths:
/v1/files/{fileId}:
get:
operationId: downloadFile
summary: Download a file
description: Retrieves a file from the server with the specified Id. The id should follow the convention.
tags:
- downloading
parameters:
- name: fileId
in: path
description: Id of the file, should follow the convention <env>--<group>--<team>--<fileName>
required: true
schema:
type: string
security:
- bearerAuth: []
responses:
'200':
$ref: '#/components/responses/FileDownloadResponse'
'400':
$ref: '#/components/responses/ErrorResponse'
'500':
$ref: '#/components/responses/ErrorResponse'
components:
responses:
ErrorResponse:
description: In case of any error, this object is returned
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ApiProblem'
FileDownloadResponse:
description: Successful download of a file with the specified id. Responds with the file contents.
headers:
X-File-Content-Type:
description: Content type of the file as stored in metadata
schema:
type: string
X-File-Checksum:
description: Checksum of the file as stored in metadata
schema:
type: string
content:
application/octet-stream:
schema:
type: string
format: binary
schemas:
ApiProblem:
description: Based on https://www.rfc-editor.org/rfc/rfc9457.html
type: object
required:
- type
- status
- title
- detail
properties:
type:
type: string
status:
type: integer
title:
type: string
detail:
type: string
instance:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT Bearer token authentication