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