discourse/spec/fixtures/onebox/githubgist.response

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

310 lines
14 KiB
Plaintext
Raw Normal View History

{
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b",
"forks_url": "https://api.github.com/gists/208fdd59fc4b4c39283b/forks",
"commits_url": "https://api.github.com/gists/208fdd59fc4b4c39283b/commits",
"id": "208fdd59fc4b4c39283b",
"git_pull_url": "https://gist.github.com/208fdd59fc4b4c39283b.git",
"git_push_url": "https://gist.github.com/208fdd59fc4b4c39283b.git",
"html_url": "https://gist.github.com/208fdd59fc4b4c39283b",
"files": {
"0.rb": {
"filename": "0.rb",
"type": "application/x-ruby",
"language": "Ruby",
"raw_url": "https://gist.githubusercontent.com/karreiro/208fdd59fc4b4c39283b/raw/42864e791652564ec50f773589df168998fbfdf7/0.rb",
"size": 384,
"truncated": false,
"content": "3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n\n3.times { puts \"Gist API test.\" }\n"
},
"1.js": {
"filename": "1.js",
"type": "application/javascript",
"language": "JavaScript",
"raw_url": "https://gist.githubusercontent.com/karreiro/208fdd59fc4b4c39283b/raw/767c3a1cec198cc2a9e6bf8a8043977cfcf3a469/1.js",
"size": 22,
"truncated": false,
"content": "console.log(\"Hey! ;)\")"
},
"2.md": {
"filename": "2.md",
"type": "text/plain",
"language": "Markdown",
"raw_url": "https://gist.githubusercontent.com/karreiro/208fdd59fc4b4c39283b/raw/5da5715735f9d4d908003b4656426d53bfd69a96/2.md",
"size": 25,
"truncated": false,
"content": "#### Hey, this is a test!"
},
"3.java": {
"filename": "3.java",
"type": "text/plain",
"language": "Java",
"raw_url": "https://gist.githubusercontent.com/karreiro/208fdd59fc4b4c39283b/raw/1a5f6d12fc557951f87b52f91c9cb8d6bdb2562d/3.java",
"size": 43,
"truncated": false,
"content": "System.out.println(\"Wow! This is a test!\");"
}
},
"public": true,
"created_at": "2014-11-23T20:34:53Z",
"updated_at": "2014-11-26T01:06:05Z",
"description": "",
"comments": 0,
"user": null,
"comments_url": "https://api.github.com/gists/208fdd59fc4b4c39283b/comments",
"owner": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"forks": [
],
"history": [
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "e272e4f835e80f53fb61df2dca190fdc84b9077d",
"committed_at": "2014-11-26T01:06:05Z",
"change_status": {
"total": 4,
"additions": 2,
"deletions": 2
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/e272e4f835e80f53fb61df2dca190fdc84b9077d"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "3e26db8aae98340fce9d0eed3e0105c78dc440e9",
"committed_at": "2014-11-26T01:05:48Z",
"change_status": {
"total": 48,
"additions": 24,
"deletions": 24
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/3e26db8aae98340fce9d0eed3e0105c78dc440e9"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "4ad435c22f01aca33b6b9425505b257b8e79fe51",
"committed_at": "2014-11-26T01:05:16Z",
"change_status": {
"total": 22,
"additions": 21,
"deletions": 1
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/4ad435c22f01aca33b6b9425505b257b8e79fe51"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "766d913a9bbe70181944a7a74818db5a1531d7e2",
"committed_at": "2014-11-26T00:56:12Z",
"change_status": {
"total": 2,
"additions": 2,
"deletions": 0
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/766d913a9bbe70181944a7a74818db5a1531d7e2"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "0b66a247bcbcdaeaee33b43a3b8accd499f82c8d",
"committed_at": "2014-11-24T23:48:58Z",
"change_status": {
"total": 1,
"additions": 1,
"deletions": 0
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/0b66a247bcbcdaeaee33b43a3b8accd499f82c8d"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "310b5888a5ee830a38972f0fbace28055ab05759",
"committed_at": "2014-11-24T23:47:40Z",
"change_status": {
"total": 99,
"additions": 0,
"deletions": 99
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/310b5888a5ee830a38972f0fbace28055ab05759"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "dc19c6c9c36079f56363062eea81e448fe1f996e",
"committed_at": "2014-11-24T01:06:00Z",
"change_status": {
"total": 99,
"additions": 99,
"deletions": 0
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/dc19c6c9c36079f56363062eea81e448fe1f996e"
},
{
"user": {
"login": "karreiro",
"id": 1079279,
"avatar_url": "https://avatars.githubusercontent.com/u/1079279?v=3",
"gravatar_id": "",
"url": "https://api.github.com/users/karreiro",
"html_url": "https://github.com/karreiro",
"followers_url": "https://api.github.com/users/karreiro/followers",
"following_url": "https://api.github.com/users/karreiro/following{/other_user}",
"gists_url": "https://api.github.com/users/karreiro/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karreiro/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karreiro/subscriptions",
"organizations_url": "https://api.github.com/users/karreiro/orgs",
"repos_url": "https://api.github.com/users/karreiro/repos",
"events_url": "https://api.github.com/users/karreiro/events{/privacy}",
"received_events_url": "https://api.github.com/users/karreiro/received_events",
"type": "User",
"site_admin": false
},
"version": "9ec949557a17391117a30aebcd907a14d61eae88",
"committed_at": "2014-11-23T20:34:53Z",
"change_status": {
"total": 1,
"additions": 1,
"deletions": 0
},
"url": "https://api.github.com/gists/208fdd59fc4b4c39283b/9ec949557a17391117a30aebcd907a14d61eae88"
}
]
}