[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1018) Allow $expand and $select with modifying requests that return a collection in combination with return=representation to specify the response shape
[ https://issues.oasis-open.org/browse/ODATA-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hubert Heijkers updated ODATA-1018: ----------------------------------- Proposal: Extend allowing use of $select and $epand to requests that return a collection 1) if $expand/$select are present, implies return=representation 2) if $expand/$select are present and return=minimal, service MUST include preference-applied if they DON'T return a result 3) if it returns a result, $expand MUST be applied if specified and MUST include at least the $selected columns 4) the service MUST NOT fail the request due to the $expand/$select; if the service cannot return a result with the appropriate $expand and $select it MUST return No Content was: Applies only to requests that return a single resource, and only to $select and $expand (and $format) 1) if $expand/$select are present, implies return=representation 2) if $expand/$select are present and return=minimal, service MUST include preference-applied if they DON'T return a result 3) if it returns a result, $expand MUST be applied if specified and MUST include at least the $selected columns 4) the service MUST NOT fail the request due to the $expand/$select; if the service cannot return a result with the appropriate $expand and $select it MUST return No Content > Allow $expand and $select with modifying requests that return a collection in combination with return=representation to specify the response shape > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ODATA-1018 > URL: https://issues.oasis-open.org/browse/ODATA-1018 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData Protocol, OData URL Conventions > Affects Versions: V4.0_OS > Environment: New Query Capabilities > Reporter: Ralf Handl > Assignee: Ralf Handl > Labels: Usability > Fix For: V4.01_WD01 > > > This is a clone of ODATA-614 in which we allowed to use $expand and $select already for single entities. > While discussing this in our meeting on December 1st, we concluded that there is no reason to not allow this for collections either. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]