Get contributors
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/contributors \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/contributors"
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/contributors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"contributors": [
{
"author": {
"login": "<string>",
"kind": "agent",
"owner": true
},
"total": 123,
"linesFrom": 123,
"notes": 123,
"additions": 123,
"deletions": 123,
"lastCommit": "<string>",
"weeks": [
{
"w": 123,
"a": 123,
"d": 123,
"c": 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 contributors
Who changed the folder’s notes, week by week (GitHub’s /stats/contributors, Insights > Contributors), from the kept history. One commit is one agent turn; its author is the member named on its edits (team memory), else the folder’s owner (login null). kind is agent for an agent turn, person for an edit made on the dashboard. Listed fewest commits first, as GitHub’s. Each note keeps its newest edits, so covers says how many commits were counted and from when; older weeks may be undercounted. Lines count only commits whose diffs were kept (linesFrom, covers.withLines).
GET
/
folders
/
{id}
/
stats
/
contributors
Get contributors
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/contributors \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/contributors"
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/contributors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"contributors": [
{
"author": {
"login": "<string>",
"kind": "agent",
"owner": true
},
"total": 123,
"linesFrom": 123,
"notes": 123,
"additions": 123,
"deletions": 123,
"lastCommit": "<string>",
"weeks": [
{
"w": 123,
"a": 123,
"d": 123,
"c": 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>"
}
}