Skip to content

Commit 6d378f1

Browse files
committed
Add german translation for features/webhook
1 parent a06f5cf commit 6d378f1

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

de-DE/features/webhook.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
name: Webhook
3+
---
4+
5+
# Webhook
6+
7+
Gogs unterstützt Webhooks für Repository-Ereignisse. Du findest es auf der Einstellungs-Seite (`/:username/:reponame/settings/hooks`). Alle Ereignis-Pushs sind POST-Anfragen. Wir unterstützen zur Zeit zwei Versionen von Formaten: Gogs und Slack.
8+
9+
### Ereignis Invormation
10+
11+
Hier folgt ein Beispiel der Ereignis-Informationen, die Gogs an die URL sendet:
12+
13+
```json
14+
{
15+
"secret": "",
16+
"ref": "refs/heads/develop",
17+
"before": "47df562ceddfaab3471e635e59039c03f47808e2",
18+
"after": "2cee0f84c0c62fa85382258705353c7d24eb7fee",
19+
"compare_url": "https://try.gogs.io/gogs/gogs/compare/47df562ceddfaab3471e635e59039c03f47808e2...2cee0f84c0c62fa85382258705353c7d24eb7fee",
20+
"commits": [
21+
{
22+
"id": "2cee0f84c0c62fa85382258705353c7d24eb7fee",
23+
"message": "Revert \"fix CI...\"\n\nThis reverts commit 94b2816446d1d700d1af0ec166e63375da6612f3.\n",
24+
"url": "https://try.gogs.io/gogs/gogs/commit/2cee0f84c0c62fa85382258705353c7d24eb7fee",
25+
"author": {
26+
"name": "Unknwon",
27+
"email": "[email protected]",
28+
"username": "unknwon"
29+
}
30+
},
31+
{
32+
"id": "94b2816446d1d700d1af0ec166e63375da6612f3",
33+
"message": "fix CI...\n",
34+
"url": "https://try.gogs.io/gogs/gogs/commit/94b2816446d1d700d1af0ec166e63375da6612f3",
35+
"author": {
36+
"name": "Unknwon",
37+
"email": "[email protected]",
38+
"username": "unknwon"
39+
}
40+
},
41+
{
42+
"id": "8411b50f5d4e3b30d7d601612ee2aa5e4921c968",
43+
"message": "work on #1882\n",
44+
"url": "https://try.gogs.io/gogs/gogs/commit/8411b50f5d4e3b30d7d601612ee2aa5e4921c968",
45+
"author": {
46+
"name": "Unknwon",
47+
"email": "[email protected]",
48+
"username": "unknwon"
49+
}
50+
},
51+
{
52+
"id": "8a87bee4346968e280e9b9a6e56373c1d2e1c357",
53+
"message": "what's wrong with go tip?\n",
54+
"url": "https://try.gogs.io/gogs/gogs/commit/8a87bee4346968e280e9b9a6e56373c1d2e1c357",
55+
"author": {
56+
"name": "Unknwon",
57+
"email": "[email protected]",
58+
"username": "unknwon"
59+
}
60+
},
61+
{
62+
"id": "1dfa693a5cd221fa43f10df3a9dc216753f82547",
63+
"message": "fix CI!!\n",
64+
"url": "https://try.gogs.io/gogs/gogs/commit/1dfa693a5cd221fa43f10df3a9dc216753f82547",
65+
"author": {
66+
"name": "Unknwon",
67+
"email": "[email protected]",
68+
"username": "unknwon"
69+
}
70+
}
71+
],
72+
"repository": {
73+
"id": 140,
74+
"name": "gogs",
75+
"url": "https://try.gogs.io/gogs/gogs",
76+
"description": "Gogs(Go Git Service) is a painless self-hosted Git Service written in Go.",
77+
"website": "",
78+
"watchers": 6,
79+
"owner": {
80+
"name": "gogs",
81+
"email": "[email protected]",
82+
"username": "gogs"
83+
},
84+
"private": false
85+
},
86+
"pusher": {
87+
"name": "unknwon",
88+
"email": "[email protected]",
89+
"username": "unknwon"
90+
},
91+
"sender": {
92+
"login": "unknwon",
93+
"id": 1,
94+
"avatar_url": "https://try.gogs.io///1.gravatar.com/avatar/d8b2871cdac01b57bbda23716cc03b96"
95+
}
96+
}
97+
```

0 commit comments

Comments
 (0)