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

Specify canonical form of entity-id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.0_CSD01
    • Fix Version/s: V4.0_CSD02
    • Component/s: Protocol, URL Conventions
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Slightly modified proposal:

      By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy.
      The canonical representation of the edit/self link is the id plus the cast segment [as required]
      The canonical representation of the navigation link is the self link plus the navigation property
      The canonical representation of the association link is to append /$ref to the navigation link.

      This simplifies rules by putting the cast segment on the self link rather than conditionally applying it to each navigation property/advertised function/etc.

      Show
      Slightly modified proposal: By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy. The canonical representation of the edit/self link is the id plus the cast segment [as required] The canonical representation of the navigation link is the self link plus the navigation property The canonical representation of the association link is to append /$ref to the navigation link. This simplifies rules by putting the cast segment on the self link rather than conditionally applying it to each navigation property/advertised function/etc.
    • Resolution:
      Show
      Core: https://www.oasis-open.org/committees/document.php?document_id=49675&wg_abbrev=odata JSON: https://www.oasis-open.org/committees/document.php?document_id=49674&wg_abbrev=odata Atom: https://www.oasis-open.org/committees/document.php?document_id=49673&wg_abbrev=odata Accepted: https://www.oasis-open.org/committees/download.php/49679/odata-meeting-43_on-20130624-minutes.html#odata-441

      Description

      Slightly modified proposal:

      By convention, the entity-id does not end with a cast segment even if the entity type is part of an inheritance hierarchy.
      The canonical representation of the edit/self link is the id plus the cast segment [as required]
      The canonical representation of the navigation link is the self link plus the navigation property
      The canonical representation of the association link is to append /$ref to the navigation link.

      This simplifies rules by putting the cast segment on the self link rather than conditionally applying it to each navigation property/advertised function/etc.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: