File

mod_pubsub_forgejo/webhook-examples/pull_request_comment/content.json @ 6235:db308d6a3b56

mod_post_msg: Fix description of authentication method (thanks amarok)
author Kim Alvefur <zash@zash.se>
date Fri, 18 Apr 2025 10:36:17 +0200
parent 6203:131b8bfbefb4
line wrap: on
line source

{
  "action": "created",
  "issue": {
    "id": 949460,
    "url": "https://codeberg.org/api/v1/repos/slidge/slidge/issues/38",
    "html_url": "https://codeberg.org/slidge/slidge/pulls/38",
    "number": 38,
    "user": {
      "id": 64076,
      "login": "nicoco",
      "login_name": "",
      "source_id": 0,
      "full_name": "",
      "email": "nicoco@nicoco.fr",
      "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
      "html_url": "https://codeberg.org/nicoco",
      "language": "en-US",
      "is_admin": false,
      "last_login": "2025-01-16T17:43:26Z",
      "created": "2022-09-12T11:13:13Z",
      "restricted": false,
      "active": true,
      "prohibit_login": false,
      "location": "Nice, France",
      "pronouns": "",
      "website": "https://nicoco.fr",
      "description": "wannabe-hacker",
      "visibility": "public",
      "followers_count": 1,
      "following_count": 0,
      "starred_repos_count": 4,
      "username": "nicoco"
    },
    "original_author": "",
    "original_author_id": 0,
    "title": "dev",
    "body": "test\r\n\r\nblabla",
    "ref": "",
    "assets": [],
    "labels": [],
    "milestone": null,
    "assignee": null,
    "assignees": null,
    "state": "open",
    "is_locked": false,
    "comments": 0,
    "created_at": "2025-01-17T14:04:59Z",
    "updated_at": "2025-01-17T14:52:25Z",
    "closed_at": null,
    "due_date": null,
    "pull_request": {
      "merged": false,
      "merged_at": null,
      "draft": false,
      "html_url": "https://codeberg.org/slidge/slidge/pulls/38"
    },
    "repository": {
      "id": 298187,
      "name": "slidge",
      "owner": "slidge",
      "full_name": "slidge/slidge"
    },
    "pin_order": 0
  },
  "comment": {
    "id": 2592486,
    "html_url": "https://codeberg.org/slidge/slidge/pulls/38#issuecomment-2592486",
    "pull_request_url": "https://codeberg.org/slidge/slidge/pulls/38",
    "issue_url": "",
    "user": {
      "id": 64076,
      "login": "nicoco",
      "login_name": "",
      "source_id": 0,
      "full_name": "",
      "email": "nicoco@noreply.codeberg.org",
      "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
      "html_url": "https://codeberg.org/nicoco",
      "language": "",
      "is_admin": false,
      "last_login": "0001-01-01T00:00:00Z",
      "created": "2022-09-12T11:13:13Z",
      "restricted": false,
      "active": false,
      "prohibit_login": false,
      "location": "Nice, France",
      "pronouns": "",
      "website": "https://nicoco.fr",
      "description": "wannabe-hacker",
      "visibility": "public",
      "followers_count": 1,
      "following_count": 0,
      "starred_repos_count": 4,
      "username": "nicoco"
    },
    "original_author": "",
    "original_author_id": 0,
    "body": "a comment",
    "assets": [],
    "created_at": "2025-01-17T14:52:25Z",
    "updated_at": "2025-01-17T14:52:25Z"
  },
  "repository": {
    "id": 298187,
    "owner": {
      "id": 205842,
      "login": "slidge",
      "login_name": "",
      "source_id": 0,
      "full_name": "",
      "email": "",
      "avatar_url": "https://codeberg.org/avatars/aa0eeeb5fe173938bdc665be92bf605efa1e8f4a905bc3327e4d5c7eddf584e5",
      "html_url": "https://codeberg.org/slidge",
      "language": "",
      "is_admin": false,
      "last_login": "0001-01-01T00:00:00Z",
      "created": "2024-08-30T14:16:14Z",
      "restricted": false,
      "active": false,
      "prohibit_login": false,
      "location": "",
      "pronouns": "",
      "website": "https://slidge.im",
      "description": "",
      "visibility": "public",
      "followers_count": 3,
      "following_count": 0,
      "starred_repos_count": 0,
      "username": "slidge"
    },
    "name": "slidge",
    "full_name": "slidge/slidge",
    "description": "An XMPP/other chat networks gateway framework in python",
    "empty": false,
    "private": false,
    "fork": false,
    "template": false,
    "parent": null,
    "mirror": false,
    "size": 7536,
    "language": "",
    "languages_url": "https://codeberg.org/api/v1/repos/slidge/slidge/languages",
    "html_url": "https://codeberg.org/slidge/slidge",
    "url": "https://codeberg.org/api/v1/repos/slidge/slidge",
    "link": "",
    "ssh_url": "git@codeberg.org:slidge/slidge.git",
    "clone_url": "https://codeberg.org/slidge/slidge.git",
    "original_url": "",
    "website": "https://slidge.im/",
    "stars_count": 1,
    "forks_count": 1,
    "watchers_count": 4,
    "open_issues_count": 26,
    "open_pr_counter": 1,
    "release_counter": 0,
    "default_branch": "main",
    "archived": false,
    "created_at": "2025-01-02T05:57:37Z",
    "updated_at": "2025-01-16T10:44:09Z",
    "archived_at": "1970-01-01T00:00:00Z",
    "permissions": {
      "admin": true,
      "push": true,
      "pull": true
    },
    "has_issues": true,
    "internal_tracker": {
      "enable_time_tracker": true,
      "allow_only_contributors_to_track_time": true,
      "enable_issue_dependencies": true
    },
    "has_wiki": false,
    "wiki_branch": "main",
    "globally_editable_wiki": false,
    "has_pull_requests": true,
    "has_projects": false,
    "has_releases": true,
    "has_packages": true,
    "has_actions": false,
    "ignore_whitespace_conflicts": false,
    "allow_merge_commits": true,
    "allow_rebase": true,
    "allow_rebase_explicit": true,
    "allow_squash_merge": true,
    "allow_fast_forward_only_merge": true,
    "allow_rebase_update": true,
    "default_delete_branch_after_merge": true,
    "default_merge_style": "rebase",
    "default_allow_maintainer_edit": true,
    "avatar_url": "",
    "internal": false,
    "mirror_interval": "",
    "object_format_name": "sha1",
    "mirror_updated": "0001-01-01T00:00:00Z",
    "repo_transfer": null,
    "topics": [
      "bridge",
      "chat",
      "gateway",
      "instant-messaging",
      "python",
      "xmpp"
    ]
  },
  "sender": {
    "id": 64076,
    "login": "nicoco",
    "login_name": "",
    "source_id": 0,
    "full_name": "",
    "email": "nicoco@noreply.codeberg.org",
    "avatar_url": "https://codeberg.org/avatars/32a918ca7a66e4e484ee2ccc625dc6451da728355c060ed0ed54fa69d89224a5",
    "html_url": "https://codeberg.org/nicoco",
    "language": "",
    "is_admin": false,
    "last_login": "0001-01-01T00:00:00Z",
    "created": "2022-09-12T11:13:13Z",
    "restricted": false,
    "active": false,
    "prohibit_login": false,
    "location": "Nice, France",
    "pronouns": "",
    "website": "https://nicoco.fr",
    "description": "wannabe-hacker",
    "visibility": "public",
    "followers_count": 1,
    "following_count": 0,
    "starred_repos_count": 4,
    "username": "nicoco"
  },
  "is_pull": true
}