GitHub · Example Payload

Github Code Of Conduct Api Webhook Branch Protection Rule Created Example

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Github Code Of Conduct Api Webhook Branch Protection Rule Created Example is an example object payload from GitHub, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

actionenterpriseinstallationorganizationrepositoryrulesender

Example Payload

Raw ↑
{
  "action": "created",
  "enterprise": "example_value",
  "installation": "example_value",
  "organization": "example_value",
  "repository": "example_value",
  "rule": {
    "admin_enforced": true,
    "allow_deletions_enforcement_level": "everyone",
    "allow_force_pushes_enforcement_level": "non_admins",
    "authorized_actor_names": [
      "octocat"
    ],
    "authorized_actors_only": true,
    "authorized_dismissal_actors_only": true,
    "create_protected": true,
    "created_at": "2026-04-17T12:00:00Z",
    "dismiss_stale_reviews_on_push": true,
    "id": 42
  },
  "sender": "example_value"
}