You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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


Navigation Links

Previous: Reference: WebHCat Resources
Next: GET status

General: WebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki HomeHive Project Site
Old version of this document (HCatalog 0.5.0): GET :version

  • No labels