GET :version
Description
Returns a list of the response types supported by Templeton.
URL
http://www.myserver.com/templeton/:version
Parameters
Name | Description | Required? | Default |
---|---|---|---|
:version | The Templeton version number. (Currently this must be "v1") | Required | None |
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" }