Dirigible API reference
Endpoints · Image boards
Add images
Docs / Image boards / Add images
POST
https://node.dirigible.app/v1/image-boards/{id}/imagesRecords one or more images on a board. Upload each file first via POST /v1/files, then pass the returned storagePath and url here (with optional caption and dimensions). Returns the board's updated image list.
Authentication
Bearer API key required.
Method
POST · JSON
Sync
Changes appear live in the app.
Parameters
idstringrequiredBoard id.
Request body (JSON)
Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl -X POST "https://node.dirigible.app/v1/image-boards/<id>/images" \
-H "Authorization: Bearer dg_your_key" \
-H "Content-Type: application/json" \
-d '{ "images": [ { "url": "/api/files/moodboards/api/…/x.jpg", "storagePath": "moodboards/api/…/x.jpg", "caption": "atrium", "width": 1600, "height": 1067 } ] }'curlruns against the live API
Sample response
[
{ "id": "img1", "url": "/api/files/moodboards/api/…/x.jpg", "caption": "atrium", "width": 1600, "height": 1067 }
]json