This version of the API is deprecated.
See group.create for the current version of this method.context.createContext
Creates a new context for your user which articles can be matched against. A context is a set of articles that you have defined and created a semantic context for. I.e. this can be a Sport Context, Technology Context etc.
Request Parameters
| Context Name | String (required) |
Provide a name for your new context. This must be unique for your account.
| Context Description | String |
Provide a description for your new context.
Response Parameters
| contextId | int |
A unique id for your newly created context.
Code Examples
JSON
//Request
{"method":"context.createContext","params":["My Soccer Context","This is a context that contains my favorite soccer articles."],"id":0}
//Response
{"id":0,"result":{"contextId":5}}