Database Views
Get a Database View action preview
Returns the caller-owned status of a materialized View action preview: PENDING, RUNNING, COMPLETED, or FAILED. Preview operations expire after 10 minutes.
GET
/
api
/
v1
/
databases
/
views
/
{databaseViewId}
/
actions
/
preview
/
{operationId}
Get a Database View action preview
curl --request GET \
--url https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)⌘I
Get a Database View action preview
curl --request GET \
--url https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/databases/views/{databaseViewId}/actions/preview/{operationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)
