Bug 1120994

Summary: zanata REST API does not support application/json headers in "seam/resource/restv1/version" API
Product: [Retired] Zanata Reporter: anish <apatil>
Component: Component-APIAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: developmentCC: dchen, petersen, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 02:50:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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