Drespol / explorations

Exploring: Webhooks
0 stars 0 forks source link

Is this part of a project? #2

Open jhonrocha opened 1 year ago

jhonrocha commented 1 year ago

Here is the Webhook payload:

[15:48:02.473] INFO (13751):
    action: "edited"
    projects_v2_item: {
      "id": 34788816,
      "node_id": "PVTI_lADOBevQks4ATjmazgIS1dA",
      "project_node_id": "PVT_kwDOBevQks4ATjma",
      "content_node_id": "I_kwDOKCSp7c5tL43P",
      "content_type": "Issue",
      "creator": {
        "login": "github-project-automation[bot]",
        "id": 113052574,
        "node_id": "BOT_kgDOBr0Lng",
        "avatar_url": "https://avatars.githubusercontent.com/in/235829?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github-project-automation%5Bbot%5D",
        "html_url": "https://github.com/apps/github-project-automation",
        "followers_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/followers",
        "following_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/following{/other_user}",
        "gists_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/subscriptions",
        "organizations_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/orgs",
        "repos_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/repos",
        "events_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github-project-automation%5Bbot%5D/received_events",
        "type": "Bot",
        "site_admin": false
      },
      "created_at": "2023-08-01T18:45:12Z",
      "updated_at": "2023-08-01T18:45:12Z",
      "archived_at": null
    }
    changes: {
      "field_value": {
        "field_node_id": "PVTF_lADOBevQks4ATjmazgMfde8",
        "field_type": "linked_pull_requests"
      }
    }
    organization: {
      "login": "Drespol",
      "id": 99340434,
      "node_id": "O_kgDOBevQkg",
      "url": "https://api.github.com/orgs/Drespol",
      "repos_url": "https://api.github.com/orgs/Drespol/repos",
      "events_url": "https://api.github.com/orgs/Drespol/events",
      "hooks_url": "https://api.github.com/orgs/Drespol/hooks",
      "issues_url": "https://api.github.com/orgs/Drespol/issues",
      "members_url": "https://api.github.com/orgs/Drespol/members{/member}",
      "public_members_url": "https://api.github.com/orgs/Drespol/public_members{/member}",
      "avatar_url": "https://avatars.githubusercontent.com/u/99340434?v=4",
      "description": null
    }
    sender: {
      "login": "jhonrocha",
      "id": 4550128,
      "node_id": "MDQ6VXNlcjQ1NTAxMjg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/4550128?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/jhonrocha",
      "html_url": "https://github.com/jhonrocha",
      "followers_url": "https://api.github.com/users/jhonrocha/followers",
      "following_url": "https://api.github.com/users/jhonrocha/following{/other_user}",
      "gists_url": "https://api.github.com/users/jhonrocha/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/jhonrocha/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/jhonrocha/subscriptions",
      "organizations_url": "https://api.github.com/users/jhonrocha/orgs",
      "repos_url": "https://api.github.com/users/jhonrocha/repos",
      "events_url": "https://api.github.com/users/jhonrocha/events{/privacy}",
      "received_events_url": "https://api.github.com/users/jhonrocha/received_events",
      "type": "User",
      "site_admin": false
    }