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.

Commit93751cb

Browse files
author
Nicolás Sanguinetti
committed
Reflect the newest code on the docs.
We no longer have a different endpoint for branch statuses.
1 parent7c597c7 commit93751cb

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

‎content/v3/repos/statuses.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,20 @@ Note that the `repo:status` [OAuth scope](/v3/oauth/#scopes) grants targeted
2525
access to Statuses**without** also granting access to repo code, while the
2626
`repo` scope grants permission to code as well as statuses.
2727

28-
##List Statuses for a specificSHA
28+
##List Statuses for a specificRef
2929

30-
GET /repos/:owner/:repo/statuses/:sha
30+
GET /repos/:owner/:repo/statuses/:ref
3131

3232
###Parameters
3333

34-
sha
35-
:_Required_**string** -Sha to list the statuses from
34+
ref
35+
:_Required_**string** -Ref to list the statuses from. It can be a SHA, a branch name, or a tag name.
3636

3737
###Response
3838

3939
<%= headers 200 %>
4040
<%= json(:status) { |h|[h] } %>
4141

42-
##Get the Status of a branch
43-
44-
GET /repos/:owner/:repo/statuses/branch/:name
45-
46-
###Parameters
47-
48-
name
49-
:_Required_**string** - Name of the branch to get the status for
50-
51-
###Response
52-
53-
<%= headers 200 %>
54-
<%= json(:status) { |h| h } %>
55-
5642
##Create a Status
5743

5844
POST /repos/:owner/:repo/statuses/:sha

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp