Get commit activity
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/commit_activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/commit_activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/stats/commit_activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"weeks": [
{
"week": 123,
"total": 123,
"days": [
123
]
}
],
"covers": {
"commits": 123,
"oldest": "<string>",
"withLines": 123,
"note": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
Get commit activity
Commits per week over the last 52 weeks, oldest first, each split by day Sunday to Saturday (UTC), as GitHub’s /stats/commit_activity, from the kept history (covers says what was counted).
GET
/
folders
/
{id}
/
stats
/
commit_activity
Get commit activity
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/commit_activity \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/commit_activity"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/folders/{id}/stats/commit_activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"weeks": [
{
"week": 123,
"total": 123,
"days": [
123
]
}
],
"covers": {
"commits": 123,
"oldest": "<string>",
"withLines": 123,
"note": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}