Obtaining Asset Quotas
Function
This API is used to obtain the asset quota information of a specified project, including the usage limit and quota details of each type of assets.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/sdg/asset/quota
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
total_size |
Long |
Total asset quota. |
|
use_size |
Long |
Number of used assets. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Asset quota information is obtained. |
|
401 |
Unauthorized access. The request is rejected. |
|
403 |
Unauthorized operation. The request is rejected. |
|
404 |
The project does not exist. Retrieval failed. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot