On this page
响应类型— GET:version
Description
返回 WebHCat(Templeton)支持的响应类型的列表。
URL
http:// * www.myserver.com * /templeton/ :版本
Parameters
| Name | Description | Required? | Default |
|---|---|---|---|
| :version | WebHCat 版本号。 (当前必须为“ v1”.) | Required | None |
standard parameters也受支持。
Results
| Name | Description |
|---|---|
| responseTypes | 所有支持的响应类型的列表 |
Example
Curl Command
% curl -s 'http://localhost:50111/templeton/v1'
JSON Output
{
"responseTypes": [
"application/json"
]
}
JSON 输出(错误)
{
"error": "null for uri: http://localhost:50111/templeton/v2"
}
Navigation Links
Previous: 参考:WebHCat 资源
Next: GET status
常规:WebHCat Reference – WebHCat Manual – HCatalog Manual – Hive Wiki 主页 – Hive 项目 site