Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 03a05e5

Browse files
committed
Add status values, and changes post, for Pages API
1 parent 5b3e44f commit 03a05e5

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy