Query Space Details

Last Updated on : 2023-07-06 09:10:07download

Query the details of a specified space.

API address

GET: /v1.0/iot-03/idaas/spaces

Request parameter

Parameter nameTypeINRequiredDescription
space_groupStringquerytrueThe space group.
space_codeStringquerytrueThe identifier of a specified space.

Return parameter

Parameter nameTypeDescription
resultIdaasSpaceDTO

Description of result

Parameter nameTypeDescription
space_idLongThe ID of a specified space.
space_groupStringThe space group.
space_codeStringThe identifier of a specified space.
gmt_createLongThe time when it is created.
gmt_modifiedLongThe time when it is modified.
remarkStringThe remarks.
owner_listListThe list of space owners.

Request example

GET: /v1.0/iot-03/idaas/spaces?spaceGroup=wujunGroup&spaceCode=wujunCode

Return example

{
    "result": {
        "gmt_create": 1622802733234,
        "owner": "wujun",
        "space_code": "wujunCode",
        "gmt_modified": 1622802733234,
        "space_group": "wujunGroup",
        "space_id": 1400762304747802600
    },
    "t": 1622807902803,
    "success": true
}

Error code

For more information, see error code.