Get requested links
This endpoint returns the links that pages have requested, but do not yet exist.
Request
Path Parameters | Value |
---|---|
num |
Optional. If provided, this sets the number of links to return. So, for example,
/v1/requested/50 will return the 50 most frequently requested link. A request
to /v1/requested , without the num parameter, defaults to 25. |
Examples
GET /v1/requested HTTP/1.1
Host: api.thefifthworld.com
GET /v1/requested/30 HTTP/1.1
Host: api.thefifthworld.com
Response
This endpoint responds with a 200
HTTP status and an array of link objects.
Property | Value Type | Value |
---|---|---|
title |
string |
Requested links take the form of a link on a page that doesn’t go to any existing page. This parameter provides the string that these pages tried to link to as a title. |
links |
object[] |
An array of objects representing the pages that have requested this link. Each
object has id , title , and path properties,
presenting each page’s ID, title, and path, respectively. |
Example
[
{
"title": "Salisbury Plain",
"links": [
{
"id": 44377,
"title": "Stonehenge",
"path": "/eurasia/europe/british-isles/avon/stonehenge"
}
]
}
]