Clarify $select behavior for stream properties

    • Hide

      JSON Format:

      • Stream properties requested with $select or included in the default selection are represented by their control information odata.media*.
      • Stream properties requested with $expand or implicitly expanded are represented as a property with its value.

      Protocol:

      • Services SHOULD support direct property access to a stream property's canonical URL (e.g. GET Entity(123)/Thumbnail). The response MAY be a redirect to the media read link of the stream property if the media read link is different from the canonical URL.
      • Note: if neither canonical URL nor media read link can be used and the stream value can only be accessed via $expand, the modeler should have used an Edm.Binary property instead.
      Show
      JSON Format: Stream properties requested with $select or included in the default selection are represented by their control information odata.media* . Stream properties requested with $expand or implicitly expanded are represented as a property with its value. Protocol: Services SHOULD support direct property access to a stream property's canonical URL (e.g. GET Entity(123)/Thumbnail ). The response MAY be a redirect to the media read link of the stream property if the media read link is different from the canonical URL. Note: if neither canonical URL nor media read link can be used and the stream value can only be accessed via $expand, the modeler should have used an Edm.Binary property instead.
    • Show
      https://github.com/oasis-tcs/odata-specs/pull/129 Depends on resolution for ODATA-1485

      The $select behavior for stream properties is not explicitly stated.

      Clarify whether property access to stream properties (e.g. GET Entity(123)/Thumbnail) is expected to be implemented by services.

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: