geopython / geopython/pygeoapi
Add link to Next page for process summaries
- Dominant language
- Python
- Stars
- 624
- Forks
- 326
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 2
Description
**Problem**
When requesting the list of `process summaries`, if the `limit` parameter is used, only the specified number of process summaries are returned, but there is no way to get to the other summaries: i.e. there is no link to `Next`
**The solution I'd like**
Implement the Recommendation 8:
```
A 200 -response SHOULD include a link to the next page (relation:
next ) of process summaries, if more process summaries have
been selected than returned in the response.
```
**Additional context: how to check**
On a server where multiple processes are exposed issue the following curl command with limit parameter set to 1:
`curl -X GET "https:///processes?limit=1"`
and you get
```
{
"processes":[
],
"links":[
{
"type":"application/json",
"rel":"self",
"title":"This document as JSON",
"href":"https:///processes?f=json"
},
{
"type":"application/ld+json",
"rel":"alternate",
"title":"This document as RDF (JSON-LD)",
"href":"https:///processes?f=jsonld"
},
{
"type":"text/html",
"rel":"alternate",
"title":"This document as HTML",
"href":"https:///processes?f=html"
}
]
}
```
Contributor guide
Assessment
This issue has not been assessed yet.