Webhooks

Webhook event catalogue.

1 endpoint · Plakar Control Plane v0.18 · Base URL, authentication and errors

List the webhook events

GET /api/v1/webhooks/events
Badge

Response 200 OK application/json

  • catalog_version integer
  • events map[array[string]]

Errors

  • 400 Bad Request (validation or deserialization error)
  • 401 Missing, invalid or expired credentials
  • 403 The caller may not do this
  • 500 Internal Server Error (panics)

Every error returns the standard error body.

Request

curl 'https://pcp.example.com/api/v1/webhooks/events' \
  -H 'Authorization: Bearer <badge>'

Response 200

{
  "catalog_version": 0,
  "events": {
    "key": [
      "string"
    ]
  }
}