I want to serve image files on Google Cloud Storage with Images API get_serving_url
.
Can get_serving_url
accept files on Google Cloud Storage?
I tried:
from google.appengine.api import blobstore
from google.appengine.api import images
bkey = blobstore.create_gs_key('/gs/bucket/object')
url = images.get_serving_url(bkey)
A error InvalidBlobKeyError
occured on get_serving_url
in production environment.
images.get_serving_url(None, filename='/gs/<bucket>/<object>'))
– Spain Train