forked from opengeospatial/ogcapi-common
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13-hierarchy: Fixes to reflect changes agreed to in opengeospatial#298
- NOTE: Using descendants=immediate rather than 'children' as this has clearer meaning
- Loading branch information
1 parent
ede1668
commit faca4aa
Showing
8 changed files
with
106 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
collections/recommendations/hierarchy/PER_descendants_default_html.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[[per_hierarchy_descendants-default-html]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Permission {counter:per-id}* |*/per/hierarchy/descendants-default-html* | ||
^|A |For representations not intended primarily for consumption by machines, such as an HTML representation, an implementation MAY assume a default value of `immediate` for the `descendants` query parameter, so as to present the collections in a hierarchical manner and avoid an unnecessarily large response when a large number of collections are available. | ||
|=== |
6 changes: 0 additions & 6 deletions
6
collections/recommendations/hierarchy/PER_parent_default_html.adoc
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
collections/recommendations/hierarchy/REC_parent_convention.adoc
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
collections/requirements/hierarchy/REQ_ancestor_parameter.adoc
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
collections/requirements/hierarchy/REQ_descendants_parameter.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[[req_hierarchy_descendants-parameter]] | ||
[width="90%",cols="2,6a"] | ||
|=== | ||
^|*Requirement {counter:req-id}* |*/req/hierarchy/descendants-parameter* | ||
^|A |The implementation SHALL support a `descendants` query parameter for listing collections at the resource `/collections` whose value can be either `immediate` or `all` (the default). | ||
^|B |When the value of the `descendants` parameter is `immediate`, the list of collections returned SHALL only include immediate children of the collection specified in the `parent` query parameter if applicable, or otherwise only the top-level collections with no parent if no `parent` parameter is specified. | ||
^|C |When the value of the `descendants` parameter is `all` or not provided, all collections of the hierarchy SHALL be returned, subject to any other filtering based on any other parameters such as `parent`. | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters