Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Payload for pushed commits

Håvard Slettvold edited this page May 27, 2013 · 2 revisions
{
    "ref": "refs/heads/master",
    "after": "4843eab7e7e4e55612a9f700eef572d609416250",
    "before": "f754d6c13f989e41ca1bb9fc71417a53b02a2541",
    "created": false,
    "deleted": false,
    "forced": false,
    "compare": "https://github.com/dotKom/OnlineGuru/compare/f754d6c13f98...4843eab7e7e4",
    "commits": [{
            "id": "2e61900810b4e41169ded50fe67649eea1a569d4",
            "distinct": true,
            "message": "Commit message for test file 1.",
            "timestamp": "2013-05-27T14:33:58-07:00",
            "url": "https://github.com/dotKom/OnlineGuru/commit/2e61900810b4e41169ded50fe67649eea1a569d4",
            "author": {
                "name": "melwil",
                "email": "[email protected]",
                "username": "melwil"
            },
            "committer": {
                "name": "melwil",
                "email": "[email protected]",
                "username": "melwil"
            },
            "added": ["testfile.txt"],
            "removed": [],
            "modified": []
        }, {
            "id": "4843eab7e7e4e55612a9f700eef572d609416250",
            "distinct": true,
            "message": "Committing testfile 2 and 3.",
            "timestamp": "2013-05-27T14:34:46-07:00",
            "url": "https://github.com/dotKom/OnlineGuru/commit/4843eab7e7e4e55612a9f700eef572d609416250",
            "author": {
                "name": "melwil",
                "email": "[email protected]",
                "username": "melwil"
            },
            "committer": {
                "name": "melwil",
                "email": "[email protected]",
                "username": "melwil"
            },
            "added": ["testfile2.txt", "testfile3.txt"],
            "removed": [],
            "modified": []
        }
    ],
    "head_commit": {
        "id": "4843eab7e7e4e55612a9f700eef572d609416250",
        "distinct": true,
        "message": "Committing tesfile 2 and 3.",
        "timestamp": "2013-05-27T14:34:46-07:00",
        "url": "https://github.com/dotKom/OnlineGuru/commit/4843eab7e7e4e55612a9f700eef572d609416250",
        "author": {
            "name": "melwil",
            "email": "[email protected]",
            "username": "melwil"
        },
        "committer": {
            "name": "melwil",
            "email": "[email protected]",
            "username": "melwil"
        },
        "added": ["testfile2.txt", "testfile3.txt"],
        "removed": [],
        "modified": []
    },
    "repository": {
        "id": 2588654,
        "name": "OnlineGuru",
        "url": "https://github.com/dotKom/OnlineGuru",
        "description": "onlineguru",
        "homepage": "",
        "watchers": 14,
        "stargazers": 14,
        "forks": 10,
        "fork": false,
        "size": 284,
        "owner": {
            "name": "dotKom",
            "email": null
        },
        "private": false,
        "open_issues": 1,
        "has_issues": true,
        "has_downloads": true,
        "has_wiki": true,
        "language": "Java",
        "created_at": 1318808631,
        "pushed_at": 1369690504,
        "master_branch": "master",
        "organization": "dotKom"
    },
    "pusher": {
        "name": "melwil",
        "email": "[email protected]"
    }
}
Clone this wiki locally