[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: expanded […] stream properties
For requests targeting an entity type with a stream property:
If the actual stream data is included inline, the control information mediaContentType MUST
be present to indicate how the included stream property value is represented. Stream property values of media type application/json or
one of its subtypes, optionally with format parameters, are represented as native JSON. Values of top-level type text,
for example text/plain, are represented as a string, with JSON string
escaping rules applied. Included stream data of other media types is represented as a base64url-encoded string value, see [RFC4648], section
5. For a request targeting a stream property directly, then it is returned as the raw value according to the content type of the stream, which is returned in the content type header. Does that help? From: Christof Sprenger <chrispre@microsoft.com> Thanks Mike, Also sorry, I still not 100% sure I get the full picture
Christof From: Michael Pizzo <mikep@microsoft.com>
As described in
OData Version 4.01. Part 1: Protocol (oasis-open.org), starting in OData 4.01, users can request that stream properties be included in-line with other properties of the resource.
OData JSON Format Version 4.01 (oasis-open.org) describes the rules for in-lining stream properties within a JSON OData payload. From: odata@lists.oasis-open.org <odata@lists.oasis-open.org>
On Behalf Of Christof Sprenger Hello, Is there something more in the standard about expanding stream properties when and how to do this? Christof
11.2.5.1 System
Query Option $select
The $select system
query option requests that the service return only the properties, dynamic properties, actions and functions explicitly
requested by the client. The service returns the specified content, if available, along with any available expanded navigation
or stream properties |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]