POST/bases/views

List views for a base

Lists the views configured for a base, ordered by position. Supply the base's page ID to retrieve its views.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field

The base whose views you want to list.

pageIdstringrequired
Id of the base. A base *is* a page, so this is the base's page id - the same id you would pass to the page endpoints.

3 status codes
200Returns the base's views as an array ordered by position.
dataarray<object>optional
statusintegeroptional
successbooleanoptional
403Returned when access is forbidden.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional
404Returned when the base is not found.
errorstringoptional
Reason phrase, for example `Bad Request`.
messagestringoptional
statusCodeintegeroptional

Error handling

A 403 is returned when access is forbidden. A 404 is returned when the base is not found. pageId must be a UUID identifying the base's page.