community

Return a website adoption URL for a community-forked package.

Return a website adoption URL for a community-forked package. Adoption keeps fork provenance but grants self-authored-like read/use access to your user secrets (mutations still need an allowed_packages grant). This capability never adopts: only the account owner can adopt, signed in on the package settings page, after reviewing the source. Send the approval_url to the user and wait; never treat this call as adoption.

Org permission: package:read.

post/v1/community/fork-adopt

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/community/fork-adopt
  • Auth: HTTP bearer

Request body

package_idstring

Saved-package UUID. Use when the scoped name is not known, or for a stable ref.

kody_idstring

Package name (@owner/leaf or the name leaf). Prefer this when you know the name.

Response

Success.

status'approval_required' | 'already_adopted' required
package_idstring required
kody_idstring required
listing_idstring required
origin_commitstring required
adopted_atstring nullable required
approval_urlstring required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.