Bug 1120994 - zanata REST API does not support application/json headers in "seam/resource/restv1/version" API
Summary: zanata REST API does not support application/json headers in "seam/resource/...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: Component-API
Version: development
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Damian Jansen
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-18 06:08 UTC by anish
Modified: 2015-07-29 02:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-29 02:50:19 UTC


Attachments (Terms of Use)

Description anish 2014-07-18 06:08:26 UTC
Description of problem:
Zanata REST API used to support Application/JSON headers to get version.
Now one has to give Accept: application/vnd.zanata.Version+json in headers to get JSON data

Version-Release number of selected component (if applicable):


How reproducible:
 curl -H 'X-Auth-User:<put username here>' -H 'X-Auth-Token:<put token
here>' -H 'Accept: application/json'
https://translate.zanata.org/zanata/seam/resource/restv1/version


Actual results:
It returns nothing

Expected results:
Above command should return version number of server in JSON format

Additional info:

Comment 2 Zanata Migrator 2015-07-29 02:50:19 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-224


Note You need to log in before you can comment on or make changes to this bug.