Will return Saga interpretation graph in the format specified. By default it returns the graph in HTML format which is the one used by the UI. It also can return JSON or plain text. Returns the information of the solution currently being used. A solution is basically the set of Elasticsearch indices in use.POST saga/api/v2/processText
Parameters
Request Examples
curl -X POST \
http://localhost:8080/saga/api/v2/processText \
-H 'Content-Type: application/json' \
-d '
{
"q": "I like traveling with Air Paris",
"tags": ["airline"],
"splitRegex": "[\r|\n]+",
"type": "text",
"pretty": true
}'
Response
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")
GET saga/api/v2/solution
Request Examples
curl -X GET \
http://localhost:8080/saga/api/v2/solution \
-H 'Content-Type: application/json' \
-d '
{
}'
Response
$action.getHelper().renderConfluenceMacro("$codeS$body$codeE")