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.

Commitabbda12

Browse files
committed
Sync with upstream repository
1 parent4dd83c1 commitabbda12

18 files changed

+299
-143
lines changed

‎assets/stylesheets/documentation.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ a img {
214214
margin-bottom:0;
215215
clear: both;
216216
height:61px;
217-
background: url(../images/header.png)00 repeat-x;
217+
background:url(/assets/images/header.png)00 repeat-x;
218218
}
219219

220220
#header {
@@ -1382,7 +1382,7 @@ pre span.comment {color: #aaa;}
13821382
@mediaonly screenand (-webkit-min-device-pixel-ratio:2),only screenand (min-resolution:192dpi) {
13831383

13841384
#header-wrapper {
1385-
background-image:url(../images/header@2x.png);
1385+
background-image:url(/assets/images/header@2x.png);
13861386
background-size:8px61px;
13871387
}
13881388

‎content/changes/2015-06-24-api-enhancements-for-working-with-organization-permissions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ We would love to hear your thoughts on these enhancements. If you have any quest
7878
[add-team-membership]:/v3/orgs/teams/#add-team-membership
7979
[list-team-repos]:/v3/orgs/teams/#list-team-repos
8080
[get-team-repo]:/v3/orgs/teams/#check-if-a-team-manages-a-repository
81-
[add-team-repo]:/v3/orgs/teams/#add-team-repository
81+
[add-team-repo]:/v3/orgs/teams/#add-or-update-team-repository
8282
[org-members-list]:/v3/orgs/members/#members-list
8383
[org-public-members-list]:/v3/orgs/members/#public-members-list
8484
[list-collabs]:/v3/repos/collaborators/#list-collaborators

‎content/search/search-index.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
[
2+
<% if @config[:audience]%>
3+
<% @preface = "/enterprise/#{@config[:audience]}" %>
4+
<% end %>
25
<% @items.select { |item| !item.attributes[:hide_from_search] }.each do |item| %>
36
<% next if item[:filename].nil? || !item[:filename].end_with?('.md') %>
47
<% @path = item[:filename].split('/')[1..-1].join('/')[0..-4] %>
58
<% @path.chomp!('/index') if @path.end_with?('/index') %>
69
{
710
"title":"<%= clean_for_json(item[:title]) %>",
811
<%# Split off the directory name, join, then remove the '.md' extension %>
9-
"url":"/<%= @path %>/",
12+
"url":"<%= @preface %>/<%= @path %>/",
1013
"body":"<%= clean_for_json(item.compiled_content) %>"
1114
},
1215
<% end %>

‎content/v3/activity/events/types.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ Key | Type | Description
496496

497497
##TeamAddEvent
498498

499-
Triggered when a[repository is added to a team](/v3/orgs/teams/#add-team-repository).
499+
Triggered when a[repository is added to a team](/v3/orgs/teams/#add-or-update-team-repository).
500500

501501
Events of this type are not visible in timelines. These events are only used to trigger hooks.
502502

‎content/v3/enterprise.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title:Enterprise
33
---
44

5-
#Enterprise <%= config[:versions][0] %>
5+
#Enterprise <%= config[:latest_enterprise_version] %>
66

77
{:toc}
88

@@ -35,11 +35,11 @@ Every Enterprise API endpoint is only accessible to GitHub Enterprise site admin
3535
[User Administration]:/v3/users/administration/
3636
[Management Console password]:https://help.github.com/enterprise/2.0/admin/articles/accessing-the-management-console/
3737

38-
##PastReleases
38+
##Releases
3939

4040
The latest release for GitHub Enterprise is <%= config[:versions][0] %>. The GitHub APIs available to this release are located at <https://developer.github.com/enterprise/<%= config[:versions][0] %>/>.
4141

42-
Documentation for the API that's bundled withyour GitHub Enterprise appliance is available forpast releases:
42+
Documentation for the API that's bundled withthe GitHub Enterprise appliance is available forthe following releases:
4343

4444
<% config[:versions][1..-1].each do |version| %>
4545
*[API documentation for <%= version %>](https://developer.github.com/enterprise/<%= version %>/)

‎content/v3/oauth_authorizations.md‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Make sure you understand how to [work with two-factor authentication](/v3/auth/#
2828
<li><a href="#update-an-existing-authorization">Update an existing authorization</a></li>
2929
</ul>
3030

31+
{% if page.version == 'dotcom' or page.version > 2.2 %}
3132
<p>
3233
To reduce the impact of removing the <code>token</code> value,
3334
the OAuth Authorizations API now includes a new request attribute
@@ -36,7 +37,15 @@ Make sure you understand how to [work with two-factor authentication](/v3/auth/#
3637
<code>fingerprint</code>), and
3738
<a href="#get-or-create-an-authorization-for-a-specific-app-and-fingerprint">one new endpoint</a>.
3839
</p>
39-
40+
{% else %}
41+
<p>
42+
To reduce the impact of removing the <code>token</code> value,
43+
the OAuth Authorizations API now includes a new request attribute
44+
(<code>fingerprint</code>) and three new response attributes
45+
(<code>token_last_eight</code>, <code>hashed_token</code>, and
46+
<code>fingerprint</code>).
47+
</p>
48+
{% endif %}
4049
<p>
4150
This functionality became the default for all requests on April 20, 2015. Please see <a href="/changes/2015-04-20-authorizations-api-response-changes-are-now-in-effect/">the blog post</a> for full details.
4251
</p>

‎content/v3/orgs/hooks.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@ title: Organization Webhooks
77
{:toc}
88

99
{% if page.version != 'dotcom' and page.version <= 2.2 %}
10+
1011
{{#tip}}
12+
1113
The Organization Webhooks API is currently available for developers to preview.
1214
During the preview period, the API may change without advance notice.
13-
Please see the[blog post](/enterprise/{{ page.version }}/changes/2014-12-03-preview-the-new-organization-webhooks-api/) for full details.
15+
Please see the[blog post](/changes/2014-12-03-preview-the-new-organization-webhooks-api/) for full details.
1416

15-
To access the API during the preview period, you must provide a custom[media type](/enterprise/2.2/v3/media) in the`Accept` header:
17+
To access the API during the preview period, you must provide a custom[media type](/enterprise/{{ page.version }}/v3/media) in the`Accept` header:
1618

1719
```
1820
application/vnd.github.sersi-preview+json
1921
```
22+
2023
{{/tip}}
24+
2125
{% endif %}
2226

2327
Organization webhooks allow you to receive HTTP`POST` payloads whenever certain events happen within the organization. Subscribing to these events makes it possible to build integrations that react to actions on GitHub.com. For more information on actions you can subscribe to, check out our[Events documentation][webhook-events].

‎content/v3/orgs/teams.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,14 @@ permissions the team grants on it, by passing the following custom
350350
<%= headers 200 %>
351351
<%= json:repo %>
352352

353-
##Add team repository
353+
##Addor updateteam repository
354354

355-
In order to add a repository to a team, the authenticated user must have admin
356-
access totherepository, and mustbe abletoseetheteam. Also, the repository
357-
must beowned bytheorganization, or a direct fork of a repository owned by the
358-
organization.
355+
In order to add a repository to a team or update the team's permission on a
356+
repository,theauthenticated user musthave admin accessto therepository, and
357+
must beable to seetheteam. Also, the repository must be owned by the
358+
organization, or a direct fork of a repository owned by the organization.
359359

360-
PUT /teams/:id/repos/:org/:repo
360+
PUT /teams/:id/repos/:owner/:repo
361361

362362
###Parameters
363363

‎content/v3/versions.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The recommendations below will help you prepare your application for the next ma
143143

144144
1. Team attribute: permission
145145

146-
Recommendation: This attribute no longer dictates the permission a team has on its repositories; it only dictates the default permission that the[Add team repository](/v3/orgs/teams/#add-team-repository) API will use for requests where no`permission` attribute is specified. To change the permission level for every repository on a team, use the[List team repositories](/v3/orgs/teams/#list-team-repos) API to list all of the team's repositories, and then use the[Add team repository](/v3/orgs/teams/#add-team-repository) with a`permission` attribute to update each repository's permission separately.
146+
Recommendation: This attribute no longer dictates the permission a team has on its repositories; it only dictates the default permission that the[Add team repository](/v3/orgs/teams/#add-team-repository) API will use for requests where no`permission` attribute is specified. To change the permission level for every repository on a team, use the[List team repositories](/v3/orgs/teams/#list-team-repos) API to list all of the team's repositories, and then use the[Addor updateteam repository](/v3/orgs/teams/#add-or-update-team-repository) with a`permission` attribute to update each repository's permission separately.
147147

148148
<aid="beta">
149149

‎layouts/head.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<metahttp-equiv="imagetoolbar"content="false"/>
77
<metaname="MSSmartTagsPreventParsing"content="true"/>
88
<title><%= @item[:title] %> | GitHub Developer Guide</title>
9+
<% if @item[:version] == 'dotcom' %>
910
<linkrel="alternate"type="application/atom+xml"title="API Changes"href="/changes.atom"/>
11+
<% end %>
1012
<linkhref="/assets/stylesheets/application.css"rel="stylesheet"type="text/css"/>
1113
<scriptsrc="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
1214
<scriptsrc="/assets/javascripts/application.js"type="text/javascript"></script>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp