summaryrefslogtreecommitdiff
path: root/tests/units/fixtures/bitbucket_push.json
blob: f480b07429630a40c1fb6a115cee2ac6c573fe7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
    "push": {
        "changes": [
            {
                "forced": false,
                "old": {
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/refs/branches/master"
                        },
                        "commits": {
                            "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commits/master"
                        },
                        "html": {
                            "href": "https://bitbucket.org/minicoders/test-webhook/branch/master"
                        }
                    },
                    "name": "master",
                    "target": {
                        "date": "2015-06-21T00:50:37+00:00",
                        "hash": "b6b46580eb9b20a06396f5f697ea1a55cf170e69",
                        "message": "test edited online with Bitbucket for task #5",
                        "type": "commit",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commit/b6b46580eb9b20a06396f5f697ea1a55cf170e69"
                            },
                            "html": {
                                "href": "https://bitbucket.org/minicoders/test-webhook/commits/b6b46580eb9b20a06396f5f697ea1a55cf170e69"
                            }
                        },
                        "parents": [
                            {
                                "links": {
                                    "self": {
                                        "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commit/7251db4b505cbfca3f845ebcff0ec0ddc4003ed8"
                                    },
                                    "html": {
                                        "href": "https://bitbucket.org/minicoders/test-webhook/commits/7251db4b505cbfca3f845ebcff0ec0ddc4003ed8"
                                    }
                                },
                                "type": "commit",
                                "hash": "7251db4b505cbfca3f845ebcff0ec0ddc4003ed8"
                            }
                        ],
                        "author": {
                            "raw": "Frederic Guillot <bob>",
                            "user": {
                                "links": {
                                    "self": {
                                        "href": "https://bitbucket.org/api/2.0/users/minicoders"
                                    },
                                    "html": {
                                        "href": "https://bitbucket.org/minicoders"
                                    },
                                    "avatar": {
                                        "href": "https://bitbucket.org/account/minicoders/avatar/32/"
                                    }
                                },
                                "type": "user",
                                "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
                                "username": "minicoders",
                                "display_name": "Frederic Guillot"
                            }
                        }
                    },
                    "type": "branch"
                },
                "created": false,
                "links": {
                    "diff": {
                        "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/diff/824059cce7667d3f8d8780cc707391be821e0ea6..b6b46580eb9b20a06396f5f697ea1a55cf170e69"
                    },
                    "commits": {
                        "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commits?include=824059cce7667d3f8d8780cc707391be821e0ea6exclude=b6b46580eb9b20a06396f5f697ea1a55cf170e69"
                    },
                    "html": {
                        "href": "https://bitbucket.org/minicoders/test-webhook/branches/compare/824059cce7667d3f8d8780cc707391be821e0ea6..b6b46580eb9b20a06396f5f697ea1a55cf170e69"
                    }
                },
                "new": {
                    "links": {
                        "self": {
                            "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/refs/branches/master"
                        },
                        "commits": {
                            "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commits/master"
                        },
                        "html": {
                            "href": "https://bitbucket.org/minicoders/test-webhook/branch/master"
                        }
                    },
                    "name": "master",
                    "target": {
                        "date": "2015-06-21T03:15:08+00:00",
                        "hash": "824059cce7667d3f8d8780cc707391be821e0ea6",
                        "message": "Test another commit #2\n",
                        "type": "commit",
                        "links": {
                            "self": {
                                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commit/824059cce7667d3f8d8780cc707391be821e0ea6"
                            },
                            "html": {
                                "href": "https://bitbucket.org/minicoders/test-webhook/commits/824059cce7667d3f8d8780cc707391be821e0ea6"
                            }
                        },
                        "parents": [
                            {
                                "links": {
                                    "self": {
                                        "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/commit/24aa9d82bbb6f9a60f743fe538deb0a44622fc98"
                                    },
                                    "html": {
                                        "href": "https://bitbucket.org/minicoders/test-webhook/commits/24aa9d82bbb6f9a60f743fe538deb0a44622fc98"
                                    }
                                },
                                "type": "commit",
                                "hash": "24aa9d82bbb6f9a60f743fe538deb0a44622fc98"
                            }
                        ],
                        "author": {
                            "raw": "Frederic Guillot <bob@localhost>"
                        }
                    },
                    "type": "branch"
                },
                "closed": false
            }
        ]
    },
    "repository": {
        "name": "test-webhook",
        "owner": {
            "links": {
                "self": {
                    "href": "https://bitbucket.org/api/2.0/users/minicoders"
                },
                "html": {
                    "href": "https://bitbucket.org/minicoders"
                },
                "avatar": {
                    "href": "https://bitbucket.org/account/minicoders/avatar/32/"
                }
            },
            "type": "user",
            "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
            "username": "minicoders",
            "display_name": "Frederic Guillot"
        },
        "uuid": "{590fd9c4-0812-425e-8d72-ab08b4fd5735}",
        "type": "repository",
        "links": {
            "self": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook"
            },
            "html": {
                "href": "https://bitbucket.org/minicoders/test-webhook"
            },
            "avatar": {
                "href": "https://bitbucket.org/minicoders/test-webhook/avatar/16/"
            }
        },
        "full_name": "minicoders/test-webhook"
    },
    "actor": {
        "links": {
            "self": {
                "href": "https://bitbucket.org/api/2.0/users/minicoders"
            },
            "html": {
                "href": "https://bitbucket.org/minicoders"
            },
            "avatar": {
                "href": "https://bitbucket.org/account/minicoders/avatar/32/"
            }
        },
        "type": "user",
        "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
        "username": "minicoders",
        "display_name": "Frederic Guillot"
    }
}