MLTF - OPTIONS TREE REST API’S

MLTF - OPTIONS TREE REST API’S

 

URL: <jira_base_url>/rest/mltf-rest/1.0/options-tree/<id>

Method: GET

Result:

{ "self": "<jira_base_url>/rest/mltf-rest/1.0/options-tree/52", "id": 52, "value": “Tech” }

 

URL: <jira_base_url>/rest/mltf-rest/1.0/options-tree

Method: GET

Result: 

[ { "self": "<jira_base_url>/rest/mltf-rest/1.0/options-tree/52", "id": 52, "value": “Tech” } ]

 

URL: <jira_base_url>/rest/mltf-rest/1.0/options-tree

Method: POST

Content Type: application/json

Body:

{ "name": "Tech" }

Result:

{ "self": "<jira_base_url>/rest/mltf-rest/1.0/options-tree/52", "id": 52, "value": "Tech" }

 

URL: <jira_base_url>/rest/mltf-rest/1.0/options-tree/<id>

Method: PUT

Content Type: application/json

Body:

{ "name": "Tech Updated” }

Result:

{ "self": "<jira_base_url>/rest/mltf-rest/1.0/options-tree/52”, "id": 52, "value": "Tech Updated” }

 

URL: <jira_base_url>/rest/mltf-rest/1.0/options-tree/52

Method: DELETE