Extensions
Reload Extension Bundle
Changed onTrigger an atomic-swap reload for a single Bundle.
Returns the typed :class:~lfx.extension.reload.ReloadResult body on success. Per the typed-error contract, structural failures (broken bundle, missing source path, name mismatch) surface as 422 Unprocessable Entity with the first typed error in the body so clients can surface fix hints inline; the full ReloadResult payload (with all errors and warnings) is returned via the FastAPI detail envelope. Concurrency-control collisions surface as 409 Conflict (reload-in-progress). Non-2xx is the wire contract for every error path -- the body still carries the typed error so the client renders the same fix-hint envelope.
post/api/v1/extensions/{extension_id}/bundles/{bundle_name}/reload
Request
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URL: api/v1/login
- or API key in query parameter x-api-key
- or API key in header x-api-key
Path parameters
extension_idstring required
bundle_namestring required
Response
Successful Response
object required
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking