Skip Main Navigation
Page Content

Media

GET /media/:id/

Return an image for a given id.

Parameters

Takes no parameters

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-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.