Skip to main content
REST API reference

Retrieve the anti-ransomware version of the nodes in the cluster

GET /security/anti-ransomware

Introduced In: 9.16

Retrieves the anti-ransomware version of the nodes in the cluster.

  • security anti-ransomware show

Parameters

Name Type In Required Description

fields

array[string]

query

False

Specify the fields to return.

return_timeout

integer

query

False

The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.

  • Default value: 1

  • Max value: 120

  • Min value: 0

Response

Status: 200, Ok
Name Type Description

nodes

array[anti_ransomware_node]

uri

string

URI of the anti-ransomware package through a server

Example response
{
  "nodes": [
    {
      "name": "node1",
      "version": "1.0"
    }
  ],
  "uri": "http://server/package"
}

Error

Status: Default, Error
Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

anti_ransomware_node

Name Type Description

name

string

Name of the node.

version

string

Anti-ransomware version.

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.