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/2/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://data.fairdatapipeline.org/api/storage_root/2/?format=api",
    "last_updated": "2026-10-02T11:04:19.412587Z",
    "root": "https://github.com/",
    "local": false,
    "updated_by": "https://data.fairdatapipeline.org/api/users/2/?format=api",
    "locations": [
        "https://data.fairdatapipeline.org/api/storage_location/3/?format=api",
        "https://data.fairdatapipeline.org/api/storage_location/9/?format=api"
    ]
}