{"action":"created","issue":{"url":"https://api.github.com/repos/amc-ucdenver/website/issues/2","labels_url":"https://api.github.com/repos/amc-ucdenver/website/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/amc-ucdenver/website/issues/2/comments","events_url":"https://api.github.com/repos/amc-ucdenver/website/issues/2/events","html_url":"https://github.com/amc-ucdenver/website/issues/2","id":79930275,"number":2,"title":"Past Event Form","user":{"login":"Wmaxlees","id":10747067,"avatar_url":"https://avatars.githubusercontent.com/u/10747067?v=3","gravatar_id":"","url":"https://api.github.com/users/Wmaxlees","html_url":"https://github.com/Wmaxlees","followers_url":"https://api.github.com/users/Wmaxlees/followers","following_url":"https://api.github.com/users/Wmaxlees/following{/other_user}","gists_url":"https://api.github.com/users/Wmaxlees/gists{/gist_id}","starred_url":"https://api.github.com/users/Wmaxlees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wmaxlees/subscriptions","organizations_url":"https://api.github.com/users/Wmaxlees/orgs","repos_url":"https://api.github.com/users/Wmaxlees/repos","events_url":"https://api.github.com/users/Wmaxlees/events{/privacy}","received_events_url":"https://api.github.com/users/Wmaxlees/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/amc-ucdenver/website/labels/back%20end","name":"back end","color":"000000"},{"url":"https://api.github.com/repos/amc-ucdenver/website/labels/events","name":"events","color":"c7def8"},{"url":"https://api.github.com/repos/amc-ucdenver/website/labels/server","name":"server","color":"ffffff"},{"url":"https://api.github.com/repos/amc-ucdenver/website/labels/website","name":"website","color":"888888"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/amc-ucdenver/website/milestones/1","html_url":"https://github.com/amc-ucdenver/website/milestones/Planning%20Complete","labels_url":"https://api.github.com/repos/amc-ucdenver/website/milestones/1/labels","id":1127086,"number":1,"title":"Planning Complete","description":"All of the initial planning will be completed at this point. Enough information should be available for work to begin on the actual programming.","creator":{"login":"Wmaxlees","id":10747067,"avatar_url":"https://avatars.githubusercontent.com/u/10747067?v=3","gravatar_id":"","url":"https://api.github.com/users/Wmaxlees","html_url":"https://github.com/Wmaxlees","followers_url":"https://api.github.com/users/Wmaxlees/followers","following_url":"https://api.github.com/users/Wmaxlees/following{/other_user}","gists_url":"https://api.github.com/users/Wmaxlees/gists{/gist_id}","starred_url":"https://api.github.com/users/Wmaxlees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wmaxlees/subscriptions","organizations_url":"https://api.github.com/users/Wmaxlees/orgs","repos_url":"https://api.github.com/users/Wmaxlees/repos","events_url":"https://api.github.com/users/Wmaxlees/events{/privacy}","received_events_url":"https://api.github.com/users/Wmaxlees/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2015-05-23T19:14:29Z","updated_at":"2015-05-23T23:16:27Z","due_on":"2015-05-30T06:00:00Z","closed_at":null},"comments":4,"created_at":"2015-05-23T19:17:08Z","updated_at":"2015-05-23T23:28:01Z","closed_at":null,"body":"As a developer, I would like to know the form of objects containing information about the past events"},"comment":{"url":"https://api.github.com/repos/amc-ucdenver/website/issues/comments/104954847","html_url":"https://github.com/amc-ucdenver/website/issues/2#issuecomment-104954847","issue_url":"https://api.github.com/repos/amc-ucdenver/website/issues/2","id":104954847,"user":{"login":"robfitzgerald","id":7003022,"avatar_url":"https://avatars.githubusercontent.com/u/7003022?v=3","gravatar_id":"","url":"https://api.github.com/users/robfitzgerald","html_url":"https://github.com/robfitzgerald","followers_url":"https://api.github.com/users/robfitzgerald/followers","following_url":"https://api.github.com/users/robfitzgerald/following{/other_user}","gists_url":"https://api.github.com/users/robfitzgerald/gists{/gist_id}","starred_url":"https://api.github.com/users/robfitzgerald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfitzgerald/subscriptions","organizations_url":"https://api.github.com/users/robfitzgerald/orgs","repos_url":"https://api.github.com/users/robfitzgerald/repos","events_url":"https://api.github.com/users/robfitzgerald/events{/privacy}","received_events_url":"https://api.github.com/users/robfitzgerald/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T23:28:01Z","updated_at":"2015-05-23T23:28:01Z","body":"i'm addressing the original issue here, given the current idea to write events in orgsync and aggregate to our site using their API.\r\n\r\nhere's their object:\r\n```\r\n[\r\n  {\r\n    \"name\": \"Test\",\r\n    \"description\": \"\",\r\n    \"umbrella_category\": null,\r\n    \"location\": \"There is no location entered for this event.\",\r\n    \"org_id\": 225,\r\n    \"is_approved\": true,\r\n    \"occurrences\": [\r\n      {\r\n        \"ends_at\": \"2012-02-22T18:30:00Z\",\r\n        \"is_all_day\": false,\r\n        \"starts_at\": \"2012-02-22T17:30:00Z\"\r\n      }\r\n    ],\r\n    \"is_public\": true,\r\n    \"html_description\": \"\",\r\n    \"id\": 345266,\r\n    \"rsvps\": 0,\r\n    \"category\": {\r\n      \"name\": \"Community Service\",\r\n      \"id\": 45\r\n    }\r\n  }\r\n]\r\n```\r\nwe can check the ends at date for all results in the return object (an array of event objects), and remove objects in the array that haven't ended before 'today'.  then we have the list of past events."}}