Get app context
get_app_contextReturns the complete currently published source of an existing app, by the app_id in the person's message: every authored file, the live declared schema, published compact context, and this editor's checkpoint. Ground-truth files and schema win if compact context disagrees. Reserved apps return version 0 with no files. Failed apps return the last live version when one exists and a plain problem. Stored records are intentionally not returned. For source-backed data, it returns the recipe digest, the collection and field projection, and whether the owner keeps a copy, and never returns rows or recipe material. A change is a publish of only the changed files against the returned version, as base_version, with the complete schema and a new work_context. version reads a past version instead of the live one: publishing its files against the version now serving puts a bad publish back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | for a large app, selected paths from the returned manifest; omit for the complete bundle | |
| app_id | No | the app id to continue working on | |
| version | No | a past version to read instead of the live one; omit for what is published now | |
| development_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | plain sentences about this result for the person; the same text as the first text block | |
| files | Yes | the authored bundle of the version read. For the live version, version is the base_version of the next change. A past version's files, published against the version now serving, not this number, put that version back | |
| assets | No | binary files this version serves, by path, size, hash and type; never their bytes. A publish naming one in assets with a new hash changes it | |
| intent | No | ||
| schema | No | the complete live declared data shape; publish takes it whole, unchanged or added to | |
| status | Yes | ||
| problem | No | ||
| version | Yes | ||
| manifest | No | ||
| checkpoint | No | ||
| data_publication | No | ||
| published_context | No |