Request an upload target for a post image
community_request_post_image_uploadA presigned target plus the URL the image will resolve to. When duplicate is true the bytes are already stored and only publicUrl matters.
POST /api/v1/community/attachments/upload-urls
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | ||
| mimeType | Yes | An image type; the error names the accepted list. | |
| sizeBytes | Yes | ||
| contentHash | No | `sha256:<hex>` of the bytes. Supplying it buys store-once dedup — identical bytes resolve to the object that already exists, `duplicate` comes back true, and there is nothing to upload. |