Will return Saga interpretation graph. At the moment it is HTML based but eventually the user will be able to choose the format. 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": "who is morgan freeman",
"tags": ["human"],
"splitRegex": "[\r|\n]+",
"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")