Extend your community

Photo Delete

DELETE /2/photo/:id
  • json
  • xml
Host: api.meetup.com
  • basic
api version 2

Delete specified event photo

Request Parameters

Only authorization parameters are needed. Authorized user must be the original poster of the photo or the organizer of the group the photo was posted in

Response

Returns a HTTP 200 response if the delete was successful, 401 if unauthorized.

Examples

Delete an event photo

curl -X DELETE https://api.meetup.com/2/photo/PHOTO_ID?key=API_KEY

Event Photo Upload

POST /2/photo
  • json
  • xml
Host: api.meetup.com
  • basic
api version 2

Uploads a photo for a given event

Request Parameters

A photo album or event ID must be supplied with the request, which must be a POST of content-type multipart/form-data. The currently authenticated user must be a member of the group that is hosting the event. Parameters other than photo may be passed in as a query string or within the posted content. If authenticating with OAuth, no parameters in the multipart form data should be included in the signature base string

await

If true, this ensures a response will not be returned until the upload is accessible

caption

Caption for the photo

event_id

Identifier of an event. If there is no album for this event, one will be created.

photo

The photo, encoded as multipart/form-data. The maximum file size allowed is 10MB

photo_album_id

Identifier of an existing photo album, which may be an event or group album

Response

When successful, this method responds with a status of "201 Created" and a Location header with the uploaded photo's URL. The response body contains the following elements in JSON or XML. Upon recieving the response, some photos may not be immediately accesible. If this is desirable, use the "await" request parameter

album_id

Identifier of the photo's album

created

Created time in milliseconds since the epoch

event_photo_id

Unique identifier of this photo

member

Member that uploaded the photo

member_id

Identifier of member

name

Name of member

photo_url

Link to the uploaded event photo (same as in the Location header).

site_link

URL for photo in photo album on meetup.com

title

Request Completed

updated

Last updated time in milliseconds since the epoch

API methods