Skip to content

List event gallery images​

GET
/api/v2/events/{eventId}/images

Returns all gallery images for an event, ordered by their ordering field

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event ID

Type
integer
Required
Format
"int64"

Query Parameters

published

Filter by published status

Type
boolean

Responses​

List of event images

application/json
JSON
{
  
"data": [
  
]
}

Playground​

Authorization
Variables
Key
Value

Samples​


Upload event gallery image​

POST
/api/v2/events/{eventId}/images

Upload a new gallery image for an event. Supports both multipart/form-data and base64 JSON uploads.

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event ID

Type
integer
Required
Format
"int64"

Request Body​

object

Image file to upload

Format"binary"

Optional title for the image

Whether the image is published (default: true)

Defaulttrue

Responses​

Image uploaded successfully

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Delete event gallery image​

DELETE
/api/v2/events/{eventId}/images/{id}

Delete a single gallery image

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event ID

Type
integer
Required
Format
"int64"
id*

Image ID

Type
integer
Required
Format
"int64"

Responses​

Image deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Bulk delete event gallery images​

POST
/api/v2/events/{eventId}/images/bulk-delete

Delete multiple gallery images at once

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event ID

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
1,
  
  
  
2,
  
  
  
3
  
  
]
  
]
}

Responses​

Images deleted successfully

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Reorder event gallery images​

POST
/api/v2/events/{eventId}/images/reorder

Reorder gallery images by providing ALL image IDs for the event in the desired order. The position in the array determines the new ordering value (0-based). You must include all image IDs - partial updates are not allowed.

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

eventId*

Event ID

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
3,
  
  
  
1,
  
  
  
2
  
  
]
  
]
}

Responses​

Images reordered successfully

application/json
JSON
{
  
"data": [
  
]
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Powered by VitePress OpenAPI