Querying the Version
Description
This API is used to query the component version number.
2. URL
GET https://ip:port/AIVAULT/v1/version/
Request Header
Parameter |
Type |
Description |
DomainID |
UInt |
Key domain ID, which indicates the domain of an organization, an application, or a model. The value ranges from 1 to 500. |
- Parameters in this request header are set by users.
- Domain IDs are used to differentiate applications or models. A maximum of 500 domains are supported.
Request Parameters
None
Response Description
Level-1 Parameter |
Level-2 Parameter |
Type |
Description |
status |
\ |
String |
Error code |
msg |
\ |
String |
Error message |
data |
\ |
Object |
Packet |
\ |
version |
String |
Version number |
Response Example
{
"status": "00000000",
"msg": "ok",
"data": {
"version": "xxx"
}
}
For details about the error codes, see Error Codes.
For details about the status codes, see Status Codes.
Parent topic: API Reference