Name | Type | Example Values | Description |
---|---|---|---|
since |
Date | 20140101T00:00:00Z |
Name | Type | Description |
---|---|---|
Array | ||
[].url | String | |
[].forks_url | String | |
[].commits_url | String | |
[].id | String | |
[].git_pull_url | String | |
[].git_push_url | String | |
[].html_url | String | |
[].files.SLR.filename | String | |
[].files.SLR.type | String | |
[].files.SLR.language | ||
[].files.SLR.raw_url | String | |
[].files.SLR.size | Integer | |
[].public | Boolean | |
[].created_at | String (Time ISO8601) | |
[].updated_at | String (Time ISO8601) | |
[].description | String | |
[].comments | Integer | |
[].user | ||
[].comments_url | String | |
[].owner.login | String | |
[].owner.id | Integer | |
[].owner.avatar_url | String | |
[].owner.gravatar_id | String | |
[].owner.url | String | |
[].owner.html_url | String | |
[].owner.followers_url | String | |
[].owner.following_url | String | |
[].owner.gists_url | String | |
[].owner.starred_url | String | |
[].owner.subscriptions_url | String | |
[].owner.organizations_url | String | |
[].owner.repos_url | String | |
[].owner.events_url | String | |
[].owner.received_events_url | String | |
[].owner.type | String | |
[].owner.site_admin | Boolean |
List a user's gists since a time:
2015-05-14 18:20:54 UTC
GET /users/smsohan/gists?since=20140101T00:00:00Z
since: 20140101T00:00:00Z
content-type: application/json accept: application/vnd.github.v3+json user-agent: curl/7.37.1
transfer-encoding: chunked x-served-by: 065b43cd9674091fec48a221b420fbb3 x-content-type-options: nosniff strict-transport-security: max-age=31536000; includeSubdomains; preload x-github-request-id: 68EC8CA8:2CBF:4B49F68:5554E786 access-control-allow-origin: * access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval access-control-allow-credentials: true content-security-policy: default-src 'none' x-frame-options: deny x-xss-protection: 1; mode=block x-github-media-type: github.v3; format=json vary: Accept etag: "2c6d63ff1fb8f01abf8ddbe1d8355eed" cache-control: public, max-age=60, s-maxage=60 x-ratelimit-reset: 1431630826 x-ratelimit-remaining: 51 x-ratelimit-limit: 60 status: 200 OK connection: close content-length: 7995 content-type: application/json; charset=utf-8 date: Thu, 14 May 2015 18:20:54 GMT server: GitHub.com
Shortened for readability
[ { "url": "https://api.github.com/gists/f724e5e396ac4a34cd28", "forks_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/forks", "commits_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/commits", "id": "f724e5e396ac4a34cd28", "git_pull_url": "https://gist.github.com/f724e5e396ac4a34cd28.git", "git_push_url": "https://gist.github.com/f724e5e396ac4a34cd28.git", "html_url": "https://gist.github.com/f724e5e396ac4a34cd28", "files": { "SLR": { "filename": "SLR", "type": "text/plain", "language": null, "raw_url": "https://gist.githubusercontent.com/smsohan/f724e5e396ac4a34cd28/raw/13c8f17adfd7e35317c215ab003115182df479c0/SLR", "size": 2476 } }, "public": true, "created_at": "2015-05-07T20:07:40Z", "updated_at": "2015-05-07T20:07:41Z", "description": "", "comments": 0, "user": null, "comments_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/comments", "owner": { "login": "smsohan", "id": 121935, "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3", "gravatar_id": "", "url": "https://api.github.com/users/smsohan", "html_url": "https://github.com/smsohan", "followers_url": "https://api.github.com/users/smsohan/followers", "following_url": "https://api.github.com/users/smsohan/following{/other_user}", "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}", "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions", "organizations_url": "https://api.github.com/users/smsohan/orgs", "repos_url": "https://api.github.com/users/smsohan/repos", "events_url": "https://api.github.com/users/smsohan/events{/privacy}", "received_events_url": "https://api.github.com/users/smsohan/received_events", "type": "User", "site_admin": false } }, { "url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5", "forks_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/forks", "commits_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/commits", "id": "5c8cbf6d8b0d6433eef5", "git_pull_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5.git", "git_push_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5.git", "html_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5", "files": { "angular_demo.md": { "filename": "angular_demo.md", "type": "text/plain", "language": "Markdown", "raw_url": "https://gist.githubusercontent.com/smsohan/5c8cbf6d8b0d6433eef5/raw/b3fd6aa2f38ac98cd15572973272e94e6909dec9/angular_demo.md", "size": 109 } }, "public": true, "created_at": "2014-05-21T17:13:16Z", "updated_at": "2014-05-21T17:16:29Z", "description": "", "comments": 0, "user": null, "comments_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/comments", "owner": { "login": "smsohan", "id": 121935, "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3", "gravatar_id": "", "url": "https://api.github.com/users/smsohan", "html_url": "https://github.com/smsohan", "followers_url": "https://api.github.com/users/smsohan/followers", "following_url": "https://api.github.com/users/smsohan/following{/other_user}", "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}", "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions", "organizations_url": "https://api.github.com/users/smsohan/orgs", "repos_url": "https://api.github.com/users/smsohan/repos", "events_url": "https://api.github.com/users/smsohan/events{/privacy}", "received_events_url": "https://api.github.com/users/smsohan/received_events", "type": "User", "site_admin": false } } ]
List a user's gists
2015-05-14 18:20:52 UTC
GET /users/smsohan/gists
content-type: application/json accept: application/vnd.github.v3+json user-agent: curl/7.37.1
transfer-encoding: chunked x-served-by: 5aeb3f30c9e3ef6ef7bcbcddfd9a68f7 x-content-type-options: nosniff strict-transport-security: max-age=31536000; includeSubdomains; preload x-github-request-id: 68EC8CA8:5DAD:1346990:5554E784 access-control-allow-origin: * access-control-expose-headers: ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval access-control-allow-credentials: true content-security-policy: default-src 'none' x-frame-options: deny x-xss-protection: 1; mode=block link: <https://api.github.com/user/121935/gists?page=2>; rel="next", <https://api.github.com/user/121935/gists?page=2>; rel="last" x-github-media-type: github.v3; format=json vary: Accept etag: "f1f0e8d44a808791826dc7db42c28408" cache-control: public, max-age=60, s-maxage=60 x-ratelimit-reset: 1431630826 x-ratelimit-remaining: 52 x-ratelimit-limit: 60 status: 200 OK connection: close content-length: 60427 content-type: application/json; charset=utf-8 date: Thu, 14 May 2015 18:20:53 GMT server: GitHub.com
Shortened for readability
[ { "url": "https://api.github.com/gists/f724e5e396ac4a34cd28", "forks_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/forks", "commits_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/commits", "id": "f724e5e396ac4a34cd28", "git_pull_url": "https://gist.github.com/f724e5e396ac4a34cd28.git", "git_push_url": "https://gist.github.com/f724e5e396ac4a34cd28.git", "html_url": "https://gist.github.com/f724e5e396ac4a34cd28", "files": { "SLR": { "filename": "SLR", "type": "text/plain", "language": null, "raw_url": "https://gist.githubusercontent.com/smsohan/f724e5e396ac4a34cd28/raw/13c8f17adfd7e35317c215ab003115182df479c0/SLR", "size": 2476 } }, "public": true, "created_at": "2015-05-07T20:07:40Z", "updated_at": "2015-05-07T20:07:41Z", "description": "", "comments": 0, "user": null, "comments_url": "https://api.github.com/gists/f724e5e396ac4a34cd28/comments", "owner": { "login": "smsohan", "id": 121935, "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3", "gravatar_id": "", "url": "https://api.github.com/users/smsohan", "html_url": "https://github.com/smsohan", "followers_url": "https://api.github.com/users/smsohan/followers", "following_url": "https://api.github.com/users/smsohan/following{/other_user}", "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}", "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions", "organizations_url": "https://api.github.com/users/smsohan/orgs", "repos_url": "https://api.github.com/users/smsohan/repos", "events_url": "https://api.github.com/users/smsohan/events{/privacy}", "received_events_url": "https://api.github.com/users/smsohan/received_events", "type": "User", "site_admin": false } }, { "url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5", "forks_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/forks", "commits_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/commits", "id": "5c8cbf6d8b0d6433eef5", "git_pull_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5.git", "git_push_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5.git", "html_url": "https://gist.github.com/5c8cbf6d8b0d6433eef5", "files": { "angular_demo.md": { "filename": "angular_demo.md", "type": "text/plain", "language": "Markdown", "raw_url": "https://gist.githubusercontent.com/smsohan/5c8cbf6d8b0d6433eef5/raw/b3fd6aa2f38ac98cd15572973272e94e6909dec9/angular_demo.md", "size": 109 } }, "public": true, "created_at": "2014-05-21T17:13:16Z", "updated_at": "2014-05-21T17:16:29Z", "description": "", "comments": 0, "user": null, "comments_url": "https://api.github.com/gists/5c8cbf6d8b0d6433eef5/comments", "owner": { "login": "smsohan", "id": 121935, "avatar_url": "https://avatars.githubusercontent.com/u/121935?v=3", "gravatar_id": "", "url": "https://api.github.com/users/smsohan", "html_url": "https://github.com/smsohan", "followers_url": "https://api.github.com/users/smsohan/followers", "following_url": "https://api.github.com/users/smsohan/following{/other_user}", "gists_url": "https://api.github.com/users/smsohan/gists{/gist_id}", "starred_url": "https://api.github.com/users/smsohan/starred{/owner}{/repo}", "subscriptions_url": "https://api.github.com/users/smsohan/subscriptions", "organizations_url": "https://api.github.com/users/smsohan/orgs", "repos_url": "https://api.github.com/users/smsohan/repos", "events_url": "https://api.github.com/users/smsohan/events{/privacy}", "received_events_url": "https://api.github.com/users/smsohan/received_events", "type": "User", "site_admin": false } } ]