List saved goal views
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/views \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/views"
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}/views', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"views": [
{
"number": 123,
"name": "<string>",
"layout": "table",
"filter": "<string>",
"group": "state",
"sort": "changed:desc",
"fields": [
"goal"
],
"wip": {},
"default": true,
"by": "<string>",
"created": "<string>",
"changed": "<string>",
"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>"
}
}Folders
List saved goal views
Every saved view of the folder’s goals, by number, as GitHub Projects’ views; view 1 is the default, Open and recent, until one is saved as 1. Only the owner reads and writes them; an agent has no tool for views.
GET
/
folders
/
{id}
/
views
List saved goal views
curl --request GET \
--url https://nemonist.com/api/v1/folders/{id}/views \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/folders/{id}/views"
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}/views', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"views": [
{
"number": 123,
"name": "<string>",
"layout": "table",
"filter": "<string>",
"group": "state",
"sort": "changed:desc",
"fields": [
"goal"
],
"wip": {},
"default": true,
"by": "<string>",
"created": "<string>",
"changed": "<string>",
"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>"
}
}