This version of the API is deprecated.

See collection.get for the current version of this method.

corpus.getInfo

Gives you information about a certain Corpus (e.g. description, language and next article id).

Request Parameters

Corpus IDint (required)

The unique id for the corpus you want information about.

Response Parameters

corpusNameString
Name set for the corpus.
corpusDescriptionString
The description set for the corpus.
langString
The language set for the corpus.
nextArticleIdint

The next id an article added to this corpus will get.

Code Examples

JSON


//Request
{"method":"corpus.getInfo","params":[45],"id":0}


//Response
{
  "method":"corpus.getInfo",
  "result":{"corpusName":"MyApp corpus", "corpusDescription":"English blog posts from my personal blog", "lang":"en", "nextArticleId":198},
  "id":0
}