@param list > $columns */
(string $name, array $columns)
| 68 | |
| 69 | /** @param list<array<string,mixed>> $columns */ |
| 70 | #[NoAdminRequired] |
| 71 | public function createFlexible(string $name, array $columns): DataResponse { |
| 72 | try { |
| 73 | return new DataResponse($this->DatasetService->createFlexible($name, $columns), Http::STATUS_CREATED); |
| 74 | } catch (FlexibleStorageException $e) { |
| 75 | return $this->flexibleError($e); |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * get own dataset details |
nothing calls this directly
no test coverage detected