GET /images

Retrieves a list of all generated images with their metadata.

Responses

  • 200 application/json

    success

    Hide response attributes Show response attributes object
    • success boolean
    • code integer(int32)
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
      • id string

        Unique identifier for the media

      • originalFilename string

        Original filename of the media

      • url string(uri)

        URL to access the media from CDN

      • mediaType string

        Type of the media (e.g., image/png)

      • fileSize integer

        Size of the file in bytes

      • createdAt string(date-time)

        Timestamp when the media was created

      • updatedAt string(date-time)

        Timestamp when the media was last updated

  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • success boolean
    • code integer
    • errorCode string
    • message string
    • timestamp string(date-time)
GET /images
curl \
 --request GET 'http://localhost:8080/api/images' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "code": 200,
  "message": "string",
  "data": [
    {
      "id": "string",
      "originalFilename": "string",
      "url": "https://example.com",
      "mediaType": "string",
      "fileSize": 42,
      "createdAt": "2025-05-04T09:42:00Z",
      "updatedAt": "2025-05-04T09:42:00Z"
    }
  ]
}
Response examples (500)
{
  "success": false,
  "code": 42,
  "errorCode": "string",
  "message": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}