# task-advisor

Admin task advisor.
Set management node URL:

# GET /task-advisor

Get a list of all recommendation tasks

# Parameters

  • No parameters...

# Endpoint

curl -X GET http://mgmt-node:8080/api/task-advisor

# Response 200

  • taskUuidstringoptional-
  • findingobjectoptional-
    • severitystringoptional[INFO, WARNING, CRITICAL]
    • categorystringoptional[GENERIC, BACKUP, CRUSH, MON, MGR, OSD, PG, RGW, NFS, ISCSI, SMB, OS, CROIT]
    • descriptionstringoptional-
    • idstringoptional-
  • hideobjectoptional-
  • affectedobjectoptional-
  • updatedAtobjectoptional-

# Example response

[
  {
    "taskUuid": "string",
    "finding": {
      "severity": "INFO",
      "category": "GENERIC",
      "description": "string",
      "id": "string"
    },
    "hide": {},
    "affected": {},
    "updatedAt": {}
  }
]

# POST /task-advisor

Force a refresh of the recommendation list

# Parameters

  • No parameters...

# Endpoint

curl -X POST http://mgmt-node:8080/api/task-advisor

# DELETE /task-advisor/{taskUuid}

Remove a task identified by UUID

# Parameters

  • taskUuidstringpath-

# Endpoint

curl -X DELETE http://mgmt-node:8080/api/task-advisor/{taskUuid}

# PATCH /task-advisor/{taskUuid}

Hide a task from the recommendation list

# Parameters

  • taskUuidstringpath-
  • bodyobjectoptional-
    • hidebooleanoptional-

# Endpoint

curl -X PATCH http://mgmt-node:8080/api/task-advisor/{taskUuid}

# Example body

{
  "hide": true
}