AccountPreferences
Save my table preferences
PUT
Replaces what was saved for the table and scope.
Who may call it: Any signed-in user, for their own account. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
table*stringWhich table. projects is where each project opens and lists the rows per page and viewer the model viewer's switches, all scoped all; home-projects is scoped all too.
Value in
"issues""forms""models""project-members""organization-members""home-projects""projects""lists""viewer"scopeId*stringThe project's id, the organization's for organization-members, or all.
Length
1 <= length <= 64application/json- body
state*Shaped by the web app per table; at most 16,000 characters as JSON.
OK.
application/json- response
state*unknownThe saved filters and columns, an object shaped by the web app per table. Null when nothing is saved: the table's defaults.
Example Request
curl -X PUT 'http://localhost:3000/api/account/table-preferences/issues/string' \ -H 'Content-Type: application/json' \ -d '{ "state": { "property1": null, "property2": null }}'Example Response
{ "state": null}