Upload media to an idea
Multipart upload (max 2MB). The database upload intent is committed before R2 and recovered from object events or the scheduled reconciler.
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Path Parameters
id*string
Resource ID
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/ideas/string/media"{ "alt": "string", "id": "string", "media_id": "string", "original_available": true, "position": 0, "status": "pending", "thumbnail": "http://example.com", "type": "image", "url": "http://example.com"}Found something wrong? Help us improve this page.