Authorization: Bearer ********************
curl --location --request GET 'http://dev-cn.your-api-server.com/api/v1///code_stats.json' \
--header 'Cookie: autologin_trustie=3acc38c27d61a347f5c16fbca2c4964b181a2f79'
{
"author_count": 2,
"commit_count": 17,
"change_files": null,
"additions": 2,
"deletions": 0,
"commit_count_in_all_branches": 25,
"authors": [
{
"author": {
"id": "110",
"login": "yystopf",
"name": "咸蛋黄土豆丝",
"type": "User",
"image_url": "system/lets/letter_avatars/2/X/230_139_26/120.png"
},
"commits": 15,
"additions": 2,
"deletions": 0
},
{
"author": {
"id": null,
"login": "yystopf",
"name": "yystopf",
"type": null,
"image_url": "system/lets/letter_avatars/2/Y/241_125_89/120.png"
},
"commits": 2,
"additions": 0,
"deletions": 0
}
]
}