follows

Follow a package or plain repo by @handle/name so this org receives follow.published when its live version moves and,...

Follow a package or plain repo by @handle/name so this org receives follow.published when its live version moves and, when you can read it, follow.pushed when the default branch moves. Public targets are followable by any signed-in caller. Private targets require package:read (a use grant qualifies; execute-only does not) and a missing or unreadable target is reported as not found. Creating a follow that already exists returns it and, if it was paused, resumes it when you can still read the target. Pass events to choose published and/or pushed; omit them to keep the current choice (both for a new follow).

Org permission: org:read.

post/v1/follows

Request

  • Base URL: https://api.kody.codes
  • URL: https://api.kody.codes/v1/follows
  • Auth: HTTP bearer

Request body

namestring required

Target to follow, as @handle/name. handle is the owner org slug.

kind'package' | 'repo'

package or repo. Omit to follow the package when both exist under that name, otherwise the plain repo.

eventsstring[]

Events to deliver: published (follow.published, packages only) and/or pushed (follow.pushed, needs read access).

Response

Success.

Changes

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