forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Co-authored-by: Zaoxu, Li <lizaoxu@huawei.com> Co-committed-by: Zaoxu, Li <lizaoxu@huawei.com>
14 KiB
14 KiB
Querying the SMN API v2 Version
URI
Request
- Example request
GET https://{SMN_Endpoint}/v2
Response
- Parameter description
Table 1 Parameter in the response Parameter
Type
Description
version
Object
Version information
Table 2 Description of the version field 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:
- CURRENT: widely used version
- SUPPORTED: earlier version that is still supported
- DEPRECATED: deprecated version that may be deleted later
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.
- Example response
{ "version": { "id": "v2", "links": [ { "href": "https://127.0.0.1/v2", "rel": "self" } ], "min_version": "", "status": "CURRENT", "updated": "2018-09-19T00:00:00Z", "version": "" } }
Returned Value
See Returned Value.
Error Codes
See Error Codes.
Parent topic: Version Querying