aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2016-09-16 14:29:28 +0300
committerkongr45gpen <electrovesta@gmail.com>2016-09-16 14:29:53 +0300
commitc1a40b6366fbc553cd8a15f5898de903ac05ecc0 (patch)
tree1e0055c07fda1b664f3a4fdeaf85c92c0ed13cf8
parent39c85de3c09c23a46260e2f67ea624d94f7ae9a0 (diff)
downloadsupybot_github-c1a40b6366fbc553cd8a15f5898de903ac05ecc0.tar.gz
supybot_github-c1a40b6366fbc553cd8a15f5898de903ac05ecc0.tar.bz2
supybot_github-c1a40b6366fbc553cd8a15f5898de903ac05ecc0.zip
Add some editing samples
-rw-r--r--samples/issue-edit-init.json158
-rw-r--r--samples/issue-edit.json160
2 files changed, 318 insertions, 0 deletions
diff --git a/samples/issue-edit-init.json b/samples/issue-edit-init.json
new file mode 100644
index 0000000..181b746
--- /dev/null
+++ b/samples/issue-edit-init.json
@@ -0,0 +1,158 @@
+{
+ "action": "edited",
+ "issue": {
+ "url": "https://api.github.com/repos/kongr45gpen/test/issues/8",
+ "repository_url": "https://api.github.com/repos/kongr45gpen/test",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/labels{/name}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/comments",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/events",
+ "html_url": "https://github.com/kongr45gpen/test/issues/8",
+ "id": 177039876,
+ "number": 8,
+ "title": "Design toaster structure",
+ "user": {
+ "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
+ },
+ "labels": [
+
+ ],
+ "state": "open",
+ "locked": false,
+ "assignee": null,
+ "assignees": [
+
+ ],
+ "milestone": null,
+ "comments": 0,
+ "created_at": "2016-09-14T22:33:15Z",
+ "updated_at": "2016-09-16T11:23:30Z",
+ "closed_at": null,
+ "body": "- [ ] Add more toasts"
+ },
+ "changes": {
+
+ },
+ "repository": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "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/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2016-02-07T12:41:16Z",
+ "pushed_at": "2016-09-15T15:08:16Z",
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 21,
+ "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": 4,
+ "forks": 0,
+ "open_issues": 4,
+ "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
+ }
+}
diff --git a/samples/issue-edit.json b/samples/issue-edit.json
new file mode 100644
index 0000000..99bd1bb
--- /dev/null
+++ b/samples/issue-edit.json
@@ -0,0 +1,160 @@
+{
+ "action": "edited",
+ "issue": {
+ "url": "https://api.github.com/repos/kongr45gpen/test/issues/8",
+ "repository_url": "https://api.github.com/repos/kongr45gpen/test",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/labels{/name}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/comments",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/issues/8/events",
+ "html_url": "https://github.com/kongr45gpen/test/issues/8",
+ "id": 177039876,
+ "number": 8,
+ "title": "Design toaster structure",
+ "user": {
+ "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
+ },
+ "labels": [
+
+ ],
+ "state": "open",
+ "locked": false,
+ "assignee": null,
+ "assignees": [
+
+ ],
+ "milestone": null,
+ "comments": 0,
+ "created_at": "2016-09-14T22:33:15Z",
+ "updated_at": "2016-09-16T11:24:38Z",
+ "closed_at": null,
+ "body": "- [ ] Add more toasts\r\n- [x] Add more struts"
+ },
+ "changes": {
+ "body": {
+ "from": "- [ ] Add more toasts\r\n- [ ] Add more struts"
+ }
+ },
+ "repository": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "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/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2016-02-07T12:41:16Z",
+ "pushed_at": "2016-09-15T15:08:16Z",
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 21,
+ "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": 4,
+ "forks": 0,
+ "open_issues": 4,
+ "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