Skip to content
Navigation

listRepoWebhooks

List the webhooks that the versions main runs declare, an installation's or the repo's own: each one's tool, who makes its secret (forge or provider), how to set it up at the provider, and, once the repo subscribes, its URL and when its secret was set.

GET
/repos/{repo_id}/webhooks

Path parameters

  • repo_id
    string
    required
    pattern: ^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$

Returns

200

Success

JSON
  • extension_name
    string
    required
    maxLength: 129 · pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$
  • name
    string
    required
    maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*$
  • tool
    string
    required
    maxLength: 128 · pattern: ^[A-Za-z_][A-Za-z0-9_]*(?:\.[A-Za-z_][A-Za-z0-9_]*)*$
  • secret_source
    forge
    or
    provider
    required
  • instructions
    required

    One of the following:

    • string
    • null
  • url
    required

    One of the following:

    • string
    • null
  • secret_set_at
    required

    One of the following:

    • string
    • null

400

InvalidRequest
JSON
  • _tag
    InvalidRequest
    required
  • part
    path
    or
    query
    or
    headers
    or
    body
    required
  • issues
    array of
    object
    required
    • path
      array of
      required

      One of the following:

      • string
      • integer
    • message
      string
      required

401

InvalidCredentials
JSON
  • _tag
    InvalidCredentials
    required

403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON

One of the following:

  • ForbiddenEncoded
    • _tag
      Forbidden
      required
    • message
      string
      required
  • ForbiddenOriginEncoded
    • _tag
      ForbiddenOrigin
      required
  • RequiresPersonalSessionEncoded
    • _tag
      RequiresPersonalSession
      required
  • RunBranchRequiredEncoded
    • _tag
      RunBranchRequired
      required
    • branch
      string
      required
      minLength: 1
    • message
      string
      required

404

RepoNotFound
JSON
  • _tag
    RepoNotFound
    required

429

RateLimited
JSON
  • _tag
    RateLimited
    required

500

RepoFailure | OrgFailure
JSON

One of the following:

  • RepoFailureEncoded
    • _tag
      RepoFailure
      required
    • reason
      string
      required
  • OrgFailureEncoded
    • _tag
      OrgFailure
      required
    • reason
      string
      required

503

SessionUnavailable | RateLimitUnavailable
JSON

One of the following:

  • SessionUnavailableEncoded
    • _tag
      SessionUnavailable
      required
  • RateLimitUnavailableEncoded
    • _tag
      RateLimitUnavailable
      required

Type to search…

↑↓ navigate↵ selectEsc close