Webhooks

Get organization's webhooks

Get organization's webhooks

get/webhooks/org/{orgName}

Request

Path parameters

orgNamestring required
Example:org1

Organization name

Response

namestring required
descriptionstring
urlstring uri required
secretstring
content_typestring
templatestring
activeboolean required
event_kindsEventKindId[]
webhook_idstring uuid required

Example response

[
  {
    "name": "webhook1",
    "description": "description",
    "url": "http://url",
    "secret": "123abc",
    "content_type": "application/json",
    "template": "{\"text\": \"Package {{ .Package.Name }} version {{ .Package.Version }} released! {{ .Package.URL }}\"}",
    "packages": [
      {
        "name": "pkg1",
        "normalized_name": "pkg1",
        "logo_image_id": "12345abcde",
        "display_name": "Package 1",
        "description": "This is a package sample",
        "version": "1.0.0",
        "app_version": "0.1.0",
        "license": "MIT",
        "repository": {
          "name": "repo1",
          "display_name": "Repository 1",
          "url": "http://repourl",
          "user_alias": "jdoe",
          "organization_name": "org1",
          "organization_display_name": "Organization 1"
        },
        "category_display_name": "Database",
        "stars": 3
      }
    ],
    "last_notifications": [
      {
        "error": "error"
      }
    ]
  }
]

Changes

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