{"action":"created","comment":{"url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/comments/196247236","pull_request_review_id":129759883,"id":196247236,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjI0NzIzNg==","diff_hunk":"@@ -0,0 +1,446 @@\n+/*\n+Copyright 2018 Resin.io\n+\n+Licensed under the Apache License, Version 2.0 (the \"License\");\n+you may not use this file except in compliance with the License.\n+You may obtain a copy of the License at\n+\n+   http://www.apache.org/licenses/LICENSE-2.0\n+\n+Unless required by applicable law or agreed to in writing, software\n+distributed under the License is distributed on an \"AS IS\" BASIS,\n+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+See the License for the specific language governing permissions and\n+limitations under the License.\n+*/\n+\n+import * as GithubSDK from '@octokit/rest';\n+import {\n+\tIssuesCreateCommentParams,\n+\tIssuesCreateParams,\n+\tIssuesGetCommentParams,\n+\tIssuesGetCommentsParams,\n+\tIssuesGetEventsParams,\n+\tIssuesGetParams,\n+} from '@octokit/rest';\n+import * as Promise from 'bluebird';\n+import * as jwt from 'jsonwebtoken';\n+import * as _ from 'lodash';\n+import * as moment from 'moment';\n+import * as request from 'request-promise';\n+import { SyncIntegration } from '../sync-integration';\n+import {\n+\tAudience,\n+\tChatContext,\n+\tInstanceDefinition,\n+\tMessage,\n+\tThread,\n+} from '../sync-types';\n+import { GitHubAuth } from './github-types';\n+\n+export class Integration extends SyncIntegration {\n+\tpublic static build(\n+\t\tinstanceDefinition: InstanceDefinition,\n+\t\tauth: GitHubAuth,\n+\t\tretries = Integration.defaultRetries\n+\t): Promise<Integration> {\n+\t\tconst integration = new Integration(instanceDefinition, auth);\n+\t\treturn integration.authenticate(retries).return(integration);\n+\t}\n+\n+\tprivate static defaultRetries = 4;\n+\n+\tprivate static issueParamsFromUrl(\n+\t\turl: string\n+\t): IssuesGetParams & IssuesGetEventsParams & IssuesGetCommentsParams {\n+\t\tconst urlParts = url.split('/');\n+\t\tconst issue = parseInt(urlParts[6], 10);\n+\t\tif (!Number.isFinite(issue)) {\n+\t\t\tthrow new Error('Issue URL must contain an issue number.');\n+\t\t}\n+\t\treturn {\n+\t\t\t// This duplication is required by the types in @octokit/rest/index.d.ts\n+\t\t\t// Despite being deprecated by the API\n+\t\t\tissue_number: issue,\n+\t\t\tnumber: issue,\n+\t\t\towner: urlParts[3],\n+\t\t\trepo: urlParts[4],\n+\t\t\tper_page: 100,\n+\t\t};\n+\t}\n+\n+\tprivate static commentParamsFromUrl(url: string): IssuesGetCommentParams {\n+\t\tconst urlParts = url.split('/');\n+\t\tconst comment = urlParts[6].split('-')[1];\n+\t\treturn {\n+\t\t\t// This duplication is required by the types in @octokit/rest/index.d.ts\n+\t\t\t// Despite being deprecated by the API\n+\t\t\tcomment_id: comment,\n+\t\t\tid: comment,\n+\t\t\towner: urlParts[3],\n+\t\t\trepo: urlParts[4],\n+\t\t};\n+\t}\n+\n+\tprivate static translateMessage(data: any): Message {\n+\t\treturn {\n+\t\t\taudience: 'public' as Audience,\n+\t\t\tbody: data.body,\n+\t\t\thandle: data.user.login,\n+\t\t\t// We use created at because that would represent the message's position in an\n+\t\t\t// interleaved view\n+\t\t\ttimestamp: data.created_at,\n+\t\t\turl: data.html_url,\n+\t\t};\n+\t}\n+\n+\tprivate static translateThread(data: any, extraTags?: string[]): Thread {\n+\t\tconst labels: string[] = _.map(data.labels, 'name');\n+\t\treturn {\n+\t\t\ttags: _.union(labels, extraTags),\n+\t\t\ttitle: data.title,\n+\t\t\turl: data.html_url,\n+\t\t};\n+\t}\n+\n+\tprivate readonly githubSDK: GithubSDK;\n+\tprivate readonly auth: GitHubAuth;\n+\tprivate readonly retries: number;\n+\tprivate authExpiry: moment.Moment;\n+\n+\tprotected constructor(\n+\t\tinstanceDefinition: InstanceDefinition,\n+\t\tauth: GitHubAuth,\n+\t\tretries = Integration.defaultRetries\n+\t) {\n+\t\tsuper(instanceDefinition, auth);\n+\t\tthis.githubSDK = new GithubSDK();\n+\t\tthis.auth = auth;\n+\t\tthis.retries = retries;\n+\t}\n+\n+\t/**\n+\t * Sets a context as no longer current, using whatever action the service expects.\n+\t * @param {string} url        - ID of the context to archive\n+\t * @returns {Bluebird<void>}  - Promise that resolves once complete\n+\t */\n+\tpublic archiveContext(url: string, retries = this.retries): Promise<void> {\n+\t\treturn this.authenticate(0)\n+\t\t\t.tap(() => {\n+\t\t\t\tconst params = Integration.issueParamsFromUrl(url);\n+\t\t\t\treturn this.githubSDK.issues.edit({\n+\t\t\t\t\tnumber: params.number,\n+\t\t\t\t\towner: params.owner,\n+\t\t\t\t\trepo: params.repo,\n+\t\t\t\t\tstate: 'closed',\n+\t\t\t\t});\n+\t\t\t})\n+\t\t\t.catch((error) => {\n+\t\t\t\tif (retries > 0) {","path":"src/sync/integrations/github.ts","position":139,"original_position":139,"commit_id":"2c2cf2c20e0279611e1aac64400eb51c9be75cc3","original_commit_id":"2c2cf2c20e0279611e1aac64400eb51c9be75cc3","user":{"login":"jviotti","id":2192773,"node_id":"MDQ6VXNlcjIxOTI3NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2192773?v=4","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"body":"I noticed we're including this retry logic in a lot of places. I remember there are some existing packages in npm that implement retries over promises, and therefore we could use those directly. ie instead of calling a promise, you call those retry functions passing the promise and the number of retries, and it handles everything for you","created_at":"2018-06-18T22:39:12Z","updated_at":"2018-06-18T22:53:25Z","html_url":"https://github.com/resin-io-modules/jellysync/pull/53#discussion_r196247236","pull_request_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/comments/196247236"},"html":{"href":"https://github.com/resin-io-modules/jellysync/pull/53#discussion_r196247236"},"pull_request":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53","id":194598372,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NTk4Mzcy","html_url":"https://github.com/resin-io-modules/jellysync/pull/53","diff_url":"https://github.com/resin-io-modules/jellysync/pull/53.diff","patch_url":"https://github.com/resin-io-modules/jellysync/pull/53.patch","issue_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/53","number":53,"state":"open","locked":false,"title":"GitHub Integration","user":{"login":"sqweelygig","id":20857369,"node_id":"MDQ6VXNlcjIwODU3MzY5","avatar_url":"https://avatars0.githubusercontent.com/u/20857369?v=4","gravatar_id":"","url":"https://api.github.com/users/sqweelygig","html_url":"https://github.com/sqweelygig","followers_url":"https://api.github.com/users/sqweelygig/followers","following_url":"https://api.github.com/users/sqweelygig/following{/other_user}","gists_url":"https://api.github.com/users/sqweelygig/gists{/gist_id}","starred_url":"https://api.github.com/users/sqweelygig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqweelygig/subscriptions","organizations_url":"https://api.github.com/users/sqweelygig/orgs","repos_url":"https://api.github.com/users/sqweelygig/repos","events_url":"https://api.github.com/users/sqweelygig/events{/privacy}","received_events_url":"https://api.github.com/users/sqweelygig/received_events","type":"User","site_admin":false},"body":"* Improve the Technical Brief with a sketch, better route descriptions and new lines\r\n* Improve the skeleton of the repo with a gulpfile, a package.json, tsconfig and tslint\r\n* Make an abstract class defining what it is to be an integration, and be able to fetch them\r\n* Add and test a GitHub integration","created_at":"2018-06-13T14:05:26Z","updated_at":"2018-06-18T22:53:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7d3ae4b6f08686e6a997c7bc28d6ce24a05deaf","assignee":null,"assignees":[],"requested_reviewers":[{"login":"hedss","id":8259026,"node_id":"MDQ6VXNlcjgyNTkwMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/8259026?v=4","gravatar_id":"","url":"https://api.github.com/users/hedss","html_url":"https://github.com/hedss","followers_url":"https://api.github.com/users/hedss/followers","following_url":"https://api.github.com/users/hedss/following{/other_user}","gists_url":"https://api.github.com/users/hedss/gists{/gist_id}","starred_url":"https://api.github.com/users/hedss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedss/subscriptions","organizations_url":"https://api.github.com/users/hedss/orgs","repos_url":"https://api.github.com/users/hedss/repos","events_url":"https://api.github.com/users/hedss/events{/privacy}","received_events_url":"https://api.github.com/users/hedss/received_events","type":"User","site_admin":false},{"login":"LucianBuzzo","id":15064535,"node_id":"MDQ6VXNlcjE1MDY0NTM1","avatar_url":"https://avatars0.githubusercontent.com/u/15064535?v=4","gravatar_id":"","url":"https://api.github.com/users/LucianBuzzo","html_url":"https://github.com/LucianBuzzo","followers_url":"https://api.github.com/users/LucianBuzzo/followers","following_url":"https://api.github.com/users/LucianBuzzo/following{/other_user}","gists_url":"https://api.github.com/users/LucianBuzzo/gists{/gist_id}","starred_url":"https://api.github.com/users/LucianBuzzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucianBuzzo/subscriptions","organizations_url":"https://api.github.com/users/LucianBuzzo/orgs","repos_url":"https://api.github.com/users/LucianBuzzo/repos","events_url":"https://api.github.com/users/LucianBuzzo/events{/privacy}","received_events_url":"https://api.github.com/users/LucianBuzzo/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53/commits","review_comments_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53/comments","review_comment_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/53/comments","statuses_url":"https://api.github.com/repos/resin-io-modules/jellysync/statuses/2c2cf2c20e0279611e1aac64400eb51c9be75cc3","head":{"label":"resin-io-modules:github-integration","ref":"github-integration","sha":"2c2cf2c20e0279611e1aac64400eb51c9be75cc3","user":{"login":"resin-io-modules","id":17724750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzI0NzUw","avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":135996217,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5OTYyMTc=","name":"jellysync","full_name":"resin-io-modules/jellysync","owner":{"login":"resin-io-modules","id":17724750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzI0NzUw","avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/jellysync","description":"A repo linking external services into Jellyfish based chat","fork":false,"url":"https://api.github.com/repos/resin-io-modules/jellysync","forks_url":"https://api.github.com/repos/resin-io-modules/jellysync/forks","keys_url":"https://api.github.com/repos/resin-io-modules/jellysync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/jellysync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/jellysync/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/jellysync/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/jellysync/events","assignees_url":"https://api.github.com/repos/resin-io-modules/jellysync/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/jellysync/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/jellysync/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/jellysync/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/jellysync/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/jellysync/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/jellysync/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/jellysync/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/jellysync/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/jellysync/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/jellysync/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/jellysync/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/jellysync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/jellysync/merges","archive_url":"https://api.github.com/repos/resin-io-modules/jellysync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/jellysync/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/jellysync/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/jellysync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/jellysync/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/jellysync/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/jellysync/deployments","created_at":"2018-06-04T08:43:15Z","updated_at":"2018-06-04T08:47:38Z","pushed_at":"2018-06-18T17:22:36Z","git_url":"git://github.com/resin-io-modules/jellysync.git","ssh_url":"git@github.com:resin-io-modules/jellysync.git","clone_url":"https://github.com/resin-io-modules/jellysync.git","svn_url":"https://github.com/resin-io-modules/jellysync","homepage":null,"size":372,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"resin-io-modules:master","ref":"master","sha":"449782fc1d1b6945b096024c5e1f985956b5a6a2","user":{"login":"resin-io-modules","id":17724750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzI0NzUw","avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":135996217,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5OTYyMTc=","name":"jellysync","full_name":"resin-io-modules/jellysync","owner":{"login":"resin-io-modules","id":17724750,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzI0NzUw","avatar_url":"https://avatars0.githubusercontent.com/u/17724750?v=4","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/jellysync","description":"A repo linking external services into Jellyfish based chat","fork":false,"url":"https://api.github.com/repos/resin-io-modules/jellysync","forks_url":"https://api.github.com/repos/resin-io-modules/jellysync/forks","keys_url":"https://api.github.com/repos/resin-io-modules/jellysync/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/jellysync/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/jellysync/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/jellysync/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/jellysync/events","assignees_url":"https://api.github.com/repos/resin-io-modules/jellysync/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/jellysync/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/jellysync/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/jellysync/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/jellysync/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/jellysync/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/jellysync/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/jellysync/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/jellysync/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/jellysync/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/jellysync/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/jellysync/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/jellysync/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/jellysync/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/jellysync/merges","archive_url":"https://api.github.com/repos/resin-io-modules/jellysync/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/jellysync/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/jellysync/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/jellysync/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/jellysync/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/jellysync/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/jellysync/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/jellysync/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/jellysync/deployments","created_at":"2018-06-04T08:43:15Z","updated_at":"2018-06-04T08:47:38Z","pushed_at":"2018-06-18T17:22:36Z","git_url":"git://github.com/resin-io-modules/jellysync.git","ssh_url":"git@github.com:resin-io-modules/jellysync.git","clone_url":"https://github.com/resin-io-modules/jellysync.git","svn_url":"https://github.com/resin-io-modules/jellysync","homepage":null,"size":372,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53"},"html":{"href":"https://github.com/resin-io-modules/jellysync/pull/53"},"issue":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/issues/53"},"comments":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io-modules/jellysync/statuses/2c2cf2c20e0279611e1aac64400eb51c9be75cc3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"jviotti"}}