Add new tags to files
Add new tags to your files.
POST https://api.imagemash.io/v1/storage/deleteFiles
Headers
Name
Type
Description
apikey*
Your API Key
Request Body
Name
Type
Description
filePaths*
Array
Array of filePaths. Eg. /jeep.png or /cars/jeep.png
tags*
Array
Array of tags to be inserted. Each tag will be inserted to every file that filePaths contains. Eg. car, jeep
{
"successCount": 1,
"modifiedCount": 0,
"erroredCount": 2,
"erroredFiles": [
"/Asset 1.png",
"/Asset 2.png"
]
}{
msg: "error details"
details: "..."
} // Explanation of error{
// Please contact support if you are getting this error constantly.
}Example Codes
Last updated