Developer docs menu

API reference / Table views

Table views API

3 endpoints. Scopes: Scalar360.table-views.READ, .CREATE, .UPDATE, .DELETE or .ALL. All calls need Authorization: Scalar360-oauthtoken <access_token> — see Authentication.

GET

List

/api/v1/table-views

Scope: Scalar360.table-views.READ

ParameterInTypeRequired
modulequerystringYes
Example request
curl -X GET "https://api.scalar360.com/api/v1/table-views" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"
PUT

Save

/api/v1/table-views/{tableKey}

Scope: Scalar360.table-views.UPDATE

ParameterInTypeRequired
tableKeypathstringYes
Body fieldTypeRequiredNotes
scopestringYesrequired, not blank
columnsarray of map of any
Example request
curl -X PUT "https://api.scalar360.com/api/v1/table-views/{tableKey}" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"scope":"string","columns":[{}]}'
DELETE

Reset

/api/v1/table-views/{tableKey}

Scope: Scalar360.table-views.DELETE

ParameterInTypeRequired
tableKeypathstringYes
scopequerystringYes
Example request
curl -X DELETE "https://api.scalar360.com/api/v1/table-views/{tableKey}" \
  -H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"