This API is used to query the versions of all TMS APIs.
GET /
Example request
GET https://{TMS endpoint}/
Domain-level tokens are required for invoking TMS APIs. For details, see Obtaining the Domain-Level Token.
Name |
Type |
Description |
---|---|---|
versions |
Array |
Specifies all API versions. For details, see Table 2. |
Name |
Type |
Description |
---|---|---|
id |
String |
Specifies the version ID, for example, v1.0. |
links |
List<Link> |
Specifies the API URL. For details, see Table 3. |
version |
String |
If the APIs of this version support microversions, set this parameter to the supported latest microversion. If not, leave this parameter blank. |
status |
String |
Specifies the version status. Possible values are as follows:
|
updated |
String |
Specifies the version release time, which must be the UTC time. For example, the release time of TMS 1.0 is 2016-12-09T00:00:00Z. |
min_version |
String |
If the APIs of this version support microversions, set this parameter to the supported earliest microversion. If not, leave this parameter blank. |
{ "versions": [ { "id": "v1.0", "links": [ { "rel": "self", "href": "https://API URL/v1.0" } ], "version": "", "status": "CURRENT", "updated": "2016-12-09T00:00:00Z", "min_version": "" } ] }
See Status Code.