Zum Hauptinhalt springen

Get a File's meta

GET /v2/files/{fileId}/meta/
v2
GET
file-get-file-meta

Request

  • fileIdstring (uuid)
    required

    ID of the File to get the meta for.

Responses

application/json

OK

  • 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 \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/files/3fa85f64-5717-4562-b3fc-2c963f66afa6/meta?token=jwt