List App targets
GET https://repopack.com/api/v0/projects/<key>/apps
Authorization: Bearer <token>
With app.read, returns an array of regular Apps with units, selected unit, current deployment, runtime status and public address. ?kind=task instead requires app.preview and lists only task Apps for tasks the viewer can see; neither query grants access to a hidden task preview. An unreadable project returns 401, insufficient permission 403.
Create an App
POST the same URL with JSON {"name":"web","host":"my-host"} and Authorization: Bearer <token>; name is required and host optional. An account with app.write requests creation; the global host label, if chosen, is reserved and not released to another account even when the App is deleted. Input validation occurs before the guarded human confirmation (428), and confirmation rechecks identity. A changed request returns 409 app_creation_changed; invalid name/host or unavailable label returns a structured error, message, and help. Confirmed success returns the created App. Check the App list and guarded action before retrying after a timeout; creation is not a deployment. See App configuration.