Available since version: 1.8.3
This function allows you to check whether image with given image data exists.
Parameter | Type | Optional | Description | Details |
---|---|---|---|---|
nodeids | array | yes | List of node IDs where to search for given image | |
imageid | string | yes | Image ID | |
name | string | yes | Name | |
imagetype | string | No | Type |
Parameter | Description |
---|---|
result | Operation successful. Result will contain boolean variable. |
error | In case of any errors |
Check if image icon with name Hub exists:
{
"jsonrpc":"2.0",
"method":"image.exists",
"params":{
"name": "Hub",
"imagetype": 1
},
"auth":"3a57200802b24cda67c4e4010b50c065",
"id":2
}
Image exists: