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 IDint (required)

The unique id for the corpus where the article exists.

Article IDint (required)

The id for the article.

Response Parameters

headlineString

The headline stored for the article.

publishUrlString

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/"}
}