All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
allScheduledPlans | GET /scheduled_plans | Get All Scheduled Plans |
createScheduledPlan | POST /scheduled_plans | Create Scheduled Plan |
deleteScheduledPlan | DELETE /scheduled_plans/{scheduled_plan_id} | Delete Scheduled Plan |
scheduledPlan | GET /scheduled_plans/{scheduled_plan_id} | Get Scheduled Plan |
scheduledPlanRunOnce | POST /scheduled_plans/run_once | Run Scheduled Plan Once |
scheduledPlansForDashboard | GET /scheduled_plans/dashboard/{dashboard_id} | Scheduled Plans for Dashboard |
scheduledPlansForLook | GET /scheduled_plans/look/{look_id} | Scheduled Plans for Look |
scheduledPlansForLookmlDashboard | GET /scheduled_plans/lookml_dashboard/{lookml_dashboard_id} | Scheduled Plans for LookML Dashboard |
scheduledPlansForSpace | GET /scheduled_plans/space/{space_id} | Scheduled Plans for Space |
updateScheduledPlan | PATCH /scheduled_plans/{scheduled_plan_id} | Update Scheduled Plan |
[ScheduledPlan] allScheduledPlans(opts)
Get All Scheduled Plans
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var opts = {
'userId': 789, // {Integer} User Id (default is requesting user if not specified)
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allScheduledPlans(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
userId | Integer | User Id (default is requesting user if not specified) | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ScheduledPlan createScheduledPlan(opts)
Create Scheduled Plan
Admins can create scheduled plans on behalf of other users by specifying a user id.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var opts = {
'body': new LookerApi30Reference.ScheduledPlan() // {ScheduledPlan} Scheduled Plan
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createScheduledPlan(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | ScheduledPlan | Scheduled Plan | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteScheduledPlan(scheduledPlanId)
Delete Scheduled Plan
Admins can delete other users' Scheduled Plans.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var scheduledPlanId = 789; // {Integer} Scheduled Plan Id
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteScheduledPlan(scheduledPlanId, callback);
Name | Type | Description | Notes |
---|---|---|---|
scheduledPlanId | Integer | Scheduled Plan Id |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
ScheduledPlan scheduledPlan(scheduledPlanId, opts)
Get Scheduled Plan
Admins can fetch information about other users' Scheduled Plans.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var scheduledPlanId = 789; // {Integer} Scheduled Plan Id
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlan(scheduledPlanId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
scheduledPlanId | Integer | Scheduled Plan Id | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ScheduledPlan scheduledPlanRunOnce(opts)
Run Scheduled Plan Once
This can be useful for testing a Scheduled Plan before committing to a production schedule.
Admins can create scheduled plans on behalf of other users by specifying a user id.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var opts = {
'body': new LookerApi30Reference.ScheduledPlan() // {ScheduledPlan} Scheduled Plan
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlanRunOnce(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | ScheduledPlan | Scheduled Plan | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ScheduledPlan] scheduledPlansForDashboard(dashboardId, opts)
Scheduled Plans for Dashboard
Get scheduled plans by using a dashboard id for the requesting user or a specified user id (with :see_schedules permission)
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var dashboardId = 789; // {Integer} Dashboard Id
var opts = {
'userId': 789, // {Integer} User Id (default is requesting user if not specified)
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlansForDashboard(dashboardId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
dashboardId | Integer | Dashboard Id | |
userId | Integer | User Id (default is requesting user if not specified) | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ScheduledPlan] scheduledPlansForLook(lookId, opts)
Scheduled Plans for Look
Get scheduled plans by using a look id for the requesting user or a specified user id (with :see_schedules permission)
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var lookId = 789; // {Integer} Look Id
var opts = {
'userId': 789, // {Integer} User Id (default is requesting user if not specified)
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlansForLook(lookId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookId | Integer | Look Id | |
userId | Integer | User Id (default is requesting user if not specified) | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ScheduledPlan] scheduledPlansForLookmlDashboard(lookmlDashboardId, opts)
Scheduled Plans for LookML Dashboard
Get scheduled plans by using a LookML dashboard id for the requesting user or a specified user id (with :see_schedules permission)
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var lookmlDashboardId = 789; // {Integer} LookML Dashboard Id
var opts = {
'userId': 789, // {Integer} User Id (default is requesting user if not specified)
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlansForLookmlDashboard(lookmlDashboardId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
lookmlDashboardId | Integer | LookML Dashboard Id | |
userId | Integer | User Id (default is requesting user if not specified) | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[ScheduledPlan] scheduledPlansForSpace(spaceId, opts)
Scheduled Plans for Space
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var spaceId = 789; // {Integer} Space Id
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.scheduledPlansForSpace(spaceId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
spaceId | Integer | Space Id | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ScheduledPlan updateScheduledPlan(scheduledPlanId, body)
Update Scheduled Plan
Admins can update other users' Scheduled Plans.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.ScheduledPlanApi()
var scheduledPlanId = 789; // {Integer} Scheduled Plan Id
var body = new LookerApi30Reference.ScheduledPlan(); // {ScheduledPlan} Scheduled Plan
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateScheduledPlan(scheduledPlanId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
scheduledPlanId | Integer | Scheduled Plan Id | |
body | ScheduledPlan | Scheduled Plan |
No authorization required
- Content-Type: application/json
- Accept: application/json