ListSpace
Queries the list of service workspaces.
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 |
The page number, starting from 0. |
0 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
| SpaceIds |
array |
No |
The list of service workspace IDs. |
|
|
string |
No |
The service workspace ID. |
b9105f6d-f403-4ad5-8a05-82e4524659c8,aff8cd35-4273-40ce-943e-9ab8cd8d89fc |
|
| EmasWorkspaceId |
string |
No |
The ID of the EMAS project workspace. |
3821658 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE |
| GmtCreate |
string |
[Deprecated] This field is deprecated and retained only for API compatibility. The server no longer returns this field. Do not rely on its value. To obtain the creation time of a service workspace, use the GmtCreate field of the corresponding element in the Spaces array. The example value is fictitious and used only for documentation purposes. It does not represent the actual response. |
2020-02-18T08:06:47Z |
| Count |
integer |
The total number of entries for pagination. |
23 |
| Spaces |
array<object> |
The service workspaces. |
|
|
object |
|||
| Status |
string |
The service status. Valid values:
|
IN_SERVICE |
| GmtCreate |
integer |
The creation time. |
1582018007000 |
| SpaceId |
string |
The service workspace ID. |
368ef42a-763f-0000-acc2-8aa9564c**** |
| Name |
string |
The name of the service workspace. |
myspace |
| Desc |
string |
The description. |
My workspace |
| GmtLastAccess |
integer |
The last access time. |
1582018007000 |
Examples
Success response
JSON format
{
"RequestId": "B314EDAD-FFCA-536D-BA9C-08B42F7C2DDE",
"GmtCreate": "2020-02-18T08:06:47Z",
"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.