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

Commit03a05e5

Browse files
committed
Add status values, and changes post, for Pages API
1 parent5b3e44f commit03a05e5

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
kind: change
3+
title: Introducing the Pages API
4+
created_at: 2014-02-13
5+
author_name: gjtorikian
6+
---
7+
8+
We've created [a new an API to GitHub Pages](/v3/repos/pages/). This API is accessible
9+
by owners of a Pages repo, whether it's owned by an individual or an organization.
10+
11+
With the Pages API, you can get information about your site, as well as details
12+
on previous Pages builds.
13+
14+
Enjoy!

‎content/v3/repos/pages.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ title: Pages | GitHub API
44

55
#Pages
66

7+
* TOC
8+
{:toc}
9+
710
The Pages API retrieves information about your GitHub Pages configuration, and
811
the statuses of your builds. Information about the site and the builds can only be
912
accessed by authenticated owners, even though the websites are public.
1013

11-
* TOC
12-
{:toc}
14+
In JSON responses,`status` can be one of:
15+
16+
*`null`, which means the site has yet to be built
17+
*`building`, which means the build is in progress
18+
*`built`, which means the site has been built
19+
*`errored`, which indicates an error occurred during the build
1320

1421
##Get information about a Pages site
1522

‎lib/resources.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ module Helpers
4040
:ymendel=>'b1b1d33e0655e841d4fd8467359c58d0',
4141
:mastahyeti=>'8caa0afdae1a934c30a1998472c63134',
4242
:atmos=>'a86224d72ce21cd9f5bee6784d4b06c7',
43-
:kdaigle=>'bc622cf1dc277323515fd4d7ed66ed24'
43+
:kdaigle=>'bc622cf1dc277323515fd4d7ed66ed24',
44+
:gjtorikian=>'befd819b3fced8c6bd3dba7e633dd068'
4445
}
4546

4647
DefaultTimeFormat="%B %-d, %Y".freeze

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp