ver. 1692 (3f1f7a6)
Edit an existing log entry image
This method allows you to change properties of an existing log entry image. If you need to change the image itself, then you'll need to delete it and re-add it.
At least one of the three parameters caption, is_spoiler and position must be supplied.
ID of the log entry image to be edited. The user of your Access Token must be the author of the associated log entry.
Plain-text string, a new caption for the image.
Please note that providing an empty value indicates that your user would like to remove the caption, which will often not be allowed (then success will be false).
Note: Some OC sites support only BMP (Basic Multilingual Plane) Unicode characters on some database fields. If you submit characters from outside of the BMP plane (known as "supplementary planes", they include characters such as smiley symbols), then keep in mind that your text might be saved garbled.
One of the following:
If given, it indicates the wanted position of this image on the log entry's list of images (do not supply this parameter if you do not want to change the order). This parameter takes the same 0-based value as described in the add method.
Please note, that only OCDE-based Opencaching installations allow for the order of log images to be changed. OCPL-based installations will ignore this parameter (you can check the position field in the response to verify if the order has actually been changed or not).
Default value: en
Pipe-separated list of ISO 639-1 language codes. This indicates the order of preference in which language will be chosen for error messages.
|format||optional||Standard common formatting argument.|
|callback||optional||Standard common formatting argument.|
|Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization.|
A dictionary of the following structure: