Skip to content

Commit 10636ea

Browse files
authored
Merge pull request #267 from philvarner/clarify-search-link-rel
clarify wording of search link rel requirement
2 parents ad2c2a0 + 30a54ae commit 10636ea

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

item-search/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,11 @@ The following Link relations shall exist in the Landing Page (root).
5555
| -------- | --------- | ---------------------- | --------------------------- |
5656
| `search` | `/search` | STAC API - Item Search | URI for the Search endpoint |
5757

58-
The `search` link relation shall have a `type` of `application/geo+json` and a `method` of `GET`, and may also
59-
a link with a `method` of `POST` if the server supports it.
58+
This `search` link relation shall have a `type` of `application/geo+json`. If no `method` attribute is
59+
specified, it is assumed to represent a GET request. If the server supports both GET and POST requests, two links should be included, one with a `method` of `GET` one with a `method` of `POST`.
60+
61+
Other links with relation `search` may be included that advertise other content types the server may respond
62+
with, but these other types are not part of the STAC API requirements.
6063

6164
## Endpoints
6265

0 commit comments

Comments
 (0)