Create an App Files Upload Link
create_app_files_upload_linkGet an upload link for files the USER has that become part of the app's code and stay as they are until the next build (pictures, fonts, PDFs, data files, anything they attached to the chat): a chat cannot forward those bytes, so never ask for attachments and never inline them. Content the owner adds or changes after launch (menu items, products, posts, and their photos) never goes here, not even as a first batch: the owner adds it from the app once it runs, and the app keeps it on its file storage (see plan_app). files: each file the code uses in one specific place (a logo, a hero image). folders: a set the code does not tell apart (photos the user says will not change), any number, in any order; add caption when the code needs each one named. The user drops everything at once and the page sorts it. Show the link exactly as returned. After the user says the files are uploaded, call get_app_files and put the stored paths in the code: a folder's files in a data file the code renders. No login, one hour, up to 100 MB per file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization slug. | |
| name | Yes | The app's name, e.g. "todo-app". One name for the whole app: the `name` here, the image NAME that build_image produces (//image/NAME:TAG), and the workload name. | |
| adopt | No | Confirm that Control Plane's stored copy becomes this app's source of truth although the app was built from a repository, a folder on a machine, or an image pushed outside a Control Plane build. Only after the user asked for exactly that. | |
| files | No | One entry per file the code uses in one specific place. | |
| folders | No | One entry per set of files the code does not tell apart; the user drops any number, never matching them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | The full result. Read this, not only the summary. | |
| details | No | ||
| summary | Yes | ||
| nextSteps | No |