Skip to content

Instantly share code, notes, and snippets.

@stevepeak
Last active June 9, 2016 11:09
Show Gist options
  • Save stevepeak/c3b3feaedbf7fb0b813e6fddcf397e8a to your computer and use it in GitHub Desktop.
Save stevepeak/c3b3feaedbf7fb0b813e6fddcf397e8a to your computer and use it in GitHub Desktop.
$ curl -i https://circleci.com/api/v1/project/heroku/heroku-oauth/33
HTTP/1.1 404 Not Found
Access-Control-Allow-Origin: *
Content-Type: text/plain; charset=utf-8
Date: Thu, 09 Jun 2016 11:04:59 GMT
Server: nginx
Set-Cookie: ring-session=bhjAOUGcHJZGvZWri1ugahqx5QK1xLKtoRxTlUT%2BFyuzFd0IATOJd0hfwO1HYp9nmKcpqgHC%2Bo2EBOObMdkaf77X0BsJvl5GnSPME9noaH2nZJOrwbUjK6RUBaIIrhmLHkccfMJt8yOtYPpBmW5AK8GtAqMO7MmcvwXNSVSmH3wHKMXKTwD9PR5yOOJ24EVgtZeBeP65sJkqOiVLGtYimR8EQLCC7AWhIdjnFK3KRE4%3D--gHODrGvSgc5VrppRdeFikkqPH4AS3gao80sdpbLQDQg%3D;Path=/;HttpOnly;Expires=Thu, 08 Jun 2017 23:00:23 +0000;Max-Age=31536000;Secure
Set-Cookie: ab_test_user_seed=0.2719694976718555;Expires=Fri, 09 Jun 2017 11:04:59 +0000;Path=/;Secure
X-Circleci-Identity: i-ea00d470
X-Circleci-Request-Id: c98fe3d7-271f-43aa-9019-ebec137eac57
X-Frame-Options: DENY
X-Route: /
X-Route: :build_num
X-Route: \d+
Content-Length: 37
Connection: keep-alive
{
"message" : "Project not found"
}
$curl -i https://circleci.com/api/v1/project/codecov/codecov-python/1
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: text/plain; charset=utf-8
Date: Thu, 09 Jun 2016 11:10:43 GMT
Server: nginx
Set-Cookie: ring-session=LpzgBDik12tMXbzfExTh%2FvuxUd1%2FjGB7Gtoak6gWOFsq55nG8bCFc6XfRA5ubskQlaIsPXQw8bnP%2BcGG1QqnA%2FT4SxLFBh2K3q7d6egWzsqtbAzoTLLdGPQ9Ll785gUJ0uArJteOb5AOWxEYECT%2BSKDFG9iVCnT12qV8SKBPzFUoSzdw0zHbGis5lmr5IZClz1iQlaHbh8J%2BM%2BRfeuRXaetdV4n5VRaUL9Z2Qdt54Sk%3D--tHgZWahpJJVzNEszyfSNZ1N29yVQ11Bhh650oAmAVDY%3D;Path=/;HttpOnly;Expires=Thu, 08 Jun 2017 22:29:49 +0000;Max-Age=31536000;Secure
Set-Cookie: ab_test_user_seed=0.11774609716102091;Expires=Fri, 09 Jun 2017 11:10:43 +0000;Path=/;Secure
Strict-Transport-Security: max-age=15724800
X-Circleci-Identity: i-b192ce32
X-Circleci-Request-Id: f18f8b97-51c3-4e40-9c72-f6c8edc6df0a
X-Circleci-Scopes: :view-builds
X-Circleci-Scopes: :status
X-Circleci-Scopes: :none
X-Frame-Options: DENY
X-Route: /
X-Route: :build_num
X-Route: \d+
Content-Length: 14936
Connection: keep-alive
{
"compare" : null,
"previous_successful_build" : null,
"build_parameters" : null,
"oss" : true,
"committer_date" : "2015-08-21T13:15:39Z",
"steps" : [ {
.....
@stevepeak
Copy link
Author

Navigate to https://circleci.com/api/v1/project/heroku/heroku-oauth/33 and you will get a 200 with data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment