mbohun
3/31/2015 - 4:52 AM

github event type: issues payload example

github event type: issues payload example

{
    "data": {
        "action": "labeled",
        "issue": {
            "assignee": {
                "avatar_url": "https://avatars.githubusercontent.com/u/246477?v=3",
                "events_url": "https://api.github.com/users/aruizca/events{/privacy}",
                "followers_url": "https://api.github.com/users/aruizca/followers",
                "following_url": "https://api.github.com/users/aruizca/following{/other_user}",
                "gists_url": "https://api.github.com/users/aruizca/gists{/gist_id}",
                "gravatar_id": "",
                "html_url": "https://github.com/aruizca",
                "id": 246477,
                "login": "aruizca",
                "organizations_url": "https://api.github.com/users/aruizca/orgs",
                "received_events_url": "https://api.github.com/users/aruizca/received_events",
                "repos_url": "https://api.github.com/users/aruizca/repos",
                "site_admin": false,
                "starred_url": "https://api.github.com/users/aruizca/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/aruizca/subscriptions",
                "type": "User",
                "url": "https://api.github.com/users/aruizca"
            },
            "body": "Related to task #19",
            "closed_at": null,
            "comments": 0,
            "comments_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/31/comments",
            "created_at": "2015-03-31T04:30:36Z",
            "events_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/31/events",
            "html_url": "https://github.com/AtlasOfLivingAustralia/taxon-overflow/issues/31",
            "id": 65363693,
            "labels": [
                {
                    "color": "ededed",
                    "name": "in progress",
                    "url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/labels/in%20progress"
                }
            ],
            "labels_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/31/labels{/name}",
            "locked": false,
            "milestone": {
                "closed_at": null,
                "closed_issues": 2,
                "created_at": "2015-02-27T03:47:06Z",
                "creator": {
                    "avatar_url": "https://avatars.githubusercontent.com/u/444897?v=3",
                    "events_url": "https://api.github.com/users/djtfmartin/events{/privacy}",
                    "followers_url": "https://api.github.com/users/djtfmartin/followers",
                    "following_url": "https://api.github.com/users/djtfmartin/following{/other_user}",
                    "gists_url": "https://api.github.com/users/djtfmartin/gists{/gist_id}",
                    "gravatar_id": "",
                    "html_url": "https://github.com/djtfmartin",
                    "id": 444897,
                    "login": "djtfmartin",
                    "organizations_url": "https://api.github.com/users/djtfmartin/orgs",
                    "received_events_url": "https://api.github.com/users/djtfmartin/received_events",
                    "repos_url": "https://api.github.com/users/djtfmartin/repos",
                    "site_admin": false,
                    "starred_url": "https://api.github.com/users/djtfmartin/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/djtfmartin/subscriptions",
                    "type": "User",
                    "url": "https://api.github.com/users/djtfmartin"
                },
                "description": "Collectory integration\r\n\r\n- integration with Collectory (http://collections.ala.org.au) for users providing user's institutional affiliation where possible - \"Mark from Australian Museum\" with logo\r\n- increase user's reputation based on their institutional affiliation",
                "due_on": "2015-04-02T13:00:00Z",
                "html_url": "https://github.com/AtlasOfLivingAustralia/taxon-overflow/milestones/Version%201.1",
                "id": 998241,
                "labels_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/milestones/2/labels",
                "number": 2,
                "open_issues": 6,
                "state": "open",
                "title": "Version 1.1",
                "updated_at": "2015-03-31T04:30:36Z",
                "url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/milestones/2"
            },
            "number": 31,
            "state": "open",
            "title": "Create Web Service to enable/disable notifications for a particular user",
            "updated_at": "2015-03-31T04:30:45Z",
            "url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/31",
            "user": {
                "avatar_url": "https://avatars.githubusercontent.com/u/246477?v=3",
                "events_url": "https://api.github.com/users/aruizca/events{/privacy}",
                "followers_url": "https://api.github.com/users/aruizca/followers",
                "following_url": "https://api.github.com/users/aruizca/following{/other_user}",
                "gists_url": "https://api.github.com/users/aruizca/gists{/gist_id}",
                "gravatar_id": "",
                "html_url": "https://github.com/aruizca",
                "id": 246477,
                "login": "aruizca",
                "organizations_url": "https://api.github.com/users/aruizca/orgs",
                "received_events_url": "https://api.github.com/users/aruizca/received_events",
                "repos_url": "https://api.github.com/users/aruizca/repos",
                "site_admin": false,
                "starred_url": "https://api.github.com/users/aruizca/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/aruizca/subscriptions",
                "type": "User",
                "url": "https://api.github.com/users/aruizca"
            }
        },
        "label": {
            "color": "ededed",
            "name": "in progress",
            "url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/labels/in%20progress"
        },
        "organization": {
            "avatar_url": "https://avatars.githubusercontent.com/u/7296572?v=3",
            "description": "Open source web applications and tools for the Atlas",
            "events_url": "https://api.github.com/orgs/AtlasOfLivingAustralia/events",
            "id": 7296572,
            "login": "AtlasOfLivingAustralia",
            "members_url": "https://api.github.com/orgs/AtlasOfLivingAustralia/members{/member}",
            "public_members_url": "https://api.github.com/orgs/AtlasOfLivingAustralia/public_members{/member}",
            "repos_url": "https://api.github.com/orgs/AtlasOfLivingAustralia/repos",
            "url": "https://api.github.com/orgs/AtlasOfLivingAustralia"
        },
        "repository": {
            "archive_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/{archive_format}{/ref}",
            "assignees_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/assignees{/user}",
            "blobs_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/git/blobs{/sha}",
            "branches_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/branches{/branch}",
            "clone_url": "https://github.com/AtlasOfLivingAustralia/taxon-overflow.git",
            "collaborators_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/collaborators{/collaborator}",
            "comments_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/comments{/number}",
            "commits_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/commits{/sha}",
            "compare_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/compare/{base}...{head}",
            "contents_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/contents/{+path}",
            "contributors_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/contributors",
            "created_at": "2014-09-25T02:33:35Z",
            "default_branch": "master",
            "description": "Crowsourced identification tool",
            "downloads_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/downloads",
            "events_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/events",
            "fork": false,
            "forks": 1,
            "forks_count": 1,
            "forks_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/forks",
            "full_name": "AtlasOfLivingAustralia/taxon-overflow",
            "git_commits_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/git/commits{/sha}",
            "git_refs_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/git/refs{/sha}",
            "git_tags_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/git/tags{/sha}",
            "git_url": "git://github.com/AtlasOfLivingAustralia/taxon-overflow.git",
            "has_downloads": true,
            "has_issues": true,
            "has_pages": false,
            "has_wiki": true,
            "homepage": "",
            "hooks_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/hooks",
            "html_url": "https://github.com/AtlasOfLivingAustralia/taxon-overflow",
            "id": 24440759,
            "issue_comment_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/comments{/number}",
            "issue_events_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues/events{/number}",
            "issues_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/issues{/number}",
            "keys_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/keys{/key_id}",
            "labels_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/labels{/name}",
            "language": "Groovy",
            "languages_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/languages",
            "merges_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/merges",
            "milestones_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/milestones{/number}",
            "mirror_url": null,
            "name": "taxon-overflow",
            "notifications_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/notifications{?since,all,participating}",
            "open_issues": 10,
            "open_issues_count": 10,
            "owner": {
                "avatar_url": "https://avatars.githubusercontent.com/u/7296572?v=3",
                "events_url": "https://api.github.com/users/AtlasOfLivingAustralia/events{/privacy}",
                "followers_url": "https://api.github.com/users/AtlasOfLivingAustralia/followers",
                "following_url": "https://api.github.com/users/AtlasOfLivingAustralia/following{/other_user}",
                "gists_url": "https://api.github.com/users/AtlasOfLivingAustralia/gists{/gist_id}",
                "gravatar_id": "",
                "html_url": "https://github.com/AtlasOfLivingAustralia",
                "id": 7296572,
                "login": "AtlasOfLivingAustralia",
                "organizations_url": "https://api.github.com/users/AtlasOfLivingAustralia/orgs",
                "received_events_url": "https://api.github.com/users/AtlasOfLivingAustralia/received_events",
                "repos_url": "https://api.github.com/users/AtlasOfLivingAustralia/repos",
                "site_admin": false,
                "starred_url": "https://api.github.com/users/AtlasOfLivingAustralia/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/AtlasOfLivingAustralia/subscriptions",
                "type": "Organization",
                "url": "https://api.github.com/users/AtlasOfLivingAustralia"
            },
            "private": false,
            "pulls_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/pulls{/number}",
            "pushed_at": "2015-03-31T04:22:51Z",
            "releases_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/releases{/id}",
            "size": 1521,
            "ssh_url": "git@github.com:AtlasOfLivingAustralia/taxon-overflow.git",
            "stargazers_count": 0,
            "stargazers_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/stargazers",
            "statuses_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/statuses/{sha}",
            "subscribers_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/subscribers",
            "subscription_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/subscription",
            "svn_url": "https://github.com/AtlasOfLivingAustralia/taxon-overflow",
            "tags_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/tags",
            "teams_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/teams",
            "trees_url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow/git/trees{/sha}",
            "updated_at": "2015-03-31T04:22:51Z",
            "url": "https://api.github.com/repos/AtlasOfLivingAustralia/taxon-overflow",
            "watchers": 0,
            "watchers_count": 0
        },
        "sender": {
            "avatar_url": "https://avatars.githubusercontent.com/u/246477?v=3",
            "events_url": "https://api.github.com/users/aruizca/events{/privacy}",
            "followers_url": "https://api.github.com/users/aruizca/followers",
            "following_url": "https://api.github.com/users/aruizca/following{/other_user}",
            "gists_url": "https://api.github.com/users/aruizca/gists{/gist_id}",
            "gravatar_id": "",
            "html_url": "https://github.com/aruizca",
            "id": 246477,
            "login": "aruizca",
            "organizations_url": "https://api.github.com/users/aruizca/orgs",
            "received_events_url": "https://api.github.com/users/aruizca/received_events",
            "repos_url": "https://api.github.com/users/aruizca/repos",
            "site_admin": false,
            "starred_url": "https://api.github.com/users/aruizca/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/aruizca/subscriptions",
            "type": "User",
            "url": "https://api.github.com/users/aruizca"
        }
    },
    "event": "issues",
    "ref": "undefined",
    "repo": "taxon-overflow"
}