{"action":"created","issue":{"url":"https://api.github.com/repos/hubsy-io/timelapse/issues/2","repository_url":"https://api.github.com/repos/hubsy-io/timelapse","labels_url":"https://api.github.com/repos/hubsy-io/timelapse/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hubsy-io/timelapse/issues/2/comments","events_url":"https://api.github.com/repos/hubsy-io/timelapse/issues/2/events","html_url":"https://github.com/hubsy-io/timelapse/issues/2","id":169042323,"number":2,"title":"Create a config file","user":{"login":"rimutaka","id":5926028,"avatar_url":"https://avatars.githubusercontent.com/u/5926028?v=3","gravatar_id":"","url":"https://api.github.com/users/rimutaka","html_url":"https://github.com/rimutaka","followers_url":"https://api.github.com/users/rimutaka/followers","following_url":"https://api.github.com/users/rimutaka/following{/other_user}","gists_url":"https://api.github.com/users/rimutaka/gists{/gist_id}","starred_url":"https://api.github.com/users/rimutaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimutaka/subscriptions","organizations_url":"https://api.github.com/users/rimutaka/orgs","repos_url":"https://api.github.com/users/rimutaka/repos","events_url":"https://api.github.com/users/rimutaka/events{/privacy}","received_events_url":"https://api.github.com/users/rimutaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hubsy-io/timelapse/milestones/1","html_url":"https://github.com/hubsy-io/timelapse/milestones/Milestone%201","labels_url":"https://api.github.com/repos/hubsy-io/timelapse/milestones/1/labels","id":1957828,"number":1,"title":"Milestone 1","description":"First milestone","creator":{"login":"eafzali","id":1947365,"avatar_url":"https://avatars.githubusercontent.com/u/1947365?v=3","gravatar_id":"","url":"https://api.github.com/users/eafzali","html_url":"https://github.com/eafzali","followers_url":"https://api.github.com/users/eafzali/followers","following_url":"https://api.github.com/users/eafzali/following{/other_user}","gists_url":"https://api.github.com/users/eafzali/gists{/gist_id}","starred_url":"https://api.github.com/users/eafzali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eafzali/subscriptions","organizations_url":"https://api.github.com/users/eafzali/orgs","repos_url":"https://api.github.com/users/eafzali/repos","events_url":"https://api.github.com/users/eafzali/events{/privacy}","received_events_url":"https://api.github.com/users/eafzali/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":4,"state":"open","created_at":"2016-08-23T12:31:14Z","updated_at":"2016-08-30T02:32:57Z","due_on":"2016-08-25T00:00:00Z","closed_at":null},"comments":10,"created_at":"2016-08-03T03:55:47Z","updated_at":"2016-08-30T20:42:49Z","closed_at":null,"body":"Format: JSON\r\n\r\nDifferent parts of the file are specified in different sections of readme.md.\r\nThis issue reflects only a snapshot in time of what is in the config file.\r\n\r\n* **file name**: config.json\r\n* **file location**: the root of the bucket and the root of the camera folder. The format is identical at both levels, but the camera level overwrites the bucket level. \r\n\r\nRead and store the config in a global var outside of the handler function. It will give us some form of caching. Since the function can be invoked for different cameras the cache needs to be qualified using a key for that scope.\r\n\r\n### File merging rules\r\n\r\nTop level tags in the lower level file replace the tag in the root. E.i. the entire \"resize\" tag should be replaced. If the tag is empty then treat it as removal of the top level tag.\r\n"},"comment":{"url":"https://api.github.com/repos/hubsy-io/timelapse/issues/comments/243574102","html_url":"https://github.com/hubsy-io/timelapse/issues/2#issuecomment-243574102","issue_url":"https://api.github.com/repos/hubsy-io/timelapse/issues/2","id":243574102,"user":{"login":"rimutaka","id":5926028,"avatar_url":"https://avatars.githubusercontent.com/u/5926028?v=3","gravatar_id":"","url":"https://api.github.com/users/rimutaka","html_url":"https://github.com/rimutaka","followers_url":"https://api.github.com/users/rimutaka/followers","following_url":"https://api.github.com/users/rimutaka/following{/other_user}","gists_url":"https://api.github.com/users/rimutaka/gists{/gist_id}","starred_url":"https://api.github.com/users/rimutaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rimutaka/subscriptions","organizations_url":"https://api.github.com/users/rimutaka/orgs","repos_url":"https://api.github.com/users/rimutaka/repos","events_url":"https://api.github.com/users/rimutaka/events{/privacy}","received_events_url":"https://api.github.com/users/rimutaka/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T20:42:49Z","updated_at":"2016-08-30T20:42:49Z","body":"It now has bucket-wide \"s3:GetObject\", \"s3:ListBucket\". I will upload a few files during the day and see how it goes."}}
{"actor":{"display_login":"rimutaka"}}