Retrieve a saved view
curl --request GET \
--url https://router.toqan.ai/eu/v3/views/{view_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v3/views/{view_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://router.toqan.ai/eu/v3/views/{view_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"view": {
"id": "<string>",
"display_name": "<string>",
"description": "<string>",
"workspace_id": "<string>",
"page": "<string>",
"filter_by": "<string>",
"columns": [
"<string>"
],
"column_labels": {},
"is_default": true,
"private_for_ids": [
"<string>"
],
"version": 123,
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}Views
Retrieve a saved view
Retrieve a single saved View by ID through the API, returning its filters, columns, column labels, default flag, creator and timestamps.
GET
/
v3
/
views
/
{view_id}
Retrieve a saved view
curl --request GET \
--url https://router.toqan.ai/eu/v3/views/{view_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://router.toqan.ai/eu/v3/views/{view_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://router.toqan.ai/eu/v3/views/{view_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"view": {
"id": "<string>",
"display_name": "<string>",
"description": "<string>",
"workspace_id": "<string>",
"page": "<string>",
"filter_by": "<string>",
"columns": [
"<string>"
],
"column_labels": {},
"is_default": true,
"private_for_ids": [
"<string>"
],
"version": 123,
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}{
"message": "<string>",
"code": 123,
"details": [
"<unknown>"
]
}
