Community

Upload a photo to attach to a post or comment

multipart/form-data with a file field. PNG, JPEG, GIF, or WebP up to 5 MB; the type is checked from the file contents. Pass the returned id as imageIds when posting.

post/community/images

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/community/images
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Response

id and contentType of the unattached photo

Changes

No recorded changes to this operation across all 5 revisions of this API.