Blame a note
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/blame/{path} \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/blame/{path}"
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}/blame/{path}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"path": "<string>",
"lines": 123,
"whole": true,
"ranges": [
{
"startingLine": 123,
"endingLine": 123,
"lines": [
"<string>"
],
"uncertain": true,
"commit": {
"id": "<string>",
"at": "<string>",
"message": "<string>",
"author": "<string>",
"html_url": "<string>"
},
"age": 123
}
],
"commit": "<string>",
"uncertainLines": 123,
"html_url": "<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>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Folders
Blame a note
Each line of a note beside the commit that last changed it, as GitHub’s blame (GraphQL blame(path) ranges, the Memory page’s Blame tab): adjacent lines with the same commit form one range. Worked out from each edit’s kept replaced and added text, never guessed: when the kept history cannot establish a line’s last commit (its create is older than the kept edits, or an edit could not be undone exactly), its range has commit null and uncertain true. whole is true when every line’s commit is known from a replay from the note’s create. With at, the note as that commit left it, blamed over the edits up to it.
GET
/
folders
/
{id}
/
blame
/
{path}
Blame a note
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/blame/{path} \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/blame/{path}"
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}/blame/{path}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"path": "<string>",
"lines": 123,
"whole": true,
"ranges": [
{
"startingLine": 123,
"endingLine": 123,
"lines": [
"<string>"
],
"uncertain": true,
"commit": {
"id": "<string>",
"at": "<string>",
"message": "<string>",
"author": "<string>",
"html_url": "<string>"
},
"age": 123
}
],
"commit": "<string>",
"uncertainLines": 123,
"html_url": "<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>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Authorizations
Path Parameters
Query Parameters
Response
The blame.
A note's blame.