image_approve
cbulock edited this page Oct 17, 2012
·
3 revisions
http://johnvanorange.com/api/image/approve
Approves an image. If the image was reported, it will resolve all reports. If the image was hidden, it will now be displayed. Must be logged on as admin to access this method.
image (required)
nsfw (optional)
sid (optional)
image - 6-digit id of the image
nsfw - If an image should be marked as approved, but NSFW, setting this to 'true' or '1' will mark the image that way.
sid - Session ID that is provided when logged in. This is also set as a cookie. Only required if the cookie sid header is not sent.