Skip to main content

Create a File

POST/files/
v2
POST
file-create-file

Request

Responses

application/json

Created

  • friendlyURLstring
    required

    deprecated, see friendlyUrl

  • friendlyUrlstring
    required
  • idstring (uuid)
    required
  • mimeTypestring
    required
  • namestring
    required
  • sizeInBytesinteger
    required
  • typestring
    required

    deprecated, see mimeType

Usage examples

$ curl \
--fail \
--location \
-X POST \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/files