ContinuityApp

Builds Firehose

Get the build log at runtime. You perform a simple never-ending GET request, and we stream the logs to you as soon as there is output form the build process.

Auth&ACL

Both users and collaborators can access this API, via OAuth builds_logs scope (or HTTP Basic Authentication for development purposes).

Definition

GET https://v1.continuityapp.ws/projects/<project_id>/builds/<build_id>/firehose

Example request

$ curl https://v1.continuityapp.ws/projects/123456789123456789/builds/123456789123456780/firehose?oauth_token=<access_token>

Returns

Log streaming is returned. Connection is never closed, so it is your duty to close the connection.

Example response

Run options: 

# Running tests:

S>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9876, CTRL+C to stop
getting http://127.0.0.1:9876/propublica.html
Scraping 4 instances
getting http://127.0.0.1:9876/webinar.html
I just stashed (200): http://127.0.0.1:9876/webinar.html
getting http://127.0.0.1:9876/discussion.html
I just stashed (200): http://127.0.0.1:9876/discussion.html
getting http://127.0.0.1:9876/prosecutor.html
[...]

Errors

There are no specific errors for this API.

comments powered by Disqus