OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-682) 11.4.1.5 Returning Results from Data Modification Requests - media resources and stream properties


     [ https://issues.oasis-open.org/browse/ODATA-682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralf Handl updated ODATA-682:
-----------------------------

    Proposal: 
Updates to media entity streams return the media entity, by default and on return=representation.

Updates to stream properties return nothing by default, and the media stream  on return=representation.

> 11.4.1.5 Returning Results from Data Modification Requests - media resources and stream properties
> --------------------------------------------------------------------------------------------------
>
>                 Key: ODATA-682
>                 URL: https://issues.oasis-open.org/browse/ODATA-682
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData Protocol 
>    Affects Versions: V4.0_ERRATA01
>         Environment: [Applied]
>            Reporter: Ralf Handl
>            Assignee: Michael Pizzo
>             Fix For: V4.0_ERRATA01
>
>
> The new section 11.4.1.5 Returning Results from Data Modification Requests specifies that the default response to data modification is the "after-image" of the modified resource.
> This contradicts the behavior for updating media resources specified in section 11.4.7.2 Editing a Media Entity Stream:
>   If the request to edit a media stream returns a non-empty response body,
>   the response body MUST contain the updated media entity.
> This special behavior for updating media resources is consistent with the special behavior for creating media resources, where also the media entity, i.e. the structured twin is returned.
> This deviating "default" behavior raises the question whether stream properties also should have a different default and use 204 no content if not specified otherwise.



--
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]