Apps
Import a previously exported app manifest as a new app (spec B3.2 Portability)
Changed onCreates the app then saves content as its draft, through the same create+saveDraft path as POST /v1/apps/{id}/duplicate. mode defaults from content.mode when the body omits it. Counterpart to GET /v1/apps/{id}/export.
post/v1/apps/import
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
object required
slug, string required
display_name, string required
mode, 'rules' | 'assisted' | 'external'
content, object required
export_version, 1 required
Response
The created app's manifest plus the saved draft version.
object required
app, App Manifest
An app as humans and agents both see it (docs/APPS-SPEC.md §B1.2). A hosted app's document is discovered at /.well-known/talonic-app.json first, then /manifest.json (manifest_path says which one answered); its requires[] slots are referenced elsewhere in the manifest as $requires.<alias> and bound to workspace resources at install (POST .../install bindings).
draft, object
Changes
- info
added the optional property
app/standardto the response with the status
- info