[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Commented: (ODATA-10) operator that returns the content of a Stream as either a String or Binary value
[ http://tools.oasis-open.org/issues/browse/ODATA-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32640#action_32640 ] Michael Pizzo commented on ODATA-10: ------------------------------------ We already have a way to refer to the raw value of a stream using /$value. We don't support expressions in $select (see ODATA-9), but if we did support expressions in $select we could do something like: http://odata.netflix.com/v2/Catalog/Titles?$select=Name,icon/$value as image > operator that returns the content of a Stream as either a String or Binary value > -------------------------------------------------------------------------------- > > Key: ODATA-10 > URL: http://tools.oasis-open.org/issues/browse/ODATA-10 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: OData Protocol , OData URL Conventions > Reporter: Andrew Eisenberg > Assignee: Michael Pizzo > > OData could be extended with an operator that returns the content of a Stream as either a String or Binary value. > This could be expressed as: > http://odata.netflix.com/v2/Catalog/Titles?$select=Name,streamAsBinary(icon) > or > http://odata.netflix.com/v2/Catalog/Titles?$select=Name&$extendedSelect=streamAsBinary(icon) as Icon -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]