Bug 1063811

Summary: nolinks=true parameter has no effect via REST API
Product: OpenShift Online Reporter: Oleg Fayans <ofayans>
Component: MasterAssignee: Lili Nader <lnader>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: amarecek, jliggitt, mfisher
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: 2014-02-11 15:51:23 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 Oleg Fayans 2014-02-11 13:24:56 UTC
Description of problem:
When I query the REST API with ?nolinks=true parameter, the response still contains links

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


How reproducible:


Steps to Reproduce:
1. curl -k  -H "Accept: application/xml" -X GET https://ec2-54-226-85-90.compute-1.amazonaws.com/broker/rest/api -d "nolinks=true" -u ofayans:redhat
2. curl -k  -H "Accept: application/xml" -X GET https://ec2-54-226-85-90.compute-1.amazonaws.com/broker/rest/api -u ofayans:redhat


Actual results:
These 2 requests produce absolutely identical results

Expected results:


Additional info:

Comment 1 Jordan Liggitt 2014-02-11 15:51:23 UTC
The purpose of the nolinks param is to make API responses more concise by suppressing the "links" child of the data object, when all that is desired is the entity data.

The links ARE the data provided by the "/api" endpoint.