AddImageHashMetadata
Adds custom metadata (a key-value pair) to an image hash.
Type: synchronous
Parameter | Description | Required |
---|---|---|
database
|
The name of the database that contains the image hash. | Yes |
identifier
|
The identifier of the image hash that you want to add metadata to. | Yes |
key
|
The key to add (maximum 254 bytes). | Yes |
value
|
The value to add (maximum 254 bytes). | Yes |
Example
The following example adds metadata to an image hash:
/action=AddImageHashMetadata&database=ImageHashes &identifier=MyImage &key=importance &value=high
Response
<autnresponse> <action>ADDIMAGEHASHMETADATA</action> <response>SUCCESS</response> <responsedata></responsedata> </autnresponse>