Add separate private thumbnails view for API

Ghost User
2018-03-20T18:02:25+01:00

Not completely sure if this is the best solution. It's also possible to just make the normal private_thumbnails view an API view with permissions instead of using login_required. But that would mean that opening the image without any authentication will show the API output instead of an login page.

Short description

Add separate private thumbnails view for API

Steps to use this feature

1. Use the appropriate urls from the code to load private thumbnails

2. Same as 1 but using cURL and token authentication.