forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathissue
More file actions
1 lines (1 loc) · 5.95 KB
/
Copy pathissue
File metadata and controls
1 lines (1 loc) · 5.95 KB
1
{"body": "We use the `_api` attribute to make constructing urls for objects. After a discussion today with GitHub support, it seems as if they'll be using the `url` parameter in the json objects for the same url with parameters in the future. This change was recently made (possibly accidentally) breaking what functionality I had relied on (although they fixed it once I reported it).\n\nFrom now on, to keep with that functionality, I'll have to construct these urls myself (the form I was intending on relying upon).\n\nAnother option I have is to just strip off the parameters and save those elsewhere in case the API starts to require that.", "labels": [], "closed_by": {"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "html_url": "https://github.com/sigmavirus24", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "title": "Construct _api attribute on our own", "url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/1", "labels_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/1/labels{/name}", "created_at": "2012-06-15T17:54:49Z", "events_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/1/events", "comments_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/1/comments", "html_url": "https://github.com/sigmavirus24/github3.py/issues/1", "comments": 2, "number": 1, "updated_at": "2012-09-17T23:32:48Z", "assignee": {"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "html_url": "https://github.com/sigmavirus24", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "state": "closed", "user": {"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "html_url": "https://github.com/sigmavirus24", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "milestone": {"description": null, "title": "0.1", "url": "https://api.github.com/repos/sigmavirus24/github3.py/milestones/1", "labels_url": "https://api.github.com/repos/sigmavirus24/github3.py/milestones/1/labels", "created_at": "2012-06-15T17:54:49Z", "creator": {"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}", "events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}", "organizations_url": "https://api.github.com/users/sigmavirus24/orgs", "url": "https://api.github.com/users/sigmavirus24", "gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}", "html_url": "https://github.com/sigmavirus24", "subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "repos_url": "https://api.github.com/users/sigmavirus24/repos", "received_events_url": "https://api.github.com/users/sigmavirus24/received_events", "gravatar_id": "c148356d89f925e692178bee1d93acf7", "starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}", "login": "sigmavirus24", "type": "User", "id": 240830, "followers_url": "https://api.github.com/users/sigmavirus24/followers"}, "number": 1, "updated_at": "2012-10-17T04:30:20Z", "due_on": null, "state": "closed", "closed_issues": 6, "open_issues": 0, "id": 132462}, "closed_at": "2012-09-17T23:32:48Z", "pull_request": {"diff_url": null, "html_url": null, "patch_url": null}, "id": 5097345}