...
Interface definition | Description |
---|---|
Content-Type | application/json |
Operation | POSTPUT |
URI | /api/v1/templates |
Request Body
...
Attribute | Required | Type | Description |
---|---|---|---|
id | Y | String | Identifier for the template |
anchorschema | Y | String | schema set on which xpath query should be executed |
template | Y | String | xpath template |
...
Interface definition | Description |
---|---|
Content-Type | application/json |
Operation | GET |
URI | /api/v1/templates/{anchorschema}/{id} |
Response Codes
Code | Description |
---|---|
200 | Template found and returned |
404 | Template not found |
500 | Internal server error |
...
Interface definition | Description |
---|---|
Content-Type | application/json |
Operation | DELETE |
URI | /api/v1/templates/{anchorschema}/{id} |
Response Codes
Code | Description |
---|---|
200 | Template deleted successfully |
400 | Bad Request (Error in request attributes) |
500 | Internal server error |
...
Interface definition | Description |
---|---|
Content-Type | application/json |
Operation | POST |
URI | /api/v1/execute/{anchorschema}/{id} |
Request Body
Attribute | Required | Type | Description |
---|---|---|---|
Input | Y | JSON blob | Input dictionary to be applied to the template |
...