Queries custom namespaces.
Debugging
Request headers
This operation uses only the common request header. For more information, see Common request parameters.
Request syntax
POST /pop/v5/user_region_defs HTTPS|HTTP
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| DebugEnable | Boolean | No | false |
Specifies whether remote debugging is allowed. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| Code | Integer | 200 |
The HTTP status code. |
| Message | String | success |
The returned message that indicates whether the request is successful. |
| RequestId | String | b197-40ab-9155-**** |
The ID of the request. |
| UserDefineRegionList | Array |
The namespaces. |
|
| UserDefineRegionEntity | |||
| BelongRegion | String | cn-shenzhen |
The ID of the physical region to which the namespace belongs. |
| DebugEnable | Boolean | false |
Indicates whether remote debugging is allowed in this region. |
| Description | String | betaappManager |
The description of the namespace. |
| Id | Long | 1330 |
The unique ID of the namespace generated by Enterprise Distributed Application Service (EDAS). |
| RegionId | String | cn-shenzhen:betaappManager |
The ID of the namespace. Note The ID cannot be changed after the namespace is created. The ID is in the format of
Physical region ID:Logical region identifier.
|
| RegionName | String | betaappManager |
The name of the namespace. |
| UserId | String | edas_****_test@aliyun-****.com |
The ID of the Alibaba Cloud account to which the namespace belongs. |
Examples
Sample requests
POST /pop/v5/user_region_defs HTTP/1.1
Common request header
Sample success responses
XML format
<Message>success</Message>
<Code>200</Code>
<UserDefineRegionList>
<UserDefineRegionEntity>
<Description>betaappManager</Description>
<RegionName>betaappManager</RegionName>
<BelongRegion>cn-shenzhen</BelongRegion>
<RegionId>cn-shenzhen:betaappManager</RegionId>
<Id>1330</Id>
<UserId>edas_****_test@aliyun-****.com</UserId>
<DebugEnable>false</DebugEnable>
</UserDefineRegionEntity>
</UserDefineRegionList>
JSON format
{
"Message": "success",
"Code": 200,
"UserDefineRegionList": {
"UserDefineRegionEntity": [
{
"Description": "betaappManager",
"RegionName": "betaappManager",
"BelongRegion": "cn-shenzhen",
"RegionId": "cn-shenzhen:betaappManager",
"Id": 1330,
"UserId": "edas_****_test@aliyun-****.com",
"DebugEnable": false
}
]
}
}
Error codes
For a list of error codes, visit the API Error Center.