community

Fork a public package into an inert package source in your scope.

Fork a public package into an inert package source in your scope. The fork cannot run until you review the code and publish through a repo session. When the listing leaf is already taken by an unrelated package and you omit kody_id, Kody picks the next free leaf (for example leaf-2). Pass an explicit package name leaf (or @owner/leaf) to choose the name yourself.

Org permission: package:create.

post/v1/community/listings/{listing_id}/fork

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/community/listings/{listing_id}/fork
  • Auth: HTTP bearer

Path parameters

listing_idstring required

Catalog entry id to fork.

Request body

kody_idstring

Optional package name leaf (or @owner/leaf). Omit to use the listing leaf, or the next free alternate when that leaf is already taken by an unrelated package.

Response

Success.

fork_idstring required
package_idstring required
source_idstring required
target_kody_idstring required
target_namestring required
origin_commitstring required
files_countinteger required
next_stepsstring required
content_warningstring required

Changes

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