summaryrefslogtreecommitdiff
path: root/tests/units/fixtures/bitbucket_comment_created.json
blob: 66a09bb8cdbcccfc07d47baa221693f20da442f1 (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
{
    "actor": {
        "username": "minicoders",
        "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
        "display_name": "Frederic Guillot",
        "type": "user",
        "links": {
            "avatar": {
                "href": "https://bitbucket.org/account/minicoders/avatar/32/"
            },
            "self": {
                "href": "https://bitbucket.org/api/2.0/users/minicoders"
            },
            "html": {
                "href": "https://bitbucket.org/minicoders"
            }
        }
    },
    "repository": {
        "full_name": "minicoders/test-webhook",
        "uuid": "{590fd9c4-0812-425e-8d72-ab08b4fd5735}",
        "type": "repository",
        "links": {
            "avatar": {
                "href": "https://bitbucket.org/minicoders/test-webhook/avatar/16/"
            },
            "self": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook"
            },
            "html": {
                "href": "https://bitbucket.org/minicoders/test-webhook"
            }
        },
        "owner": {
            "username": "minicoders",
            "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
            "display_name": "Frederic Guillot",
            "type": "user",
            "links": {
                "avatar": {
                    "href": "https://bitbucket.org/account/minicoders/avatar/32/"
                },
                "self": {
                    "href": "https://bitbucket.org/api/2.0/users/minicoders"
                },
                "html": {
                    "href": "https://bitbucket.org/minicoders"
                }
            }
        },
        "name": "test-webhook"
    },
    "comment": {
        "content": {
            "html": "<ol>\n<li>step1</li>\n<li>step2</li>\n</ol>",
            "raw": "1. step1\n2. step2",
            "markup": "markdown"
        },
        "created_on": "2015-06-21T02:51:40.532529+00:00",
        "links": {
            "html": {
                "href": "https://bitbucket.org/minicoders/test-webhook/issue/1#comment-19176252"
            },
            "self": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/comments/19176252"
            }
        },
        "id": 19176252,
        "user": {
            "username": "minicoders",
            "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
            "display_name": "Frederic Guillot",
            "type": "user",
            "links": {
                "avatar": {
                    "href": "https://bitbucket.org/account/minicoders/avatar/32/"
                },
                "self": {
                    "href": "https://bitbucket.org/api/2.0/users/minicoders"
                },
                "html": {
                    "href": "https://bitbucket.org/minicoders"
                }
            }
        },
        "updated_on": null
    },
    "issue": {
        "updated_on": "2015-06-21T02:51:40.536516+00:00",
        "votes": 0,
        "assignee": null,
        "links": {
            "vote": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/vote"
            },
            "html": {
                "href": "https://bitbucket.org/minicoders/test-webhook/issue/1/my-new-issue"
            },
            "self": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1"
            },
            "watch": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/watch"
            },
            "comments": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/comments"
            },
            "attachments": {
                "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/attachments"
            }
        },
        "priority": "major",
        "kind": "bug",
        "watches": 1,
        "edited_on": null,
        "state": "new",
        "content": {
            "html": "<p><strong>test</strong></p>",
            "raw": "**test**",
            "markup": "markdown"
        },
        "component": null,
        "milestone": null,
        "version": null,
        "id": 1,
        "created_on": "2015-06-21T02:17:40.990654+00:00",
        "type": "issue",
        "reporter": {
            "username": "minicoders",
            "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
            "display_name": "Frederic Guillot",
            "type": "user",
            "links": {
                "avatar": {
                    "href": "https://bitbucket.org/account/minicoders/avatar/32/"
                },
                "self": {
                    "href": "https://bitbucket.org/api/2.0/users/minicoders"
                },
                "html": {
                    "href": "https://bitbucket.org/minicoders"
                }
            }
        },
        "title": "My new issue"
    }
}