[studio] Complete editor uploads and queued cloud builds (#135)

* [studio] Complete editor uploads and queued cloud builds

* [studio] Protect unpublished source and remove unused notification RPC
This commit is contained in:
dukedotdev
2026-10-19 11:04:58 -04:00
committed by GitHub
parent 81c372135c
commit a3291bc9ce
30 changed files with 2553 additions and 142 deletions
+6 -2
View File
@@ -38,8 +38,12 @@ Reads are the exception: they carry no envelope at all. A paged read (the save h
same number, because the client's paged DTO and the reference disagree on the name.
`GET /rooms/{roomId}` puts a Studio build's main bundles on `CurrentSave.UnitySubAssets`
(target 0 Windows, 2 Android/Quest). `unityAssetTarget` keeps only that target. Maker-pen
saves keep the arrays empty. `GET …/unityasset?unityAssetId=` is the bare metadata for
those files; the bytes are on the CDN.
saves keep the arrays empty. `GET …/unityasset?unityAssetId=<guid>` returns the
editable source manifest's filename and hash, plus available baked-build metadata.
The current published source is public; other revisions require save-history
permissions. Without an asset ID, authorized save readers receive the latest
source, while other callers receive only the current published source. A save
with only baked bundles has no editable source and returns 404.
`POST /unity_assets/baked/bulk` (form `target=0&version=3&id=<guid>&id=<guid>`) is the
2025 client's bulk lookup of baked bundles from the `unity_asset` table — a bare array of
`{ UnityAssetId, Target, Version, Filename, Hash }`, one per asset that has a build.