[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-422) Add metadata URL to representations of entity references, define format for collections of references
[ http://tools.oasis-open.org/issues/browse/ODATA-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-422:
-----------------------------
Proposal:
Protocol: adapt metadata URL pattern for entity references: no need for prefixing the reference with an entity set, just use $metadata#$ref and $metadata#$ref/@Element.
Atom: add metadata:metadata attribute to metadata:ref element. Require it in single reference and in collection of entity references.
JSON: define odata.metadata name/value pair for entity references, use odata.id instead of odata.ref, define format for collection.
Example for single reference
{
"odata.metadata": "http://host/service/$metadata#$ref/@Element",
"odata.id": "Orders(10643)"
}
Example for collection of references
{
"odata.metadata": "http://host/service/$metadata#$ref",
"value": [{"odata.id":""},...]
}
Accepted: https://www.oasis-open.org/committees/download.php/49375/odata-meeting-39_on-20130530-minutes.html#odata-422
was:
Protocol: adapt metadata URL pattern for entity references: no need for prefixing the reference with an entity set, just use $metadata#$ref and $metadata#$ref/@Element.
Atom: add metadata:metadata attribute to metadata:ref element. Require it in single reference and in collection of entity references.
JSON: define odata.metadata name/value pair for entity references, use odata.id instead of odata.ref, define format for collection.
Example for single reference
{
"odata.metadata": "http://host/service/$metadata#$ref/@Element",
"odata.id": "Orders(10643)"
}
Example for collection of references
{
"odata.metadata": "http://host/service/$metadata#$ref",
"value": [{"odata.id":""},...]
}
> Add metadata URL to representations of entity references, define format for collections of references
> -----------------------------------------------------------------------------------------------------
>
> Key: ODATA-422
> URL: http://tools.oasis-open.org/issues/browse/ODATA-422
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Improvement
> Components: OData ATOM Format , OData JSON Format, OData Protocol
> Affects Versions: V4.0_CSD01
> Environment: [Proposed]
> Reporter: Ralf Handl
> Fix For: V4.0_CSD02
>
>
> We've defined a metadata URL pattern for entity references and collections of entity references in Part 1: Protocol but haven't yet defined that entity reference representations need a metadata URL.
> We've also defined representations for single entity references, but not for a collection of entity references.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]