/ events.txt
events.txt
 1  Events
 2  
 3  headers                                     values
 4  x-radicle-event-type                        push | patch
 5  X-Event-Key                                 
 6  X-Hook-UUID
 7  X-Request-UUID
 8  X-Hub-Signature-256
 9      =
10  x-radicle-signature
11  
12  
13  Push event
14  {
15      "author": {
16          "id": string,
17          "alias" string
18      },
19      "before":   string,
20      "after":    string,
21      "branch":   string // e.g. fix/typo,
22      "commits": [{
23          "id": string,
24          "title": string,
25          "message": string,
26          "timestamp": string, // A timestamp string in RFC3339 format
27          "url": string,
28          "http_url": string,
29          "author": {
30              "name": string,
31              "email": string,
32          },
33          "added": [] // filenames,
34          "modified": [],
35          "removed": [],
36      },...],
37      "repository": {
38          "id": string, // rad:xyz
39          "name": string,
40          "description": string,
41          "private": boolean,
42          "default_branch": string,
43          "url": string,
44          "http_url": string //app.radicle.xyz/seeds/127.0.0.1:8080/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5,
45          "clone_url": string,
46          "delegates": ["did:key:z6MkltRpzcq2ybm13yQpyre58JUeMvZY6toxoZVpLZ8YabRa" ,"did:key:z6MkltRpzcq2ybm13yQpyre58JUeMvZY6toxoZVpLZ8YabRb"]
47  
48      },
49  
50  }
51  
52  Patch event
53  {
54      "id": string,
55      "author": {
56           "id": string,
57          "alias" string
58      },
59      "title": string,
60      "state" : OPEN object| DRAFT object | Archived object | Merged object,
61      "before": string,
62      "after" : string,
63      "commits": [{
64          "id": string,
65          "title": string,
66          "message": string,
67          "timestamp": string, // A timestamp string in RFC3339 format
68          "url": string,
69          "http_url": string,
70          "author": {
71              "name": string,
72              "email": string,
73          },
74          "added": [] // filenames,
75          "modified": [],
76          "removed": [],
77      },...],
78      "url": string,
79      "http_url": string,
80      "target": string,
81      "labels": ["", ""] // ["small", "goodFirstIssue", "enhancement", "bug"],
82      "assignees": [""], // ["did:key:z6MkltRpzcq2ybm13yQpyre58JUeMvZY6toxoZVpLZ8YabRa"],
83      "revisions": [
84          {
85              "id": string,
86              "author": {},
87              "description": string,
88              "base" : string, //Base branch commit, used as a merge base.
89              "oid" : string, // Reference to the Git object containing the code (revision head).
90              "timestamp": string // A timestamp string in RFC3339 format
91          },
92          ...
93      ]
94  }