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.

Commit4316ce8

Browse files
committed
Merge pull request#715 from github/update-1424274739
2 parentsf2d4dd0 +eda792e commit4316ce8

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
kind:change
3+
title:New Releases API methods
4+
created_at:2015-02-18
5+
author_name:pengwynn
6+
---
7+
8+
We've added two new methods to the[Releases API][]. You can now get the[latest published release][latest] for a repository.
9+
10+
GET /repos/:owner/:repo/releases/latest
11+
12+
You can also get a[release by tag name][by-tag].
13+
14+
GET /repos/:owner/:repo/releases/tags/:tag
15+
16+
If you have any questions or feedback, please[get in touch][contact].
17+
18+
[Releases API]:/v3/repos/releases/
19+
[latest]:/v3/repos/releases/#get-the-latest-release
20+
[by-tag]:/v3/repos/releases/#get-a-release-by-tag-name
21+
[contact]:https://github.com/contact?form[subject]=New+Releases+API+methods

‎content/v3/repos/releases.md‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,28 @@ Git tags that have not been associated with a release.
4040
<%= headers 200 %>
4141
<%= json:release %>
4242

43+
##Get the latest release
44+
45+
View the latest published release for the repository.
46+
47+
GET /repos/:owner/:repo/releases/latest
48+
49+
###Response
50+
51+
<%= headers 200 %>
52+
<%= json:release %>
53+
54+
##Get a release by tag name
55+
56+
Get a release with the specified tag. Users must have push access to the repository to view draft releases.
57+
58+
GET /repos/:owner/:repo/releases/tags/:tag
59+
60+
###Response
61+
62+
<%= headers 200 %>
63+
<%= json:release %>
64+
4365

4466
##Create a release
4567

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp