Update side image
tribeunal_update_side_imageSet or change a case side's vote-card image from a public https URL, with server-side validation for format and size.
Instructions
Set or change a case side's vote-card image, fetched from a public https URL (case owner or admin only). Downloaded and re-encoded server-side (png/jpeg/webp, <=5 MB); http, private/internal hosts and non-image content 422 with a machine-readable reason. Capped at 20 fetches/hour per account (each opens an outbound connection); a 429 past that means wait, not retry. Use the case's and side's uuid from tribeunal_get_case, not numeric ids. At creation, pass sides[].image to tribeunal_create_case instead. Returns the side {uuid, name, description, image}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | The case's uuid field (from tribeunal_get_case), not its numeric id. | |
| sideId | Yes | The uuid of the side to set the image on, from the case's sides[] array in tribeunal_get_case. | |
| imageUrl | Yes | Public https URL of the source image; http, private/internal hosts and non-image content are rejected. |