Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-655

The atom:id element is mandatory, but clients (doing POST of a new entity) might not know an appropriate value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Deferred
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: None
    • Component/s: ATOM Format
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      Use the constant value odata:new

      Show
      Use the constant value odata:new

      Description

      6.2 Element atom:id

      "The atom:id element MUST contain the entity-id"

      This is a problem for clients creating new entities. In the case of a server supporting canonical URLs, if some of the key properties are server-generated, the client won't know what is an appropriate entity-id.

      Also, the ATOM Syndication spec makes it clear that atom:entry must have an atom:id.

      For OData, we need to define what value a client should pass for atom:id (in POST) when atom:id is not knowable to the client.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: