Public Member Functions | |
| __construct (Service $datastoreService, RequestStack $requestStack) | |
| summary ($identifier) | |
| import () | |
| delete ($identifier) | |
| deleteMultiple () | |
| list () | |
Static Public Member Functions | |
| static | create (ContainerInterface $container) |
Protected Attributes | |
| $datastoreService | |
Definition at line 17 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::__construct | ( | Service | $datastoreService, |
| RequestStack | $requestStack | ||
| ) |
Api constructor.
Definition at line 37 of file WebServiceApi.php.
|
static |
Create controller object from dependency injection container.
Definition at line 45 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::delete | ( | $identifier | ) |
Drop.
| string | $identifier | The uuid of a dataset. |
Definition at line 125 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::deleteMultiple | ( | ) |
Drop multiples.
Definition at line 146 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::import | ( | ) |
Import.
Definition at line 78 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::list | ( | ) |
Returns a list of import jobs and data about their status.
Definition at line 170 of file WebServiceApi.php.
| Drupal\dkan_datastore\WebServiceApi::summary | ( | $identifier | ) |
Returns the dataset along with datastore headers and statistics.
| string | $identifier | Identifier. |
Definition at line 60 of file WebServiceApi.php.
|
protected |
Definition at line 25 of file WebServiceApi.php.