Storage
GET
Use when the user asks how much space their files take or why an upload was rejected for exceeding the quota.
cookie
semestra_session<token>Set by the sign-in endpoints for the web app. Requests other than GET, HEAD and OPTIONS also need the X-Semestra-CSRF header set to the semestra_csrf cookie.
Successful Response
application/json- response
used_bytes*Used Bytesquota_bytes*Quota Bytes0 means unlimited.
by_module*curl -X GET 'https://example.com/storage/usage'Example Response
{ "used_bytes": 0, "quota_bytes": 0, "by_module": { "property1": 0, "property2": 0 }}