travis-ci/travis-api — pull request #37 by drogus (2013-01-15 01:32:32+00:00)
Title: Plain log

This pull request adds support to fetch plain text version of logs, by adding `.txt` extension to `/artifacts/:id` endpoint. This is needed for travis-ci/travis-web#90. Download logs button could be implemented without it, but then it would need to still fetch entire log in JSON format. I also think that such endpoint will be useful in general to avoid extracting logs from JSON, especially if someone just wants to curl them into a file.