Context Store implements a RESTful web services interface, the ContextStoreRest service, to provide the required services to the clients.
The ContextStoreRest service identifies the resources using HTTP or HTTPS URLs and returns the output to the clients using JavaScript Object Notation (JSON).
Using the contextId, or optionally an aliasId, through the ContextStoreRest snap-in service, you can create, read, update and delete context entries and values. You can also group related context entries together by assigning a groupId when the context entry is created or by updating an existing context entry with a groupId.
The required fields for Context Store object are as follows:
contextId: A unique identifier for the context. If you do not specify a contextId while creating a context, the system generates a unique id. A contextId can be of maximum 255 characters.
data: Represented as key/value pairs.