ListSpace
Lists service spaces.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mpserverless:ListSpace |
list |
*Space
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNum |
integer |
No |
Page number. Start from 0. |
0 |
| PageSize |
integer |
No |
Number of items per page. Default is 10. |
10 |
| SpaceIds |
array |
No |
List of service space IDs. |
|
|
string |
No |
Service space ID. |
b9105f6d-f403-4ad5-8a05-82e4524659c8,aff8cd35-4273-40ce-943e-9ab8cd8d89fc |
|
| EmasWorkspaceId |
string |
No |
EMAS project ID. |
3821658 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE |
| GmtCreate |
string |
||
| Count |
integer |
Total number of items. Used for paging. |
23 |
| Spaces |
array<object> |
Service spaces. |
|
|
object |
|||
| Status |
string |
Service status. Valid values:
|
IN_SERVICE |
| GmtCreate |
integer |
Creation time. |
1582018007000 |
| SpaceId |
string |
Service space ID. |
368ef42a-763f-0000-acc2-8aa9564c**** |
| Name |
string |
Service space name. |
myspace |
| Desc |
string |
Description. |
我的空间 |
| GmtLastAccess |
integer |
Last access time. |
1582018007000 |
Examples
Success response
JSON format
{
"RequestId": "B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE",
"GmtCreate": "",
"Count": 23,
"Spaces": [
{
"Status": "IN_SERVICE",
"GmtCreate": 1582018007000,
"SpaceId": "368ef42a-763f-0000-acc2-8aa9564c****",
"Name": "myspace",
"Desc": "我的空间",
"GmtLastAccess": 1582018007000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.