/api/v1/data/saved-queries (POST)
POST
/api/v1/data/saved-queries
const url = 'https://example.com/api/v1/data/saved-queries';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","resource":"example","parametersJson":"example","description":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/data/saved-queries \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "resource": "example", "parametersJson": "example", "description": "example" }'Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
name
string
resource
string
parametersJson
string
description
string
Example generated
{ "name": "example", "resource": "example", "parametersJson": "example", "description": "example"}object
name
string
resource
string
parametersJson
string
description
string
Example generated
{ "name": "example", "resource": "example", "parametersJson": "example", "description": "example"}object
name
string
resource
string
parametersJson
string
description
string
Example generated
{ "name": "example", "resource": "example", "parametersJson": "example", "description": "example"}Responses
Section titled “ Responses ”OK