-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from mtchavez/remove-organization-endpoint
Remove /organization endpoint
- Loading branch information
Showing
4 changed files
with
0 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,6 @@ end | |
* [Tests](#tests) | ||
* [Recent Builds](#recent_builds) | ||
* [Get](#recent_builds_get) | ||
* [Organization](#organization) | ||
|
||
### [User](#user) | ||
|
||
|
@@ -1026,165 +1025,6 @@ res.body | |
}, ... ] | ||
``` | ||
### [organization](#organization) | ||
Endpoint: `/organization/:name` | ||
Recent builds for an entire organization | ||
```ruby | ||
res = CircleCi.organization 'my-org' | ||
res.succes? | ||
res.body | ||
``` | ||
```javascript | ||
[ | ||
{ | ||
"dont_build":null, | ||
"committer_name":"Chavez", | ||
"usage_queued_at":"2014-04-12T10:29:59.352Z", | ||
"branch":"master", | ||
"body":"Update Missing ''e'' in CircleCi in README.md", | ||
"author_date":"2014-03-12T23:14:53Z", | ||
"node":[ | ||
{ | ||
"username":"ubuntu", | ||
"ssh_enabled":null, | ||
"port":64721, | ||
"public_ip_addr":"54.82.224.94" | ||
} | ||
], | ||
"committer_date":"2014-03-12T23:14:53Z", | ||
"compare":null, | ||
"retries":null, | ||
"parallel":1, | ||
"committer_email":"[email protected]", | ||
"build_time_millis":16308, | ||
"why":"retry", | ||
"author_email":"[email protected]", | ||
"ssh_enabled":null, | ||
"start_time":"2014-04-12T10:29:59.587Z", | ||
"stop_time":"2014-04-12T10:30:15.895Z", | ||
"lifecycle":"finished", | ||
"user":{ | ||
"is_user":true, | ||
"login":"hwartig", | ||
"name":"Harald Wartig", | ||
"email":"[email protected]" | ||
}, | ||
"subject":"Merge pull request #4 from Alex-Poon/master", | ||
"messages":[ | ||
|
||
], | ||
"job_name":null, | ||
"retry_of":1, | ||
"previous_successful_build":{ | ||
"build_time_millis":37685, | ||
"status":"success", | ||
"build_num":1 | ||
}, | ||
"outcome":"success", | ||
"status":"success", | ||
"vcs_revision":"f33617404dc392ddd676fdde87cd5c87369e1857", | ||
"build_num":2, | ||
"username":"hwartigcom", | ||
"vcs_url":"https://github.com/hwartigcom/circleci", | ||
"timedout":false, | ||
"previous":{ | ||
"build_time_millis":37685, | ||
"status":"success", | ||
"build_num":1 | ||
}, | ||
"canceled":false, | ||
"infrastructure_fail":false, | ||
"failed":null, | ||
"reponame":"circleci", | ||
"build_url":"https://circleci.com/gh/hwartigcom/circleci/2", | ||
"feature_flags":{ | ||
|
||
}, | ||
"author_name":"Chavez", | ||
"queued_at":"2014-04-12T10:29:59.517Z" | ||
}, | ||
{ | ||
"dont_build":null, | ||
"committer_name":"Chavez", | ||
"usage_queued_at":"2014-04-08T06:58:09.522Z", | ||
"branch":"master", | ||
"body":"Update Missing ''e'' in CircleCi in README.md", | ||
"author_date":"2014-03-12T23:14:53Z", | ||
"node":[ | ||
{ | ||
"username":"ubuntu", | ||
"ssh_enabled":null, | ||
"port":64775, | ||
"public_ip_addr":"54.198.9.232" | ||
} | ||
], | ||
"committer_date":"2014-03-12T23:14:53Z", | ||
"compare":null, | ||
"retries":[ | ||
2 | ||
], | ||
"parallel":1, | ||
"committer_email":"[email protected]", | ||
"build_time_millis":37685, | ||
"why":"first-build", | ||
"author_email":"[email protected]", | ||
"ssh_enabled":null, | ||
"start_time":"2014-04-08T06:58:09.868Z", | ||
"stop_time":"2014-04-08T06:58:47.553Z", | ||
"lifecycle":"finished", | ||
"user":{ | ||
"is_user":true, | ||
"login":"hwartig", | ||
"name":"Harald Wartig", | ||
"email":"[email protected]" | ||
}, | ||
"subject":"Merge pull request #4 from Alex-Poon/master", | ||
"messages":[ | ||
|
||
], | ||
"job_name":null, | ||
"retry_of":null, | ||
"previous_successful_build":null, | ||
"outcome":"success", | ||
"status":"success", | ||
"vcs_revision":"f33617404dc392ddd676fdde87cd5c87369e1857", | ||
"build_num":1, | ||
"username":"hwartigcom", | ||
"vcs_url":"https://github.com/hwartigcom/circleci", | ||
"timedout":false, | ||
"previous":null, | ||
"all_commit_details":[ | ||
{ | ||
"committer_name":"Chavez", | ||
"body":"Update Missing ''e'' in CircleCi in README.md", | ||
"author_date":"2014-03-12T23:14:53Z", | ||
"committer_date":"2014-03-12T23:14:53Z", | ||
"commit_url":"https://github.com/hwartigcom/circleci/commit/f33617404dc392ddd676fdde87cd5c87369e1857", | ||
"committer_email":"[email protected]", | ||
"author_email":"[email protected]", | ||
"subject":"Merge pull request #4 from Alex-Poon/master", | ||
"commit":"f33617404dc392ddd676fdde87cd5c87369e1857", | ||
"author_name":"Chavez" | ||
} | ||
], | ||
"canceled":false, | ||
"infrastructure_fail":false, | ||
"failed":null, | ||
"reponame":"circleci", | ||
"build_url":"https://circleci.com/gh/hwartigcom/circleci/1", | ||
"feature_flags":{ | ||
|
||
}, | ||
"author_name":"Chavez", | ||
"queued_at":"2014-04-08T06:58:09.739Z" | ||
} | ||
] | ||
``` | ||
### Tests | ||
Tests are ran using Rspec and VCR for API interaction recording. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters