petrosh / diarissues

Get a diary on Issues.
https://petrosh.github.io/diarissues
0 stars 2 forks source link

fork-n-play devolution #13

Open petrosh opened 8 years ago

petrosh commented 8 years ago

Posted from owner with labels.

You can also create a Pull Request from an existing Issue by passing an Issue number instead of title and body.

Name Type Description
issue integer Required. The issue number in this repository to turn into a Pull Request.

Example

{
  "issue": 5,
  "head": "octocat:new-feature",
  "base": "master"
}

Branches

Compare two commits

To compare branches across other repositories in the same network as :repo, use the format <USERNAME>:branch.

GET /repos/:owner/:repo/compare/hubot:branchname...octocat:branchname

Organization Teams

Teams can be visible or secret:

Links:

API: Repository traffic

application/vnd.github.spiderman-preview

Curl

curl "https://api.github.com/repos/petrosh/domtools/traffic/views" \
  -H 'Accept: application/vnd.github.spiderman-preview' \
  -H 'Authorization: token TOKEN'

Response

Traffic API Preview now has ISO 8601 compliant timestamps
1475625600000 will be changed to 2016-10-05T00:00:00Z

{
  "count": 38,
  "uniques": 1,
  "views": [
    {
      "timestamp": 2016-10-05T00:00:00Z,
      "count": 2,
      "uniques": 1
    },
    {
      "timestamp": 2016-10-05T00:00:00Z,
      "count": 11,
      "uniques": 1
    },
    {
      "timestamp": 2016-10-05T00:00:00Z,
      "count": 8,
      "uniques": 1
    },
    {
      "timestamp": 2016-10-05T00:00:00Z,
      "count": 16,
      "uniques": 1
    },
    {
      "timestamp": 2016-10-05T00:00:00Z,
      "count": 1,
      "uniques": 1
    }
  ]
}

Admin scope for organizations disk usage

To receive values for private_gists, disk_usage, collaborators, and billing_email in the Organization response, the authenticated user must be an organization owner and have authorized the admin:org scope.

Web Workers

Loggator