Updated on 2022-12-08 GMT+08:00

Querying Enterprise Project Quota

Function

This API is used to query the enterprise project quota.

URI

GET /v1.0/enterprise-projects/quotas

Request

Example request

GET https://{EPS endpoint}/v1.0/enterprise-projects/quotas

Response

  • Parameter description
    Table 1 Parameter in the response

    Name

    Type

    Description

    quotas

    Dict<quotas>

    Quota

    For details, see Table 2.

  • quotas field data structure
    Table 2 quotas field data structure description

    Name

    Type

    Description

    resources

    List<resource>

    Specifies the resource quota of EPS.

    For details, see Table 3.

  • resource field data structure
    Table 3 resource field data structure description

    Name

    Type

    Description

    type

    String

    Specifies the resource type. Currently, it refers to enterprise_project.

    used

    int

    Specifies the number of used quotas.

    quota

    int

    Specifies the total amount of the quota.

  • Example response
    {
        "quotas": {
            "resources": [
                {
                    "type": "enterprise_project",
                    "used": 3,
                    "quota": 100
                }
            ]
        }
    }

Status Codes

For details, see Status Code.

Error Codes

For details, see Error Codes.