[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1028) 4.3.4 and 4.4: clarify resolution of relative URLs in system query option $id
[ https://issues.oasis-open.org/browse/ODATA-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-1028:
------------------------------
Description:
4.3.4 Resolving an Entity-Id states that
The entity-id may be expressed as an absolute IRI or relative to the service root URL.
Example 23: request the entity representation for an entity-id
http://host/service/$entity?$id=Products(0)
This was correct until we introduced type-cast segments after $entity with ODATA-528.
Now relative URLs should rather be relative to the request URL, as in all other places, especially in
4.4 Addressing References between Entities
The entity-id specified by $id may be expressed absolute or relative to the request URL.
was:
4.3.4 Resolving an Entity-Id states that
The entity-id may be expressed as an absolute IRI or relative to the service root URL.
Example 23: request the entity representation for an entity-id
http://host/service/$entity?$id=Products(0)
This was correct until we introduced type-cast segments after $entity with ODATA-528.
Now relative URLs should rather be relative to the request URL, as in all other places, especially in
> 4.3.4 and 4.4: clarify resolution of relative URLs in system query option $id
> -----------------------------------------------------------------------------
>
> Key: ODATA-1028
> URL: https://issues.oasis-open.org/browse/ODATA-1028
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData URL Conventions
> Affects Versions: V4.0_ERRATA03
> Environment: Proposed
> Reporter: Ralf Handl
> Assignee: Ralf Handl
> Fix For: V4.01_CSD02
>
>
> 4.3.4 Resolving an Entity-Id states that
> The entity-id may be expressed as an absolute IRI or relative to the service root URL.
> Example 23: request the entity representation for an entity-id
> http://host/service/$entity?$id=Products(0)
> This was correct until we introduced type-cast segments after $entity with ODATA-528.
> Now relative URLs should rather be relative to the request URL, as in all other places, especially in
> 4.4 Addressing References between Entities
> The entity-id specified by $id may be expressed absolute or relative to the request URL.
--
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]