List commits
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/commits \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/commits"
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}/commits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"commitGroups": [
{
"title": "<string>",
"commits": [
{
"id": "<string>",
"at": "<string>",
"message": "<string>",
"authors": [
"<string>"
],
"stats": {
"files": 123,
"additions": 123,
"deletions": 123
},
"paths": [
"<string>"
],
"html_url": "<string>",
"tags": [
"<string>"
],
"session": "<string>",
"started_by": "<string>",
"turn_url": "<string>"
}
]
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "<string>"
},
"filters": {},
"total": 123,
"unsearched": 123
}{
"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>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
List commits
The folder’s commits, as GitHub’s commit list: one per agent turn (every note edit the turn made; a turn whose edits another commit interrupts is several commits, the first with the turn id and each later one a fresh 16-hex id, so history stays one line and every short id differs), newest first, grouped by UTC day. Filters are echoed back. Page with pageInfo.endCursor: it names the list’s head commit and an offset, so later pages stay the same while new commits land.
GET
/
folders
/
{id}
/
commits
List commits
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/commits \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/commits"
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}/commits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"commitGroups": [
{
"title": "<string>",
"commits": [
{
"id": "<string>",
"at": "<string>",
"message": "<string>",
"authors": [
"<string>"
],
"stats": {
"files": 123,
"additions": 123,
"deletions": 123
},
"paths": [
"<string>"
],
"html_url": "<string>",
"tags": [
"<string>"
],
"session": "<string>",
"started_by": "<string>",
"turn_url": "<string>"
}
]
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "<string>"
},
"filters": {},
"total": 123,
"unsearched": 123
}{
"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>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Authorizations
Query Parameters
Response
A page of commits.
A page of commits.