Gamma API

Get my table preferences

GET
/api/account/table-preferences/{table}/{scopeId}

The caller's last filters and visible columns on one table. state is null when nothing is saved.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.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.

Path Parameters

table*string

Which 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*string

The project's id, the organization's for organization-members, or all.

Length1 <= length <= 64

Response Body

OK.

application/json
  1. response
state*unknown

The 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 GET 'http://localhost:3000/api/account/table-preferences/issues/string'
Example Response
{  "state": null}