Repository navigation
feat(sdk): add content-cli sdk publish for fragment gateway uploads - #433
Closed
Andrei Sitsko (andrey-sitsko) wants to merge 4 commits into
Closed
Andrei Sitsko (andrey-sitsko) wants to merge 4 commits into
Andrei Sitsko (andrey-sitsko) wants to merge 4 commits into
Conversation
Introduce content-cli sdk publish --app-id <id> --dist <dir> that uploads browser-ready builds through fragment gateway upload/finalize. Includes binary raw transport support in HttpClient with full-profile auth reuse. Upload-only: finalization does not activate or launch the app.
Andrei Sitsko (andrey-sitsko)
marked this pull request as draft
October 16, 2026 14:00
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




index.htmlat the dist root, then runcontent-cli sdk publish --app-id <app-id> --dist <path-to-bundle> --profile <profile>using an authenticated Bearer profile./fragments/apis/v1/apps/<app-id>:POST /uploads→PUT /uploads/<uploadId>/files/<fileId>for each file orPUT /uploads/<uploadId>/archive(application/zip) →POST /uploads/<uploadId>/finalize→GET /uploads/<uploadId>while validating.GET /releases. Preview a ready version:POST /launchwith{"releaseId":"<releaseId>"}andX-Fragment-Publication: 1. Active-version launch uses{}after a separate activation.