PATCH /image/:id¶
This API updates various attributes of the specified image.
Request Structure¶
The URL parameter :id
is the ID of the image to modify.
The structure of the request is:
{
// New textual note attached to the image
"note": $string?,
// See docs for POST /handle/:handle/image for a description of
// the permissions object.
"permissions": $object?,
}
For the definition of substructures such as permissions
, see
POST /handle/:handle/image.
Response Structure¶
The structure of the response is:
{
"error": $bool // Whether an error occurred
}