Apache Hive : WebHCat Reference ResponseTypes

Last updated: December 12, 2024

Apache Hive : WebHCat Reference ResponseTypes

Description

Returns a list of the response types supported by WebHCat (Templeton).

URL

http://www.myserver.com/templeton/:version

Parameters

NameDescriptionRequired?Default
:versionThe WebHCat version number. (Currently this must be “v1”.)RequiredNone

The standard parameters are also supported.

Results

NameDescription
responseTypesA list of all supported response types

Example

Curl Command

% curl -s 'http://localhost:50111/templeton/v1'

JSON Output

{
  "responseTypes": [
    "application/json"
  ]
}

JSON Output (error)

{
  "error": "null for uri: http://localhost:50111/templeton/v2"
}

Navigation Links Previous: Reference: WebHCat Resources
Next: GET status