This version of the API is deprecated.
See text.get for the current version of this method.corpus.getArticle
Gives information (headline, publish url) about a saved article.
Request Parameters
| Corpus ID | int (required) |
The unique id for the corpus where the article exists.
| Article ID | int (required) |
The id for the article.
Response Parameters
| headline | String |
The headline stored for the article.
| publishUrl | String |
The publish url stored for the article.
Code Examples
JSON
//Request
{"method":"corpus.getArticle","params":{45,2},"id":0}
//Response
{
"id":0,
"result":{"headline":"this is my headline","publishUrl":"http://saplo.com/news/this-is-my-headline/"}
}