Register Uploaded Image
Registers an existing public image URL under Cards images (used when the monolith uploads to R2 first).
Request Example
Section titled “Request Example”curl --request POST \ --url 'https://lxp.prod.api.toolzz.media/upload/image/register' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "source": "https://assets.lms.homol.toolzz.media/path/to/image.png" }'Response Example
Section titled “Response Example”{ "success": true, "source": "https://assets.lms.homol.toolzz.media/path/to/image.png", "images_id": 882}Request description
Section titled “Request description”| Parameter | Type | Description | Required |
|---|---|---|---|
source | string | Public URL under CardsS3PublicBaseUrl. | Yes |
Error responses
Section titled “Error responses”| HTTP | Code | When |
|---|---|---|
| 400 | invalid_argument | URL missing or not under configured public base |
| 401 / 403 | — | Auth / admin failure |
Security
Section titled “Security”- Admin only.
sourcemust be under the configured public upload base URL.