GET /info
Description
Gets data on the drive space and returns a JSON object with this dataThe route handles the HTTP GET request made to the /info
path.
Payload
No payload is required.
Response
The server returns a JSON object with the drive space data.
Example:
{
"free": 23181557760,
"total": 83204141056,
"used": 60022583296
}
The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).
Related articles: