You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
415 B
22 lines
415 B
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "https://api.todoist.com/rest/v2/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
getAllActiveTasks: {
|
|
method: "GET",
|
|
endpoint: "tasks",
|
|
},
|
|
getTasksWithLabel: {
|
|
method: "GET",
|
|
endpoint: "tasks",
|
|
params: ["label"]
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|
|
|