Get goal insights
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/issues \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/issues"
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/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"period": "<string>",
"days": [
"<string>"
],
"series": [
{
"name": "<string>",
"data": [
123
]
}
],
"groups": {
"state": {},
"role": {},
"progress": {}
},
"total": 123,
"undated": 123,
"complete": true,
"q": "<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
Get goal insights
The goals’ burn up, as GitHub Projects’ built-in Burn up chart: for each UTC day of the period, how many goals were open and how many closed at that day’s end (today: up to now), and today’s counts grouped by state, role and progress. Computed on read from each goal’s opened time, its close and its kept earlier closes (a reopened goal counts open again from when it was reopened); nothing is stored. q is the Goals filter (as GET /issues), applied to the goals as they are today. A goal with no opened time is counted in total and undated but never drawn; complete is false when a goal dropped its oldest closes (80 are kept), so days before its oldest kept close may miscount it.
GET
/
folders
/
{id}
/
stats
/
issues
Get goal insights
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/stats/issues \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/stats/issues"
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/issues', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"period": "<string>",
"days": [
"<string>"
],
"series": [
{
"name": "<string>",
"data": [
123
]
}
],
"groups": {
"state": {},
"role": {},
"progress": {}
},
"total": 123,
"undated": 123,
"complete": true,
"q": "<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
Query Parameters
Response
The burn up.
Days, two series and today's groups.