Skip to content
Alexander Batischev edited this page Apr 17, 2015 · 15 revisions

This document is a draft of our public API. Please refer to issue #4 for general discussion, or to issues #1, #2 and #3 for discussions of specific features provided by the API.

The public API is read-only, so the only HTTP verb supported is GET; everything else results in 400 Bad Request.

Empty fields might be omitted.

News

URL

/organizations/codingteam/news

Responses

200 OK

Body:

[ { "subject": "issue"
, "action": "assigned|unassigned|labeled|unlabeled|opened|closed|reopened|commented_on"
, "issue_url": "https://github.com/orgs/codingteam/world-domination/issues/1"
, "issue_title": "An awful lot of the code is still unwritten"
, "user": "Minoru"
, "user_url": "https://github.com/Minoru"
, "assignee": "|ForNeVeR"
, "assignee_url": "|https://github.com/ForNeVeR"
, "label": "|bug|etc"
, "status": "open|closed|reopened"
, "datetime": "2015-04-17T01:23:45Z"
}

, { "subject": "pull_request"
, "action": "assigned|unassigned|labeled|unlabeled|opened|closed|reopened"
, "pull_request_url": "https://github.com/orgs/codingteam/world-domination/pulls/1"
, "pull_request_title": "All the Erlang code ever written, in a nice tar.gz.bz2.xz.zip.rar.7z bundle"
, "user": "Minoru"
, "user_url": "https://github.com/Minoru"
, "merged": false
, "datetime": "2015-04-17T01:23:45Z"
}

, { "subject": "push"
, "user": "Minoru"
, "user_url": "https://github.com/Minoru"
, "repo": "world-domination"
, "repo_url": "https://github.com/orgs/codingteam/world-domination"
, "branch": "develop"
, "count": "42"
, "datetime": "2015-04-17T01:23:45Z"
} ]

Issues

assignee and assignee_url are only present when action is assigned or unassigned.

label is only present when action is labeled or unlabeled.

status is only present when action is opened, closed or reopened.

Pull Requests

merged is only present if action is closed.

204 No content

Body: empty

Activity

Analytics

Clone this wiki locally