- Home
- Resources
- DataContextsResource
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:
name,
displayName,
services.
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. |
PUT /dataContexts
Update a datacontext. Following are are required fields of ApiDataContext:
ApiDataContext#getName(),
services.
Request Body
media type |
data type |
description |
application/json |
ApiDataContext
(JSON) |
DataContext to be updated. |
Response Body
media type |
data type |
description |
application/json |
ApiDataContext
(JSON) |
DataContext updated. |
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. |