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
| Parameter | In | Type | Required |
|---|---|---|---|
module | query | string | Yes |
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
| Parameter | In | Type | Required |
|---|---|---|---|
tableKey | path | string | Yes |
| Body field | Type | Required | Notes |
|---|---|---|---|
scope | string | Yes | required, not blank |
columns | array of map of any |
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
| Parameter | In | Type | Required |
|---|---|---|---|
tableKey | path | string | Yes |
scope | query | string | Yes |
curl -X DELETE "https://api.scalar360.com/api/v1/table-views/{tableKey}" \
-H "Authorization: Scalar360-oauthtoken $ACCESS_TOKEN"