Skip to main content

GET /info/{id}

Description

Gets the size of a folder and the number of items in it

The route handles the HTTP GET request made to the /info/{id} path.

Parameters

The following path parameters are sent in the request line:

  • id (string) - (required) a path to the folder for which space data and the number of items in it are requested

Response

The server returns a JSON object with the space data for the requested folder:

Example:

{
"Size": 47597382, // the folder size
"Count": 17 // the number of items in a folder
}

The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).


Related articles: