Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Response Types — GET :version

Table of Contents

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

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

JSON Output

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

JSON Output (error)

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


Panel
titleColorindigo
titleBGColorsilver
titleNavigation 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