Help Center/ CodeArts Artifact/ API Reference/ API/ Release Repos Settings/ Querying Tenant Capacity Notification Settings
Updated on 2025-09-08 GMT+08:00

Querying Tenant Capacity Notification Settings

Function

Query tenant capacity notification settings.

Calling Method

For details, see Calling APIs.

URI

GET /devreposerver/v5/capacity-notice/settings

Request Parameters

None

Response Parameters

Status code: 200

Table 1 Response body parameters

Parameter

Type

Description

status

String

Definition:

Request status.

Value range:

success: The request is successful.

error: The request fails.

trace_id

String

Definition:

Request ID, which uniquely identifies the current request.

Value range:

A string of digits and hyphens (-).

result

CapacitySettingVO object

Definition:

Information settings.

Value range:

N/A

Table 2 CapacitySettingVO

Parameter

Type

Description

capacity_threshold

Integer

Definition:

Capacity threshold.

Value range:

N/A

message_type

Integer

Definition:

Message type.

Value range:

N/A

is_mail_enabled

Integer

Definition:

Email enabled or not.

Value range:

N/A

is_sms_enabled

Integer

Definition:

SMS messages enabled or not.

Value range:

N/A

Example Requests

Query tenant capacity notification settings.

https://{URL}/devreposerver/v5/capacity-notice/settings

Example Responses

Status code: 200

OK

{
  "status" : "success",
  "trace_id" : "4c1c7456e0f94b999dbe2e218081f317",
  "result" : {
    "capacity_threshold" : 100,
    "message_type" : 1,
    "is_mail_enabled" : 1,
    "is_sms_enabled" : 0
  }
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.