Read one view by its stable YAML ID, even after its file has been renamed.
GET
/api/v1/notes/tasks/views/{id}
const url = 'https://example.com/api/v1/notes/tasks/views/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/notes/tasks/views/example \ --header 'Authorization: Bearer <token>'Route: /api/v1/notes/tasks/views/{id}. Inputs: id. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Media typeapplication/json
One stable saved view and its full Bases configuration (#430).
object
base_filters
etag
required
Strong ETag of the complete source file. Required for replacement (#731).
string
id
required
string
view
required
Complete view configuration, including Obsidian and calternal extension fields.
object
Examplegenerated
{ "base_filters": "example", "etag": "example", "id": "example", "view": {}}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}