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

Define content negotiation and default format for paths ending in /$value, /$count, /$metadata and /$batch

    XMLWordPrintable

    Details

      Description

      With ODATA-390 we introduced GML and GeoJSON representations for primitive properties of Geo types.

      This raises the question what format requests to the "raw" value of a Geo property return:

      GET ~/Customers(1)/Address/GeoLocation/$value

      This could be

      • the "unwrapped" GML or GeoJSON value
      • the WKT plain text value
      • ...

      Allowing content negotiation for /$value paths would solve this elegantly and works also well for canonical URLs to media resources.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: