Storage Root List
The root location of a storage cache where model files are stored.
Writable Fields:
root: URI (including protocol) to the root of a StorageLocation, which when prepended to a StorageLocation
path produces a complete URI to a file. Examples:
- https://somewebsite.com/
- ftp://host/ (ftp://username:password@host:port/)
- ssh://host/
- file:///someroot/ (file://C:)
- github://org:repo@sha/ (github://org:repo/ (master))
local (optional): Boolean indicating whether the StorageRoot is local or not (by default this is False)
Read-only Fields:
url: Reference to the instance of the StorageRoot, final integer is the StorageRoot id
last_updated: Datetime that this record was last updated
updated_by: Reference to the user that updated this record
GET /api/storage_root/?format=api&ordering=-locations
{ "count": 1, "next": null, "previous": null, "results": [ { "url": "https://data.fairdatapipeline.org/api/storage_root/1/?format=api", "last_updated": "2024-11-18T15:26:26.484949Z", "root": "fdp-web.mvls.gla.ac.ukdata/", "local": false, "updated_by": "https://data.fairdatapipeline.org/api/users/1/?format=api", "locations": [] } ] }