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 ID | int (required) |
The unique id for the corpus you want information about.
Response Parameters
| corpusName | String |
Name set for the corpus.
| corpusDescription | String |
The description set for the corpus.
| lang | String |
The language set for the corpus.
| nextArticleId | int |
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
}