Skip to main content

Endpoint

GET /api/image/{eventID}
Retrieves all images associated with a specific event.

Path parameters

eventID
integer
required
The ID of the event to retrieve images for

Response

Returns an array of image objects.
id
integer
The unique identifier of the image
imageKey
string
The storage key/path for the image file
isVisible
boolean
Whether the image is visible to users
eventId
integer
The ID of the event this image belongs to

Example request

curl -X GET https://api.brautcloud.com/api/image/123

Example response

[
  {
    "id": 456,
    "imageKey": "events/123/image-abc123.jpg",
    "isVisible": true,
    "eventId": 123
  },
  {
    "id": 457,
    "imageKey": "events/123/image-def456.jpg",
    "isVisible": true,
    "eventId": 123
  }
]

Build docs developers (and LLMs) love