Version discovery¶
-
type
Version
¶ Version representation.
Data samples:
- Json
{ "id": "v1.0", "link": { "href": "http://example.com:9777/v1", "target_name": "v1" }, "status": "CURRENT" }
- XML
<value> <id>v1.0</id> <status>CURRENT</status> <link> <href>http://example.com:9777/v1</href> <target_name>v1</target_name> </link> </value>
-
id
¶ Type: unicode The version identifier.
-
link
¶ Type: Link The link to the versioned API.
-
status
¶ Type: Enum(SUPPORTED, CURRENT, DEPRECATED) The status of the API (SUPPORTED, CURRENT or DEPRECATED).