Cisco Cisco Identity Services Engine 1.2 产品宣传页

下载
页码 164
 
7-2
思科身份服务引擎 API 参考指南,版本 1.4
OL-26134-01
 7       外部 RESTful 服务 API 操作
  GetVersion
相关主题
GetVersion
GetVersion 操作对所有可用资源是通用的。它可获取所需资源的版本信息。下表列出此操作的主
要特征:
GetVersion 操作的请求示例
GET https://<ISE-ADMIN-NODE>:9060/ers/config/<resource-type>/versioninfo
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Accept: application/vnd.com.cisco.ise.<resource-namespace>.1.0+xml
GetVersion 操作的响应示例
HTTP/1.1 200 OK 
Date: Thu, 12 Jul 2012 23:59:59 GMT
Content-Type: application/vnd.com.cisco.ise.<resource-namespace>.versoininfo.1.0+xml
Content-Length: 122
{
<?xml version="1.0" encoding="UTF-8"?>
<ns2:versionInfo xmlns:ns2="ers.ise.cisco.com">
<currentServerVersion>1.2</currentServerVersion>
<link type="application/xml" 
href="https://<ISE-ADMIN-NODE>:9060/ers/config/<resource-type>/versioninfo" rel="self"/>
<supportedVersions>1.0,1.1,1.2,1.3<supportedVersion>
</ns2:versionInfo>
}
 7-1
GetVersion 
操作的主要特征
说明
检索指定资源的版本信息
摘要
GET/ers/config/<resource-name>/versioninfo
请求头
Accept、Authorization、Host
查询字符串
N/A
请求消息正文
N/A
响应头
Content-Length、Content-Type
响应消息正文
版本信息
响应状态
200、400、401、403、404、415、500