This Choreo retrieves a summary response including a text extract of the first several sentences, as well as information about a thumbnail that represents the page. More information about this API resource can be found here.
Here's an example input set:
Title: hello world
Here's an example of the JSON returned by this Choreo:
{
"type": "standard",
"title": "\"Hello, World!\" program",
"displaytitle": "\"Hello, World!\" program",
"namespace": {
"id": 0,
"text": ""
},
"wikibase_item": "Q131303",
"titles": {
"canonical": "\"Hello,_World!\"_program",
"normalized": "\"Hello, World!\" program",
"display": "\"Hello, World!\" program"
},
"pageid": 13834,
"thumbnail": {
"source": "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/HelloWorld_Maktivism_ComputerProgramming_LEDs.jpg/320px-HelloWorld_Maktivism_ComputerProgramming_LEDs.jpg",
"width": 320,
"height": 286
},
"originalimage": {
"source": "https://upload.wikimedia.org/wikipedia/commons/0/0b/HelloWorld_Maktivism_ComputerProgramming_LEDs.jpg",
"width": 1119,
"height": 999
},
"lang": "en",
"dir": "ltr",
"revision": "879818585",
"tid": "8012fb80-2270-11e9-b7e4-74e042491b70",
"timestamp": "2019-01-23T16:10:13Z",
"description": "computer program",
"content_urls": {
"desktop": {
"page": "https://en.wikipedia.org/wiki/\"Hello,_World!\"_program",
"revisions": "https://en.wikipedia.org/wiki/\"Hello,_World!\"_program?action=history",
"edit": "https://en.wikipedia.org/wiki/\"Hello,_World!\"_program?action=edit",
"talk": "https://en.wikipedia.org/wiki/Talk:\"Hello,_World!\"_program"
},
"mobile": {
"page": "https://en.m.wikipedia.org/wiki/\"Hello,_World!\"_program",
"revisions": "https://en.m.wikipedia.org/wiki/Special:History/\"Hello,_World!\"_program",
"edit": "https://en.m.wikipedia.org/wiki/\"Hello,_World!\"_program?action=edit",
"talk": "https://en.m.wikipedia.org/wiki/Talk:\"Hello,_World!\"_program"
}
},
"api_urls": {
"summary": "https://en.wikipedia.org/api/rest_v1/page/summary/\"Hello,_World!\"_program",
"metadata": "https://en.wikipedia.org/api/rest_v1/page/metadata/\"Hello,_World!\"_program",
"references": "https://en.wikipedia.org/api/rest_v1/page/references/\"Hello,_World!\"_program",
"media": "https://en.wikipedia.org/api/rest_v1/page/media/\"Hello,_World!\"_program",
"edit_html": "https://en.wikipedia.org/api/rest_v1/page/html/\"Hello,_World!\"_program",
"talk_page_html": "https://en.wikipedia.org/api/rest_v1/page/html/Talk:\"Hello,_World!\"_program"
},
"extract": "A \"Hello, World!\" program generally is a computer program that outputs or displays the message \"Hello, World!\". Because it is very simple in most programming languages, it is often used to illustrate the basic syntax of a programming language and is often the first program those learning to code write.",
"extract_html": "<p>A <b>\"Hello, World!\" program</b> generally is a computer program that outputs or displays the message \"Hello, World!\". Because it is very simple in most programming languages, it is often used to illustrate the basic syntax of a programming language and is often the first program those learning to code write.</p>"
}