Expand description
Defines functions that handle various REST-functions on the /data
path (and children).
Re-exports§
pub use crate::errors::DataError as Error;
Structs§
- Manual copy of the policy-reasoner’s
AccessDataRequest
-struct.
Functions§
- Runs the do-be-done data transfer by the checker to assess if we’re allowed to do it.
- Handles a GET that downloads an entire dataset. This basically emulates a data transfer.
- Handles a GET that downloads an intermediate result. This basically emulates a data transfer.
- Handles a GET on a specific datasets in a child-path of the
/data
-path, returning a JSON with more information about this dataset. - Handles a GET on the main
/data
path, returning a JSON with the datasets known to this registry.