Zum Hauptinhalt springen

Get a Project directory filesystem usage

GET /v2/projects/{projectId}/filesystem-disk-usage/
v2
GET
project-file-system-get-disk-usage

Request

  • projectIdstring (uuid)
    required

    ID of the Project.

Responses

application/json

OK

  • pathstring
  • totalBytesinteger
  • usedBytesinteger

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/filesystem-disk-usage?directory=%2Fhome%2Fexample.log