[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1181) Clarify $expand=NavSingle/$count and $expand=*/$count
Ralf Handl created ODATA-1181: --------------------------------- Summary: Clarify $expand=NavSingle/$count and $expand=*/$count Key: ODATA-1181 URL: https://issues.oasis-open.org/browse/ODATA-1181 Project: OASIS Open Data Protocol (OData) TC Issue Type: Improvement Components: URL Conventions Affects Versions: V4.01_CS01 Environment: Proposed Reporter: Ralf Handl Fix For: V4.01_CS02 Section 4.8 only defines the /$count segment for collection-valued paths. Section 5.1.2 does not state a restriction to collection-valued navigation properties for $expand=NavProp/$count and similar paths. We could allow /$count for all kinds of paths, returning 1 for single-valued navigation paths to an existing resource, and returning 0 for single-valued navigation paths that would return 204 or 404 without the /$count suffix. Building on that $expand=*/$count could be defined to return the count of related entities for all navigation properties. -- This message was sent by Atlassian JIRA (v7.7.2#77003)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]