BaGet

Repositories

A server holds one or more named repositories. Each has its own packages, owners, catalog and validations.

Repository Feed
default /v3/index.json (unchanged; every existing install is this one)
any other /r/{name}/v3/index.json

Local, remote (upstream cache) and virtual (ordered group of members) repositories can be created for NuGet, npm, Maven and Docker (the format layer is how formats plug in). A Docker repository is addressed as /v2/{name}/{image} at the server root, not under /r/{name}/.

Web pages

The web pages work in every repository: the package list, package, statistics, report-abuse, manage, contact-owners, profile and upload pages are at their usual address for default and under /r/{name}/ for any other (/r/{name}/packages, /r/{name}/upload, …). Links on a page stay in the repository being browsed.

Where What
Header A Repository menu appears on those pages when more than one repository is readable; it goes to the front page of the chosen one. Hidden with a single repository, and always with Azure Table or Search:Type = AzureSearch (only default)
Upload /r/{name}/upload publishes to {name}; the page lists the repositories you can publish to and shows the push commands of the one open
My packages The packages you own, grouped by repository
/admin/repositories Browse and Upload links per repository
Service index Each repository advertises its own PackageDetailsUriTemplate and ReportAbuseUriTemplate

Admin pages

Administrators manage them at /admin/repositories (menu: Repositories). Other users and anonymous requests get 404 or the sign-in page.

Page Does
/admin/repositories Lists name, format, type, package count and feed address (with a copy button) and the links of its format (npm: Browse, Upload, Registry; Maven: Browse, Upload, Repository; Docker: Browse and the v2/{name}/ registry address); creates a local, a remote or a virtual repository (the remote and virtual forms ask for the format: NuGet, npm, Maven or Docker), or a local one of another format
/admin/repositories/{name} Shows the feed and who effectively holds each action (see Access control); edits Anonymous read; for a remote repository also its upstream, Test connection, the cache and Purge (details); for a virtual one its members, deploy repository and Where would a package come from? (details); a member lists the virtual repositories it belongs to
/admin/repositories/{name}/delete Deletes a repository that holds no packages (a remote one: purge its cache first)

Other administrator pages work across all repositories:

Page Does
/admin/operations Runs Rebuild the catalog, Import download counts, the Docker garbage collection (dry run and run) and the vulnerability scan for a chosen repository as background jobs; shows each one’s last status
/admin/validation Pending and quarantined submissions of every repository: retry, release (index anyway, audited), reject (see configuration)
/admin/abuse Abuse reports of every repository (unresolved by default, ?all=true for all): resolve or reopen; links each package to its Manage page in its own repository

Rules: