You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2015/05/18 13:42:00 UTC

[jira] [Resolved] (OLINGO-661) $links clarifications

     [ https://issues.apache.org/jira/browse/OLINGO-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Amend resolved OLINGO-661.
------------------------------------
    Resolution: Fixed
      Assignee: Christian Amend

Hi James,

1.) Pagination for a link collection was added with the V3 version of the specidication so within our library we currently offer no support for that.

2.) The "Categories(1)/$links/Products" link element points towards the link of the navigation while the "Categories(1)/Products" link element points towards the resource itself. Only the latter is mandatory. But it is up to a service which links will be delivered.

If you still have questions please reopen the ticket.

Best Regards,
Christian

> $links clarifications
> ---------------------
>
>                 Key: OLINGO-661
>                 URL: https://issues.apache.org/jira/browse/OLINGO-661
>             Project: Olingo
>          Issue Type: Question
>          Components: odata2-core
>            Reporter: James Iggulden
>            Assignee: Christian Amend
>            Priority: Minor
>
> Please could I clarify the following re the $links function:
> 1) Should $links support pagination of the resulting links? If so, how exactly should the paging link be provided in the response?
> 2) When an entity is addressed via the public odata.org feed, link elements are provided of the form:
> <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/relatedlinks/Products" type="application/xml" title="Products" href="Categories(1)/$links/Products" />
> Is this mandatory? It seems odd when elsewhere in the metadata the entity link is declared e.g.
> <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Products" type="application/atom+xml;type=feed" title="Products" href="Categories(1)/Products" />
> Isn't the $links just implicit?
> Many thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)