Response Types — GET :version

Description

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

URL

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

Parameters

Name

Description

Required?

Default

:version

The WebHCat version number. (Currently this must be "v1".)

Required

None

The standard parameters are also supported.

Results

Name

Description

responseTypes

A 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"
}


Previous: Reference: WebHCat Resources
Next: GET status

General: WebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki HomeHive Project Site