Update an existing app
Storage survives updates. Existing contracts retain synchronous PUT and optional If-Match. ESM saves require Idempotency-Key and If-Match carrying the current desired source revision; accepted source advances desired while active remains the last working build. Omitting ui/styles preserves desired values only for ESM; null clears. Successful builds publish automatically; later saves supersede pending builds.
Request
- Base URL: https://charm.ing
- URL: https://charm.ing/app/{id}
- Auth: one of:
- HTTP bearer
- HTTP bearer
Headers
Required for ESM saves. Reuse the same key, body, target and If-Match after response loss; a changed request with that key returns idempotency_conflict. Use a fresh key for each intentional save.
Validator "<N>" for revision N from desired GET /app/:id/source. Required for ESM saves and migrations; optional for existing-contract PUT. The weak form W/"<N>" is also accepted so clients can return the response ETag verbatim.
Request body
Response
Updated
Changes
No recorded changes to this operation across all 1 revision of this API.