Assets
Publish and consume assets (mods, worlds, avatars) through the API.
Every asset type (mod, world, avatar) runs on the same pipeline:
asset → release → file slot → bytes → status
You reserve a slot, stream the bytes into it, and Nox analyzes, validates and completes the upload on its own. The same routes then serve those files back to clients.
| Type | Endpoint |
|---|---|
mod | /api/mods |
world | /api/worlds |
avatar | /api/avatars |
Upload
Create an asset, publish a release and upload files with integrity headers.
Download
Search assets, resolve the preferred release and download file bytes.
GitHub
Mirror a GitHub repository as a read-only provider, kept in sync by webhooks.
Unity Package Manager
Install a mod, world or avatar directly from Unity through the node's UPM registry.
Envelope & options
- Every response is wrapped:
{ data, request, time }on success,{ data: null, error: { code, message, status }, request, time }on error. - Add
?full=1to expandurl({ proxified, original }) and the asset release preference ({ auto, value }). - Uploads go through the
uploadprovider (owner / contributor / admin). A repository can also be served read-only through thegithubprovider — see the GitHub page.
Unity Package Manager
Every asset is also a UPM package (nox.<endpoint>.<slug>, e.g. nox.mods.nox.network), installed
straight from Unity: the registry lives on /upm, and both the asset payload (alias, key upm)
and /.well-known/nox (endpoints.upm) publish its URL. See
Unity Package Manager for the registry URL and how to add it to a project.