api response should reference actual request domain
fix string interpolation
override doorkeerp client_credentials behavior and save resource_owner_id for 2-legged oauth client flow
api request for public /collections/:id/items throws nil object exception
api responses always use json
#588 add tests, routing, etc, for api responses always use json
use host instead of domain, prepend current protocol scheme
add upstream error handler
try and catch undef object exception
wrong branch. Revert "try and catch undef object exception"

This reverts commit c8e43a06e1a91f2c4eb76f1889b5eae7c0d1f5e7.
all /api/* paths that fail to match will return api 404 response
catch search where no items found
respond with 403 for CanCan exceptions to API requests
wrap speechmatics api call in a try/catch so that timeout errs do not cause us to re-try later; also set timeout to 2min
Merge pull request #623 from popuparchive/speechmatics-dupe-fix

try harder to avoid duplicate speechmatics jobs
bump up the retry count per http://docs.travis-ci.com/user/build-timeouts/ to try and avoid false failure reports that are really the fault of travis-ci
Merge branch 'master' of github.com-pkarman:popuparchive/pop-up-archive
try switching order (seemed to be ignored otherwise)
Merge pull request #617 from popuparchive/api-fixes-for-uploads

API responses are always JSON

Tara gives it the thumbs up.
fix bareword typo