Developer Guide › Related Pages
- Introduction
- Authentication
- Request Limits
-
Methods:
- Extract
- Collections
- Pages
- Related Pages
- Entities
- Related Entities
This method takes a page and returns 'related pages'. This is achieved by looking for common entities between the pages.
The method is called by sending a GET request to the following URL:
http://muddy.it/collections/COLLECTION_TOKEN/pages/PAGE_ID/related
- COLLECTION_TOKEN = The token for your collection.
- PAGE_ID = The page identifier
In addition, the following parameters can be set using a query string:
| Parameter | Permitted Values | Mandatory (y/n) | Default value | |
|---|---|---|---|---|
| limit | the maximum number of results to return | a positive integer | n | - |
| minimum_confidence | the minimum confidence of entities to include | 0.0-1.0 | n | - |
| min_entities | the minimum number of entities that must match for a page to be included | a positive integer | n | 2 |
| max_entities | the maximum number of entities that must match for a page to be included | a positive integer | n | 8 |
Sample response
<response status="OK">
<pages>
<page>
<identifier>e9d5abba-f53d-480b-940d-f8a94da9fb58</identifier>
<entities>
<entity>
<uri>http://dbpedia.org/resource/Tripoli</uri>
</entity>
<entity>
<uri>http://dbpedia.org/resource/Scotland</uri>
</entity>
</entities>
<uri>http://news.bbc.co.uk/1/hi/scotland/south_of_scotland/8197370.stm</uri>
<count>1</count>
</page>
</pages>
</response>