Skip to content

Instantly share code, notes, and snippets.

@ethanresnick
Forked from rgardner/post_event.json
Last active August 29, 2015 14:07
Show Gist options
  • Save ethanresnick/1c9210239d255d6fcc44 to your computer and use it in GitHub Desktop.
Save ethanresnick/1c9210239d255d6fcc44 to your computer and use it in GitHub Desktop.
More detailed post event
{
"events": {
"title": "Say *what* the event will be covering. No need to mention the intiative or speaker names, usually.",
"shortTitle": "A shorter version of the above (only necessary if the above is longer than 26 characters)",
"description": "A sentence or two about *why* someone should come--what will they get out of the thing they learn.",
"details": "Exactly what attendees will make, what they should install in advance, how to get into the building, etc. (Does not include the speakers' bios, if any.)",
"startDateTime": "2014-09-24T22:00:00.000Z",
"endDateTime": "2014-09-25T00:00:00.000Z",
"rsvpUrl": "https://www.facebook.com/events/1498602387045198/",
"isInternal": false,
"links": {
"teams": {
"ids": ["53f54dd98d1e62ff12539dc2"],
"type": "teams"
},
"venue": {
"id": "541f58222efd90b12a91cd7d",
"type": "venues"
},
"presenters": {
"ids": [],
"type": "presenters"
},
"coorganizers": {
"ids": [],
"type": "organizations"
},
"status": {
"id": "54837a0e64007acb8c93e30f",
"type": "event-statuses"
},
"addedBy": {
"id": "53fe5ebe627d5f43512ce1db",
"type": "people"
}
}
}
}
@ethanresnick
Copy link
Author

For the "teams", "venue", "presenters", and "coorganizers" properties, make sure to use the ids of the teams, venue, presenters, and coorganizers that you actually want to link (if any). Those can be found from http://api.tnyu.org/v1.0/teams, http://api.tnyu.org/v1.0/venues, http://api.tnyu.org/v1.0/presenters, and http://api.tnyu.org/v1.0/organizations respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment