QueryV2ApiInfo
Query the SMN API v2 version information.
GET /{api_version}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
api_version |
Yes |
String |
Version to be queried NOTE:
Currently, only v2 is supported. |
GET https://{SMN_Endpoint}/v2
Parameter |
Type |
Description |
---|---|---|
version |
Object |
Version object |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Version number, for example, v2 |
links |
Links structure array |
URL of an API. For details, see Table 3. |
min_version |
String |
Minimum micro-version number. If the APIs do not support micro-versions, no information will be returned. |
status |
String |
Version status, which can be the following:
|
updated |
String |
Version release time, which must be UTC time. For example, the release time of v2 is 2014-06-28T12:20:21Z. |
version |
String |
Maximum micro-version number. If the APIs do not support micro-versions, no information will be returned. |
{ "version": { "id": "v2", "links": [ { "href": "https://127.0.0.1/v2", "rel": "self" } ], "min_version": "", "status": "CURRENT", "updated": "2018-09-19T00:00:00Z", "version": "" } }
See section Returned Value.
See section Error Code.