POST /media/image
A picture for a launch: the raw image bytes as the body (PNG, JPEG, GIF or WebP, up to 5 MB). Answers its link.
POST https://uprally.co/api/v1/media/imageThe image itself: raw bytes, with Content-Type image/png, image/jpeg, image/gif or image/webp. Up to 5 MB.
Response
Section titled “Response”| Field | Type | Required | Meaning |
|---|---|---|---|
image | string | yes |
Errors
Section titled “Errors”Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer:
UNSUPPORTED_IMAGE: The body is not a PNG, JPEG, GIF or WebP image.IMAGE_TOO_LARGE: The image is larger than 5 MB.INVALID_DETAILS: A coin detail (name, ticker, description, picture or link) is not accepted;fieldsays which.UPLOADS_BUSY: Uploads are busy right now.RATE_LIMITED: Too many requests from this address in the last minute.