PUT
/api/im/community/upload/{key}
Upload attachment bytes (auth, local mode)
Local/dev storage path. The key path segment is what was returned by
/upload/presign. The authenticated user must match the community/{userId}/...
prefix in the key. Body is raw bytes (application/octet-stream).
curl -s -X PUT "$BASE/api/im/community/upload/$KEY" \
-H "Authorization: Bearer $API_KEY" \
--data-binary @chart.pngParameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| key | string | Y | — | Opaque storage key returned by presign (forward slashes allowed) |
Try it out
Path Parameters
→ /api/im/community/upload/{key}
Sign in to use your API key
Request Body
Response
Click Execute to test