Skip to content

Commit

Permalink
Use collection relation for links to collection
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed Mar 7, 2023
1 parent f7c2fb1 commit 695c95d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ogcapi-features/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ The following Link relations must exist in the Item object returned from the `/c
| **rel** | **href** | **Media Type** | **From** | **Description** |
| -------- | -------------------------------------------- | -------------------- | ------------------- | --------------------------------------------------- |
| `root` | `/` | application/json | STAC API - Features | The root URI |
| `parent` | `/collections/{collectionId}` | application/json | OAFeat | Parent reference, usually the containing Collection |
| `collection` | `/collections/{collectionId}` | application/json | OAFeat | The containing Collection |
| `self` | `/collections/{collectionId}/items/{itemId}` | application/geo+json | OAFeat | Self reference |

Note that the `parent` link for an Item should point to the containing Collection
Note that the `collection` link for an Item should point to the containing Collection
(e.g., `/collections/{collectionId}`), rather than the API sub-path
of `/collections/{collectionId}/items/`.

Expand Down

0 comments on commit 695c95d

Please sign in to comment.