The link set object represents a set of link recommendation for a particular wiki article.

Example

{
  "links": [
    {
      "context_after": " to distin",
      "context_before": "cially in ",
      "link_index": 0,
      "link_target": "Science fiction",
      "link_text": "science fiction",
      "match_index": 0,
      "score": 0.5104129910469055,
      "wikitext_offset": 13852
    }
  ],
  "links_count": 1,
  "page_title": "Earth",
  "pageid": 9228,
  "revid": 1013965654
}

Schema

links

required string

Array of link objects
links_count

required integer

Number of link recommendations
page_title

required string

Article title
pageid

required integer

Article identifier
revid

required integer

Revision identifer