Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Deprecate Downloads API#389

Merged
jdennes merged 4 commits intomasterfromdeprecate-downloads
Dec 6, 2013
Merged

Deprecate Downloads API#389

jdennes merged 4 commits intomasterfromdeprecate-downloads
Dec 6, 2013

Conversation

jdennes
Copy link
Member

TheDownloads API has been officially deprecated since we said "Goodbye, Uploads".

This adds documentation for that deprecation.

An alert has been added to the Downloads API page:

screen shot 2013-12-05 at 16 54 30

And the appropriate deprecations have been added to the Deprecations list:

screen shot 2013-12-05 at 16 55 21

Related to this, today I also updated theblog post announcing this deprecation, to change the originally planned "disabled in 90 days" to "disabled at a future date".

screen shot 2013-12-05 at 16 58 10

@pengwynn
Copy link
Contributor

Looks good. I just noticed we're inconsistent with HTTP verbs in the deprecations list, but that's another issue.

@jasonrudolph
Copy link
Contributor

I just noticed we're inconsistent with HTTP verbs in the deprecations list, but that's another issue.

I don't think that's true prior to this PR. Is it?

I'll comment inline in the diff with a suggestion for restoring consistency.

: Recommendation: Use [Releases API](/v3/repos/releases) instead.

1. Method: DELETE /repos/:owner/:repo/downloads/:id
: Recommendation: Use [Releases API](/v3/repos/releases) instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

For consistency with the existing deprecations above, I recommend replacing these bottom two deprecations with this verb-less deprecation:

Method: /repos/:owner/:repo/downloads/:id: Recommendation: Use[Releases API](/v3/repos/releases) instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

On second thought, giventhe fact that the Downloads API might not survive for the life of API v3, and given the fact that this list ⬆️ is for things thatwill survive for the life of API v3, maybe we shouldn't include the Downloads API in this particular list at all. Perhaps the notice at the top of the Downloads API page is sufficient.

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yeah, I think it makes most sense to leave these entries out of this list and modify the copy on the Downloads API page. Thanks, guys. ⚡

@pengwynn
Copy link
Contributor

@jasonrudolph Yeah, you're right. I just sawPOST in#7 and thought we had some verbs in there toward the bottom. 👍 to your recommendations.

<div class="alert">
<p>
The Downloads API (described below) is <a href="/v3/#deprecations">deprecated</a>
and is scheduled for removal in the next version of the API.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

The Downloads APImight not survive even that long. When we announced the deprecation last year (on December 11, 2012), we announced that the Downloads API would be removed in 90 days (i.e., in March 2013). We haven't yet removed it, but we will eventually. There's no guarantee that it will survive until the next version of the API. So, I recommend something like this:

Recommendation:

The Downloads API (described below) was <a href="https://github.com/blog/1302-goodbye-uploads">deprecated on December 11, 2012.</a>It will be removed at a future date.

sigmavirus24 added a commit to sigmavirus24/github3.py that referenced this pull requestDec 6, 2013
The Downloads API was deprecated December 11, 2012. It may bedisabled before the next major version of the API.For this reason it makes more sense to exclude these methods fromthe Deprecations list, which lists functionality which will beremoved in the next major version of the API.The copy of the alert on the Downloads API page has been modifiedto be:The Downloads API (described below) was deprecated on December 11,2012. It will be removed at a future date. We recommend usingReleases instead.
jdennes added a commit that referenced this pull requestDec 6, 2013
@jdennesjdennes merged commit49577af intomasterDec 6, 2013
@jdennesjdennes deleted the deprecate-downloads branchDecember 6, 2013 10:37
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@jdennes@pengwynn@jasonrudolph

[8]ページ先頭

©2009-2025 Movatter.jp