
Security News
VulnCon 2025: NVD Scraps Industry Consortium Plan, Raising Questions About Reform
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
A REST API service to query and manage the SAFER-STORAGE backup and storage in space in time dimensions
uvicorn sysapi.main:app --reload# SAFER-STORAGE System Backend REST API Server
This backend is implemented using FastAPI
Install the module on your system sing PyPI:
pip install sysapi
Then start the service using default settings (test on localhost:8000), run the following command:
uvicorn sysapi.main:app --reload
(download PDF)
All routes start with a /{version}/
prefix, which is currently set to v1
These routes are used to retrieve data about users and snapshots
/v1/users
: list user accounts/v1/user/{user}
: get user
's meta-data/v1/snapshots
: list of all available snapshots/v1/snapshots?user={user}
: list of available snapshots for user
/v1/snapshot/{@snapshot}
: get @snapshot
meta-dataNB:
users
, snapshots
, and root
are reserved user names to avoid conflicts.@
-prefixed name, eg. @initial
, which also solved ambiguity between snapshot and user routes.The general form is as follows:
/v1/{user}/{time-location}/{space-location}
With the following constructs:
{time-location}
is one of:
fat/{@sanpshot}
: the state of a single file as captured in snapshot named {snapid}
dat/{@sanpshot}
: the state of a directory as captured in snapshot named {snapid}
fbefore/{@snapshot}
: the state of a file as captured in snapshot immediately preceding the snapshot named {@snapshot}
(if any)dbefore/{@snapshot}
: the state of a directory as captured in snapshot immediately preceding the snapshot named {@snapshot}
(if any)past/{@snapshot}
: merged view of a directory composed of all snapshot(s) preceding, and including, the snapshot named {@snapshot}
.historic/{username}/{path}
: list of snapshots that contain the given file for the given user@current
is reserved and used to designate the current state of the filesystem. It is actually a real snapshot, that is created each time an API call requests this time-point.{space-location}
is of the form:
user
's homedir content{path}/
: content of the directory designated by the URL-encoded path
starting from the user
's homedir{path}/file
: file located in directory designated by path
NB: the root
virtual user is only available to the admin user and his/her home directpry is at the root of the filesystem
Examples:
/v1/joe/at/@current/
: joe
's current homedir/v1/joe/at/@snap-2019-09-18-2230/Photos/Kickoff/people.jpg
: joe
's file named people.jpg
in sub-directory Photos/Kickoff
as it was captured by snapshot named @snap-2019-09-18-2230
/v1/root/before/@snap-2019-09-18-2230/users/joe/Photos/
: content of directory users/joe/Photos/
for admin user as it was captured by snapshot immediately preceding the snapshot named @snap-2019-09-18-2230
/v1/users/new
Creates a user with following elements:
/v1/copyto/{space-location}
Copies the list of files designated in the body to the space-location designated by the URL: In the body, each file is designated by a triplet:
"path"="path/to/file"
"snapshot"="@snapshot"
from which the file is copied"destructive"=boolean
Returns: The updated content of target directory (space-location
)FAQs
A REST API service to query and manage the SAFER-STORAGE backup and storage in space in time dimensions
We found that sysapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.