Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created February 9, 2024 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anna-geller/ead4b3d373b1fe6d1522a35c479b4a8b to your computer and use it in GitHub Desktop.
Save anna-geller/ead4b3d373b1fe6d1522a35c479b4a8b to your computer and use it in GitHub Desktop.
{
"id": "3PXJjZGwqAgpeMTv4JRPjs",
"namespace": "dev",
"flowId": "hello-world",
"flowRevision": 5,
"state": {
"current": "CREATED",
"histories": [
{
"state": "CREATED",
"date": "2024-02-09T14:17:02.714051417Z"
}
],
"duration": "PT0.017737292S",
"startDate": "2024-02-09T14:17:02.714051417Z"
},
"originalId": "3PXJjZGwqAgpeMTv4JRPjs",
"trigger": {
"id": "webhook",
"type": "io.kestra.core.models.triggers.types.Webhook",
"variables": {
"body": {
"action": "opened",
"number": 1,
"pull_request": {
"id": 123456789,
"url": "https://api.github.com/repos/octocat/Hello-World/pulls/1",
"html_url": "https://github.com/octocat/Hello-World/pull/1",
"diff_url": "https://github.com/octocat/Hello-World/pull/1.diff",
"patch_url": "https://github.com/octocat/Hello-World/pull/1.patch",
"issue_url": "https://api.github.com/repos/octocat/Hello-World/issues/1",
"number": 1,
"state": "open",
"title": "Update the README with new information",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"body": "This is a pretty simple change that we need to pull into master.",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"commits_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1/commits",
"review_comments_url": "https://api.github.com/repos/octocat/Hello-World/pulls/1/comments",
"review_comment_url": "https://api.github.com/repos/octocat/Hello-World/pulls/comments{/number}",
"comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1/comments",
"statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}",
"head": {
"label": "octocat:new-branch",
"ref": "new-branch",
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"repo": {
"id": 1296269,
"url": "https://api.github.com/repos/octocat/Hello-World",
"name": "Hello-World"
}
},
"base": {
"label": "octocat:master",
"ref": "master",
"sha": "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"user": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"repo": {
"id": 1296269,
"url": "https://api.github.com/repos/octocat/Hello-World",
"name": "Hello-World"
}
}
},
"repository": {
"id": 1296269,
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"owner": {
"login": "octocat",
"id": 1,
"html_url": "https://github.com/octocat"
},
"html_url": "https://github.com/octocat/Hello-World",
"description": "This your first repo!",
"url": "https://api.github.com/repos/octocat/Hello-World",
"created_at": "2020-01-01T00:00:00Z",
"updated_at": "2020-01-01T00:00:00Z",
"pushed_at": "2020-01-01T00:00:00Z",
"git_url": "git://github.com/octocat/Hello-World.git",
"ssh_url": "git@github.com:octocat/Hello-World.git",
"clone_url": "https://github.com/octocat/Hello-World.git",
"svn_url": "https://github.com/octocat/Hello-World",
"size": 108,
"stargazers_count": 80,
"watchers_count": 80,
"language": "Ruby",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 9,
"archived": false,
"disabled": false,
"open_issues_count": 1,
"license": {
"key": "mit",
"name": "MIT License",
"url": "https://api.github.com/licenses/mit"
},
"forks": 9,
"open_issues": 1,
"watchers": 80,
"default_branch": "master"
},
"sender": {
"login": "octocat",
"id": 1,
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
"html_url": "https://github.com/octocat"
}
},
"headers": {
"Content-Type": [
"application/json"
],
"User-Agent": [
"PostmanRuntime/7.36.1"
],
"Accept": [
"*/*"
],
"Postman-Token": [
"75c22b97-9cc2-443a-a8e7-935cb4203adb"
],
"Host": [
"localhost:28080"
],
"Accept-Encoding": [
"gzip, deflate, br"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"3707"
]
},
"parameters": {}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment