DataContextsResource Resource

GET /dataContexts

Get all the datacontexts.

Response Body
media type data type description
application/json ApiDataContextList (JSON) List of datacontext.

POST /dataContexts

Create a datacontext. Following are are required fields of ApiDataContext ApiDataContext#setName(String)
ApiDataContext#setDisplayName(String)
ApiDataContext#setServices(java.util.List)

Request Body
media type data type description
application/json ApiDataContext (JSON) DataContext to be created.
Response Body
media type data type description
application/json ApiDataContext (JSON) DataContext created.

DELETE /dataContexts/{dataContextName}

Delete a datacontext.

Request Parameters
name type description default
dataContextName path Name of the datacontext. n/a
Response Body
media type data type description
application/json ApiDataContext (JSON) Deleted datacontext.

GET /dataContexts/{dataContextName}

Reads information about a datacontext.

Request Parameters
name type description default
dataContextName path Name of the datacontext. n/a
Response Body
media type data type description
application/json ApiDataContext (JSON) Detailed description of the datacontext.