For the complete documentation index, see llms.txt. This page is also available as Markdown.

Media

Create a media record and get an upload URL

post
Authorizations
AuthorizationstringRequired

Bearer Authorization with jwt token

Path parameters
eventIdstring · uuidRequired
Body
fileNamestringRequired
checksumstringRequired
mimeTypestringRequired
byteSizenumber · floatRequired
Responses
200

Success

application/json
post/public-api/v1/event/{eventId}/media
POST /public-api/v1/event/{eventId}/media HTTP/1.1
Host: esaas-api.eventx.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 266

{
  "fileName": "text",
  "checksum": "text",
  "mimeType": "text",
  "byteSize": 1,
  "metadata": {
    "eventId": "123e4567-e89b-12d3-a456-426614174000",
    "regFormId": "123e4567-e89b-12d3-a456-426614174000",
    "attendeeId": "123e4567-e89b-12d3-a456-426614174000",
    "source": "attendee_registration"
  }
}
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "fileName": "text",
    "mimeType": "text",
    "uploadUrl": "text"
  }
}

Mark a media record as uploaded

put
Authorizations
AuthorizationstringRequired

Bearer Authorization with jwt token

Path parameters
mediaIdstring · uuidRequired
eventIdstring · uuidRequired
Responses
put/public-api/v1/event/{eventId}/media/{mediaId}/mark-uploaded
PUT /public-api/v1/event/{eventId}/media/{mediaId}/mark-uploaded HTTP/1.1
Host: esaas-api.eventx.io
Authorization: YOUR_API_KEY
Accept: */*

Get a media record

get
Authorizations
AuthorizationstringRequired

Bearer Authorization with jwt token

Path parameters
mediaIdstring · uuidRequired
eventIdstring · uuidRequired
Responses
200

Success

application/json
dataany ofRequired
or
or
get/public-api/v1/event/{eventId}/media/{mediaId}
GET /public-api/v1/event/{eventId}/media/{mediaId} HTTP/1.1
Host: esaas-api.eventx.io
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "originalFilename": "text",
    "originalFilepath": "text",
    "mimeType": "text",
    "type": "image",
    "size": 1
  }
}

Delete a media record

delete
Authorizations
AuthorizationstringRequired

Bearer Authorization with jwt token

Path parameters
mediaIdstring · uuidRequired
eventIdstring · uuidRequired
Responses
delete/public-api/v1/event/{eventId}/media/{mediaId}
DELETE /public-api/v1/event/{eventId}/media/{mediaId} HTTP/1.1
Host: esaas-api.eventx.io
Authorization: YOUR_API_KEY
Accept: */*

Last updated