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.
|
|
|
import synologyProxyHandler from "../../utils/proxy/handlers/synology";
|
|
|
|
|
|
|
|
const widget = {
|
|
|
|
// cgiPath and maxVersion are discovered at runtime, don't supply
|
|
|
|
api: "{url}/webapi/{cgiPath}?api={apiName}&version={maxVersion}&method={apiMethod}",
|
|
|
|
proxyHandler: synologyProxyHandler,
|
|
|
|
|
|
|
|
mappings: {
|
|
|
|
list: {
|
|
|
|
apiName: "SYNO.DownloadStation.Task",
|
|
|
|
apiMethod: "list&additional=transfer",
|
|
|
|
endpoint: "list",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export default widget;
|