repos

Publish an active repo session back to the source repo after checks pass on the current tree and the base commit is s...

Publish an active repo session back to the source repo after checks pass on the current tree and the base commit is still current. Visibility is a repo setting (packageUpdate / repoUpdate), not package.json#private. When publishing a community fork after absorbing origin updates, pass absorbed_upstream_commit.

Org permission: package:write.

post/v1/repo-sessions/{session_id}/publish

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/repo-sessions/{session_id}/publish
  • Auth: HTTP bearer

Path parameters

session_idstring required

Active repo session id from repoOpenSession or repoListSessions.

Request body

confirm_private_visibility_changeboolean

Unused. Visibility is a repo setting via packageUpdate, not package.json#private.

absorbed_upstream_commitstring

When publishing a community fork after porting (or skipping) origin updates, pass origin HEAD so the behind-upstream banner clears. Does not copy files.

Response

Success.

OR
OR
OR
OR

Changes

No recorded changes to this operation across all 3 revisions of this API.