const response = await client.views.list();
const response = await client.views.retrieve([
{
space: "my_space",
externalId: "my_external_id",
version: "my_optional_version"
}
]);
const viewDefinition = {
"externalId": "string",
"space": "string",
"name": "string",
"description": "string",
"filter": {
"and": []
},
"implements": [
{
"type": "view",
"space": "string",
"externalId": "string",
"version": "string"
}
],
"version": "string",
"properties": {}
};
const response = await client.views.upsert([
viewDefinition
]);
Delete Views
const response = await client.views.delete([{ space: "my_space", externalId: "my_external_id", version: "my_version" }]);