Create a Fluid OS widget package version
Start a company-owned Fluid OS widget package publish flow and return signed upload URLs for each artifact.
Authorizations
Bearer token authentication
Body
Request payload
Non-empty, object-path-safe company-owned widget package key. Use URL-safe characters only; . and .. are not accepted.
1^(?!\.\.?$)[A-Za-z0-9._~-]+$Non-empty, object-path-safe widget package version identifier accepted in the URL and upload path. Dotted versions such as 1.0.0 are accepted; only exact . or .. path segments and characters outside [A-Za-z0-9._~-] are rejected.
1^(?!\.\.?$)[A-Za-z0-9._~-]+$Fluid OS builder version that produced this package.
1Fluid OS CLI version that published this package.
1Fluid OS runtime version targeted by this package.
1SHA256 checksum of the serialized manifest JSON.
1Widget package manifest JSON. It must use the supported widget manifest structure, contain at least one extractable widget type, and every widget type in that structure must use the company-owned prefix company.<package_key>..
Top-level package artifacts to upload. The list must include widget.js and manifest.json.
2Artifact metadata required before Fluid OS widget package upload URLs can be issued. Artifact paths must be unique within the request, and the artifact list must include widget.js and manifest.json before upload URLs are issued. Artifact paths are top-level package artifact filenames only; accepted names are widget.js, manifest.json, *.css, and *.js.map with no slash paths. Accepted content types are application/javascript for widget.js, application/json for manifest.json and *.js.map, and text/css for *.css. Byte sizes are non-negative and checked against configured per-artifact and bundle limits; defaults are 5 MiB per artifact and 10 MiB per bundle unless environment config changes them.
- Widget script artifact
- Widget manifest artifact
- Stylesheet artifact
- Source map artifact
Optional publisher metadata stored with the package version.
Response
Created
Upload session details for a pending Fluid OS widget package version.
Present when a best-effort side effect of the publish failed — currently only the widget's Git repo provisioning (scope git_sync). The publish itself succeeded, but fluid widget clone will not work until a later publish re-provisions the repo.