@@ -201,3 +201,74 @@ Very easy, just add `?theme=dark` after it in any kind of card!
201201 > "message": "release not found"
202202 > }
203203 > ```
204+
205+ 5 . Issue
206+ > `GET` `https://stats.deeptrain.net/api/issue/{user}/{repo}/{id}`
207+ >
208+ > Example response:
209+ > ```json
210+ > {
211+ > "color": "#f1e05a",
212+ > "comments": 1,
213+ > "date": "2022-01-18T21:10:09Z",
214+ > "description": "...",
215+ > "id": 12,
216+ > "labels": [],
217+ > "opener": {
218+ > "avatar": "https://avatars.githubusercontent.com/u/63081316?v=4",
219+ > "image": "iVBORw0KGgoAAAANSUhEUgAA…0cg9hQAAAAASUVORK5CYII=",
220+ > "type": "User",
221+ > "username": "mollthecoder"
222+ > },
223+ > "reactions": 0,
224+ > "repo": "extensions",
225+ > "state": "closed",
226+ > "title": "Create dictionaries.js",
227+ > "username": "turbowarp"
228+ > }
229+ > ```
230+ > Error response:
231+ > ```json
232+ > {
233+ > "message": "issue not found"
234+ > }
235+ > ```
236+
237+ 6 . Pull Request
238+ > `GET` `https://stats.deeptrain.net/api/pull/{user}/{repo}/{id}`
239+ >
240+ > Example response:
241+ > ```json
242+ > {
243+ > "additions": "72",
244+ > "changed_files": 1,
245+ > "color": "#f1e05a",
246+ > "comments": 1,
247+ > "commits": 1,
248+ > "creator": {
249+ > "avatar": "https://avatars.githubusercontent.com/u/63081316?v=4",
250+ > "image": "iVBORw0KGgoAAAANSUhEUgAA…0cg9hQAAAAASUVORK5CYII=",
251+ > "type": "User",
252+ > "username": "mollthecoder"
253+ > },
254+ > "date": "2022-01-18T21:10:09Z",
255+ > "deletions": "0",
256+ > "description": "...",
257+ > "id": 12,
258+ > "labels": [],
259+ > "migration": {
260+ > "base": "TurboWarp:master",
261+ > "head": "mollthecoder:patch-1"
262+ > },
263+ > "repo": "extensions",
264+ > "state": "closed",
265+ > "title": "Create dictionaries.js",
266+ > "username": "turbowarp"
267+ > }
268+ > ```
269+ > Error response:
270+ > ```json
271+ > {
272+ > "message": "pull requst not found"
273+ > }
274+ > ```
0 commit comments