Querying the Building Information¶
Function¶
This API is used to query the building information.
URI¶
GET /v1/{project_id}/build_info
For details about the parameters, see Table 1.
Parameter | Type | Mandatory | Description |
---|---|---|---|
project_id | String | Yes | Specifies the project ID. |
Request Parameter¶
N/A
Response Parameter¶
Parameter | In | Type | Description |
---|---|---|---|
api | body | Dict | Specifies the API information. |
engine | body | Dict | Specifies the engine information. |
Request Example¶
GET /v1/95d02433133a4c0a87ba6967474a2ad3/build_info
Response Example¶
{
"api": {
"revision": "{api_build_revision}"
},
"engine": {
"revision": "{engine_build_revision}"
}
}
Return Code¶
Return Code | Type | Description |
---|---|---|
200 | OK | Request was successful. |
Return Code | Type | Description |
---|---|---|
401 | Unauthorized | Authorization failed. |