GET /api/v1/quota/{LibraryId}/{SpaceId}?access_token={AccessToken}&user_id={UserId}
Request parameters. | Description | Type | Required or Not |
LibraryId | Media Library ID, obtained after creating a media library in the media hosting console, see create media library | String | Yes |
SpaceId | Space ID, see create tenant space | String | Yes |
AccessToken | Access token, see generate access token | String | Yes |
UserId | User identity recognition is used to temporarily specify user identity when the access token corresponds to admin permission and the user identity recognition during token application is empty. For details, see Generate Access Token API. | String | No |
{ "id": 1, "capacity": "1099511627776" }
Response Parameters | Description | Type |
id | Quota ID, used for subsequent quota check, quota modification or quota deletion. | Int |
capacity | The specific value of the quota, in bytes (Byte), can be specified in digital form or string form. To avoid precision loss from large numbers, it is recommended to specify this field as a string form. | String |
Feedback