Skip to main content
POST
Give a Ravi Pages site (every route of its host) read, and optionally write, access to a view

Body

application/json
base
string
required

Base id or slug

view
string
required

View id

archive
boolean

Also let the site archive rows through the view

console
string

Console base URL

create
boolean

Also let the site create rows through the view

execute
boolean

Actually widen the view's access; default is a dry-run that only shows the plan (exit 3)

project
string

Console project id or slug; overrides the saved Console scope

site
string

Pages site (host) of this project: slug, id or hostname

write
string

Also let the site write these columns (comma-separated; shared by every write principal)

writeOnly
boolean

Grant only the write side, without reading rows (a form view with access.read: [])

Response

Success — body conforms to the @Returns schema.

baseRef
string
required
changed
boolean
required
consoleUrl
string
required
disclosure
string[]
required
grants
object
required
projectRef
string
required
site
object
required
success
boolean
required
view
object
required