Skip to main content
The App Blob Type (blobhub.package.app) holds one app’s compiled definition: the files of app.yaml and of each blob’s blob.yaml, as the build wrote them. Nothing runs in an app blob. It is a store that an installer reads when an organization installs the app. An app blob is filled by the command line, from the app’s repository: blobhub app build compiles the sources and blobhub app push makes the draft equal the build — see the App commands, and Building an App for the whole path with one example. It is not edited in the web.

Revisions

Each revision holds the tree of files a developer sees in build/: app.yaml, one folder per blob with its blob.yaml and definitions, and schemas/. The app’s README.md and LICENSE are the revision’s Readme and License, which blobhub app push writes as revision metadata, not as files. A path is relative and made of segments of A-Z, a-z, 0-9, ., _ and -, at most 256 characters. A file is at most 4 MiB and a revision holds at most 500 files; both bounds are fixed.

Versions

A version is a committed revision, named by its app.version — 0.2.0 in the Field Reports example. The name is unique within the blob: committing a revision whose app.version the blob already holds is refused. A version is never reopened, so an installation made from 0.2.0 is made from the same files whenever it is read. app.version is a semantic version (App), so draft is never one. Versions compare by semantic-version precedence, and the newest version is the highest. The commit route refuses in three ways: The reopen route refuses every version with 409 revision_not_writable: commit the next version instead. describe is the platform reading the definition: the app, its blobs, its inputs and every problem found. The commit route runs it, and refuses to commit while it reports a problem.

Access

Members are users: people and service accounts. A private app is shared by adding a person, or a service account, as a member with READ; that user may install the app wherever they may install. Losing access stops upgrades and nothing else — an installation holds its own copy and keeps working.

Commands

Every command is a POST to /revisions/:id/data/command (writes) or /revisions/:id/data/query (reads). A write to a committed revision is refused with revision_not_writable. put_file takes the file’s bytes as its body; get_file answers the bytes.