aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-07-17 22:19:27 +0300
committerkongr45gpen <electrovesta@gmail.com>2016-07-17 22:20:19 +0300
commit8dd785e693406693ca2a1b92efecd1d9e53e17d9 (patch)
tree8ab21b180f487ffbcbcb9b85db8119f47f432237 /samples
parentdd39db4330b1dc762c3e0f68f43cfb7b65651aef (diff)
downloadsupybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.gz
supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.tar.bz2
supybot_github-8dd785e693406693ca2a1b92efecd1d9e53e17d9.zip
Add support for Github releases
Diffstat (limited to 'samples')
-rw-r--r--samples/release.json149
1 files changed, 149 insertions, 0 deletions
diff --git a/samples/release.json b/samples/release.json
new file mode 100644
index 0000000..ebc3f5c
--- /dev/null
+++ b/samples/release.json
@@ -0,0 +1,149 @@
+{
+ "action": "published",
+ "release": {
+ "url": "https://api.github.com/repos/kongr45gpen/myproject/releases/3676458",
+ "assets_url": "https://api.github.com/repos/kongr45gpen/myproject/releases/3676458/assets",
+ "upload_url": "https://uploads.github.com/repos/kongr45gpen/myproject/releases/3676458/assets{?name,label}",
+ "html_url": "https://github.com/kongr45gpen/myproject/releases/tag/v2.6.5",
+ "id": 3676458,
+ "tag_name": "v2.6.5",
+ "target_commitish": "toast",
+ "name": "Useless Release",
+ "draft": false,
+ "author": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars.githubusercontent.com/u/720678?v=3",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "prerelease": true,
+ "created_at": "2014-12-31T14:14:32Z",
+ "published_at": "2016-07-17T18:09:44Z",
+ "assets": [
+
+ ],
+ "tarball_url": "https://api.github.com/repos/kongr45gpen/myproject/tarball/v2.6.5",
+ "zipball_url": "https://api.github.com/repos/kongr45gpen/myproject/zipball/v2.6.5",
+ "body": "This release is completely useless!"
+ },
+ "repository": {
+ "id": 7406434,
+ "name": "myproject",
+ "full_name": "kongr45gpen/myproject",
+ "owner": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars.githubusercontent.com/u/720678?v=3",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/kongr45gpen/myproject",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/myproject",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/myproject/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/myproject/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/myproject/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/myproject/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/myproject/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/myproject/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/myproject/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/myproject/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/myproject/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/myproject/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/myproject/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/myproject/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/myproject/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/myproject/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/myproject/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/myproject/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/myproject/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/myproject/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/myproject/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/myproject/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/myproject/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/myproject/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/myproject/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/myproject/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/myproject/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/myproject/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/myproject/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/myproject/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/myproject/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/myproject/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/myproject/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/myproject/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/myproject/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/myproject/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/myproject/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/myproject/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2016-02-07T12:41:16Z",
+ "pushed_at": "2016-07-17T18:09:44Z",
+ "git_url": "git://github.com/kongr45gpen/myproject.git",
+ "ssh_url": "git@github.com:kongr45gpen/myproject.git",
+ "clone_url": "https://github.com/kongr45gpen/myproject.git",
+ "svn_url": "https://github.com/kongr45gpen/myproject",
+ "homepage": "",
+ "size": 20,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": null,
+ "has_issues": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 0,
+ "mirror_url": null,
+ "open_issues_count": 2,
+ "forks": 0,
+ "open_issues": 2,
+ "watchers": 0,
+ "default_branch": "pullr1"
+ },
+ "sender": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars.githubusercontent.com/u/720678?v=3",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy