Skip to main content

Get a Project directory filesystem usage

GET/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