Skip to main content
POST
Save a goal view

Authorizations

Authorization
string
header
required

A Nemonist key (sk-nm-...) as a bearer token in the Authorization header.

Path Parameters

id
string
required

The folder's id (fld_...), as GET /folders lists it.

Body

application/json

A view's fields: POST needs name; PATCH replaces only the fields given.

name
string

Its name, at most 60 characters.

layout
enum<string>

Table or board.

Available options:
table,
board
filter
string

The Goals filter, as GET /issues?q= (closed:<@today-2w matches goals closed and unchanged since then).

group
enum<string>

The board's columns.

Available options:
state,
role,
progress
sort
enum<string>

The goals' order.

Available options:
changed:desc,
changed:asc,
state:asc,
state:desc
fields
enum<string>[]

The table's visible columns, in its order; goal is always one.

Available options:
goal,
state,
progress,
turns,
changed
wip
object

Per board column of its group (none: No role or No progress), a work-in-progress limit. Over it the board shows count / limit as a warning; work is never refused.

Response

The new view.

A saved view of the folder's goals. View 1 is the default, Open and recent (filter -closed:<@today-2w), until one is saved as 1.

number
integer

Its number in this folder, from 1.

name
string

Its name, at most 60 characters.

layout
enum<string>

Table or board.

Available options:
table,
board
filter
string

The Goals filter, as GET /issues?q= (closed:<@today-2w matches goals closed and unchanged since then).

group
enum<string>

The board's columns.

Available options:
state,
role,
progress
sort
enum<string>

The goals' order.

Available options:
changed:desc,
changed:asc,
state:asc,
state:desc
fields
enum<string>[]

The table's visible columns, in its order; goal is always one.

Available options:
goal,
state,
progress,
turns,
changed
wip
object

Per board column of its group (none: No role or No progress), a work-in-progress limit. Over it the board shows count / limit as a warning; work is never refused.

default
boolean

True on the built-in view 1 while none is saved as 1.

by
string

Who saved it.

created
string

When it was first saved (ISO 8601).

changed
string

When it was last saved (ISO 8601).

html_url
string

The view on the dashboard (#memory?ws=...&view=goals&goals=view/).