Sha256: 85464ae4925b947b45365e1bfd68485bf7951cfa62736f1556609e56be0e3bc6

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 KB

Contents

HTTP/1.1 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
      <https://api.github.com/resource?page=5>; rel="last"
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4999
Content-type: application/json; charset=utf-8

{
  "url": "https://api.github.com/gists/1",
  "id": "1",
  "description": "Code examples for blog post: Code Example",
  "public": true,
  "user": {
    "login": "octocat",
    "id": 1,
    "avatar_url": "https://github.com/images/error/octocat_happy.gif",
    "gravatar_id": "somehexcode",
    "url": "https://api.github.com/users/octocat"
  },
  "files": {
    "test.rb": {
      "size": 932,
      "filename": "test.rb",
      "raw_url": "https://gist.github.com/raw/365370/8c4d2d43d178df44f4c03a7f2ac0ff512853564e/test.rb",
      "content": "def one\n  :one\nend\n"
    }
  },
  "comments": 0,
  "html_url": "https://gist.github.com/2",
  "git_pull_url": "git://gist.github.com/2.git",
  "git_push_url": "git@gist.github.com:2.git",
  "created_at": "2010-04-14T02:15:15Z",
  "updated_at": "2010-04-14T02:15:15Z",
  "forks": [
    {
      "user": {
        "login": "octocat",
        "id": 1,
        "avatar_url": "https://github.com/images/error/octocat_happy.gif",
        "gravatar_id": "somehexcode",
        "url": "https://api.github.com/users/octocat"
      },
      "url": "https://api.github.com/gists/5",
      "created_at": "2011-04-14T16:00:49Z"
    }
  ],
  "history": [
    {
      "url": "https://api.github.com/gists/1/57a7f021a713b1c5a6a199b54cc514735d2d462f",
      "version": "57a7f021a713b1c5a6a199b54cc514735d2d462f",
      "user": {
        "login": "octocat",
        "id": 1,
        "avatar_url": "https://github.com/images/error/octocat_happy.gif",
        "gravatar_id": "somehexcode",
        "url": "https://api.github.com/users/octocat"
      },
      "change_status": {
        "deletions": 0,
        "additions": 180,
        "total": 180
      },
      "committed_at": "2010-04-14T02:15:15Z"
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mist-0.6.3 spec/fixtures/gist_with_1_code_example
mist-0.6.2 spec/fixtures/gist_with_1_code_example
mist-0.6.1 spec/fixtures/gist_with_1_code_example
mist-0.6.0 spec/fixtures/gist_with_1_code_example