repos

Promote a package-shaped plain repo (root package.json at HEAD) into a saved package.

Promote a package-shaped plain repo (root package.json at HEAD) into a saved package. Runs the full external-push publish checks; on success creates the saved-package projection and removes the plain-repo row.

Org permission: package:create.

post/v1/repos/{repo_id}/promote

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/repos/{repo_id}/promote
  • Auth: HTTP bearer

Path parameters

repo_idstring required

Request body

namestring

Response

Success.

status'promoted' required
package_idstring required
kody_idstring required
namestring required
published_commitstring required
messagestring

Changes

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