-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from radiantearth/fragments
Fragments
- Loading branch information
Showing
8 changed files
with
203 additions
and
160 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# STAC API - Fragments | ||
|
||
This directory contains reusable OpenAPI fragments that are used by other capabilities. They tend to | ||
be common API components such as parameters that get mixed in to various endpoints. | ||
They are kept in this separate fragment directory as they are not specific to any extension and are meant | ||
to be re-used when drafting new API extensions. | ||
|
||
For example '[sort](sort/)' introduces a parameter (`sortby`) that can be used by both [item-search](../item-search) | ||
at the `/search` endpoint, and by [features](../ogcapi-features) in any of its `items` endpoints. To keep | ||
things clean we specify a conformance class for each, so clients can know exactly what to expect. Each | ||
conformance class is specified in the relevant folder as an 'extension' to the main capability. But their | ||
semantics are exactly the same, so we put the shared openapi definition in this `fragments` directory. | ||
|
||
| Fragment Name | Description | | ||
|----------------------------------------|----------------------------------------------------------------------------| | ||
| [Fields](fields/README.md) | Adds parameter to control which fields are returned in the response. | | ||
| [Query](query/README.md) | Adds parameter to compare properties and only return the items that match | | ||
| [Context](context/README.md) | Adds search related metadata (context) to GeoJSON Responses. | | ||
| [Sort](sort/README.md) | Adds Parameter to control sorting of returns results. | |
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
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
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
Oops, something went wrong.