You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{"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": [{"url": "https://github.example.com:8080/api/v3/repos/sigmavirus24/github3.py/labels/bug", "color": "fc2929", "name": "bug"}, {"url": "https://github.example.com:8080/api/v3/repos/sigmavirus24/github3.py/labels/enhancement", "color": "84b6eb", "name": "enhancement"}], "body_text": "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.", "title": "Construct _api attribute on our own", "url": "https://github.example.com:8080/api/v3/repos/sigmavirus24/github3.py/issues/1", "created_at": "2012-06-15T17:54:49Z", "milestone": {"description": null, "title": "0.1", "url": "https://github.example.com:8080/api/v3/repos/sigmavirus24/github3.py/milestones/1", "created_at": "2012-06-15T17:54:49Z", "creator": {"url": "https://github.example.com:8080/api/v3/users/sigmavirus24", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "_links": {"self": {"href": "https://github.example.com:8080/api/v3/users/sigmavirus24"}}, "gravatar_id": "c148356d89f925e692178bee1d93acf7", "login": "sigmavirus24", "id": 240830}, "number": 1, "open_issues": 3, "state": "open", "closed_issues": 3, "due_on": null, "id": 132462}, "body_html": "<p>We use the <code>_api</code> attribute to make constructing urls for objects. After a discussion today with GitHub support, it seems as if they'll be using the <code>url</code> 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).</p>\n\n<p>From now on, to keep with that functionality, I'll have to construct these urls myself (the form I was intending on relying upon).</p>\n\n<p>Another option I have is to just strip off the parameters and save those elsewhere in case the API starts to require that.</p>", "comments": 2, "number": 1, "updated_at": "2012-09-17T23:32:48Z", "assignee": {"url": "https://github.example.com:8080/api/v3/users/sigmavirus24", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "_links": {"self": {"href": "https://github.example.com:8080/api/v3/users/sigmavirus24"}}, "gravatar_id": "c148356d89f925e692178bee1d93acf7", "login": "sigmavirus24", "id": 240830}, "html_url": "https://github.example.com:8080/sigmavirus24/github3.py/issues/1", "state": "closed", "user": {"url": "https://github.example.com:8080/api/v3/users/sigmavirus24", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "_links": {"self": {"href": "https://github.example.com:8080/api/v3/users/sigmavirus24"}}, "gravatar_id": "c148356d89f925e692178bee1d93acf7", "login": "sigmavirus24", "id": 240830}, "pull_request": {"diff_url": null, "html_url": null, "patch_url": null}, "id": 5097345, "closed_at": "2012-09-17T23:32:48Z", "closed_by": {"url": "https://github.example.com:8080/api/v3/users/sigmavirus24", "avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png", "_links": {"self": {"href": "https://github.example.com:8080/api/v3/users/sigmavirus24"}}, "gravatar_id": "c148356d89f925e692178bee1d93acf7", "login": "sigmavirus24", "id": 240830}}