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-1260) Clarify read-write access via URLs differing from the canonical/read/edit URL


Ralf Handl created ODATA-1260:
---------------------------------

             Summary: Clarify read-write access via URLs differing from the canonical/read/edit URL
                 Key: ODATA-1260
                 URL: https://issues.oasis-open.org/browse/ODATA-1260
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: Protocol
    Affects Versions: V4.01_CS01
         Environment: Proposed
            Reporter: Ralf Handl
             Fix For: V4.01_CS02


SectionÂ[11.2.2 Requesting Individual Entities|http://docs.oasis-open.org/odata/odata/v4.01/cs01/part1-protocol/odata-v4.01-cs01-part1-protocol.html#sec_RequestingIndividualEntities] states:

{quote}
To retrieve an individual entity, the client makes a GET request to the read URL of an entity.
{quote}

This seems to suggest that read access is only possible via the readLink (and in subsequent paragraphs: the editLink or the canonical URL), and not for example via a navigation URL such as {{Employees(123)/Manager}}.

Section 11.4.3 Update an Entity does not state at all which kinds of URLs can be used with PATCH or PUT.

Section 11.4.4 Upsert an Entity allows any valid URL that identifies a single entity.

Section 11.4.5 Delete an Entity only allows the edit URL.

This is inconsistent and confusing.



--
This message was sent by Atlassian JIRA
(v7.7.2#77003)


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