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.

Add status values, and changes post, for Pages API#438

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletionscontent/changes/2014-02-13-exposing-the-page-api.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
---
kind: change
title: Introducing the Pages API
created_at: 2014-02-13
author_name: gjtorikian
---

We've created [a new an API to GitHub Pages](/v3/repos/pages/). This API is accessible
by owners of a Pages repo, whether it's owned by an individual or an organization.

With the Pages API, you can get information about your site, as well as details
on previous Pages builds.

Enjoy!
11 changes: 9 additions & 2 deletionscontent/v3/repos/pages.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,12 +4,19 @@ title: Pages | GitHub API

# Pages

* TOC
{:toc}

The Pages API retrieves information about your GitHub Pages configuration, and
the statuses of your builds. Information about the site and the builds can only be
accessed by authenticated owners, even though the websites are public.

* TOC
{:toc}
In JSON responses, `status` can be one of:

* `null`, which means the site has yet to be built
* `building`, which means the build is in progress
* `built`, which means the site has been built
* `errored`, which indicates an error occurred during the build

## Get information about a Pages site

Expand Down
3 changes: 2 additions & 1 deletionlib/resources.rb
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -40,7 +40,8 @@ module Helpers
:ymendel => 'b1b1d33e0655e841d4fd8467359c58d0',
:mastahyeti => '8caa0afdae1a934c30a1998472c63134',
:atmos => 'a86224d72ce21cd9f5bee6784d4b06c7',
:kdaigle => 'bc622cf1dc277323515fd4d7ed66ed24'
:kdaigle => 'bc622cf1dc277323515fd4d7ed66ed24',
:gjtorikian => 'befd819b3fced8c6bd3dba7e633dd068'
}

DefaultTimeFormat = "%B %-d, %Y".freeze
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp