Skip to content

Add separate private thumbnails view for API

Ghost User requested to merge feature/thumbnails-api into master

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.

Merge request reports

Loading