Storage quota
Concept#
Storage quota are used to compute already used storage and max autorized storage for a user.
The shape and rules for storage objects are described here.
Get storage quota#
This route is used to retrieve all the storage_quotum object associated to an identity
Request#
Cookies:
accesstoken(opaque token) (ACR >= 1):midclaim as the identity id.tokentype: must bebearer
Headers:
X-CSRF-Token: a token to prevent from CSRF attacks.
Path Parameters:
id(uuid string): the identity id.
Response#
Code:
Get current user storage use#
This route is used to retrieve all the box_used_space object associated to an identity
Request#
Cookies:
accesstoken(opaque token) (ACR >= 1):midclaim as the identity id.tokentype: must bebearer
Headers:
X-CSRF-Token: a token to prevent from CSRF attacks.
Query Parameters:
identity_id(uuid string): the identity id.
Response#
Code:
Get vault used space#
This route is used to retrieve the vault used space linked to an identity.
Request#
Cookies:
accesstoken(opaque token) (ACR >= 1):midclaim as the identity id.tokentype: must bebearer
Headers:
X-CSRF-Token: a token to prevent from CSRF attacks.
Path Parameters:
id(uuid string): the identity id.
Response#
Code: