Skip Main Navigation
Page Content

Media

GET /media/:id/

Return an image for a given id.

Parameters

Name Type Required Description
width integer No Optional thumbnail width (you can specify only this value or also height)
height integer No Optional thumbnail height (you can specify only this value or also width)

Errors

No endpoint-specific errors

GET /media/upload/

Parameters

Name Type Required Description
type string Yes The type of image to upload (Valid choices are: image-event-logo, image-event-logo-preserve-quality, image-event-view-from-seat, image-organizer-logo, image-user-photo, or image-structured-content)

Errors

No endpoint-specific errors

See Media Uploads.

POST /media/upload/

Parameters

Name Type Required Description
upload_token string Yes The upload_token from the GET portion of the upload
crop_mask.top_left.x integer No X coordinate for top-left corner of crop mask
crop_mask.top_left.y integer No Y coordinate for top-left corner of crop mask
crop_mask.width integer No Crop mask width
crop_mask.height integer No Crop mask height

Errors

  • BAD_FILE: The file you are attempting to upload is not valid.
  • BAD_FORMAT: The file format you are attempting to use is not supported.
  • BAD_UPLOAD_TOKEN: The upload token you are attempting to use is invalid.
  • S3_ERROR: We encountered an error while uploading to S3. Please try again.

See Media Uploads.