Public Member Functions | |
| __construct (RequestStack $requestStack, Service $service) | |
| getSchemas () | |
| getSchema (string $identifier) | |
| getAll (string $schema_id) | |
| get (string $schema_id, string $identifier) | |
| getResources (string $schema_id, string $identifier) | |
| post (string $schema_id) | |
| put ($schema_id, string $identifier) | |
| patch ($schema_id, $identifier) | |
| delete ($schema_id, $identifier) | |
| getCatalog () | |
Static Public Member Functions | |
| static | create (ContainerInterface $container) |
| Drupal\dkan_metastore\WebServiceApi::__construct | ( | RequestStack | $requestStack, |
| Service | $service | ||
| ) |
Constructor.
Definition at line 52 of file WebServiceApi.php.
|
static |
Inherited.
Definition at line 42 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::delete | ( | $schema_id, | |
| $identifier | |||
| ) |
Implements DELETE method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 217 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::get | ( | string | $schema_id, |
| string | $identifier | ||
| ) |
Implements GET method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 95 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::getAll | ( | string | $schema_id | ) |
Get all.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
Definition at line 80 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::getCatalog | ( | ) |
Provides the data catalog.
Definition at line 233 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::getResources | ( | string | $schema_id, |
| string | $identifier | ||
| ) |
GET all resources associated with a dataset.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 116 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::getSchema | ( | string | $identifier | ) |
Get schema.
Definition at line 67 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::getSchemas | ( | ) |
Get schemas.
Definition at line 60 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::patch | ( | $schema_id, | |
| $identifier | |||
| ) |
Implements PATCH method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 190 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::post | ( | string | $schema_id | ) |
Implements POST method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
Definition at line 134 of file WebServiceApi.php.
| Drupal\dkan_metastore\WebServiceApi::put | ( | $schema_id, | |
| string | $identifier | ||
| ) |
Implements PUT method.
| string | $schema_id | The {schema_id} slug from the HTTP request. |
| string | $identifier | Identifier. |
Definition at line 163 of file WebServiceApi.php.