* create a new dataload * * @param $datasetId * @param int $datasourceId * @return DataResponse * @throws \OCP\DB\Exception */
($datasetId, int $datasourceId)
| 45 | * @throws \OCP\DB\Exception |
| 46 | */ |
| 47 | #[NoAdminRequired] |
| 48 | public function create($datasetId, int $datasourceId): DataResponse |
| 49 | { |
| 50 | return new DataResponse(['id' => $this->DataloadService->create($datasetId, $datasourceId)]); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * get all data loads for a dataset or report |
nothing calls this directly
no outgoing calls
no test coverage detected