Create upload session in datastore.
google.appengine.api.blobstore.blobstore_stub.CreateUploadSession(
creation,
success_path,
user,
max_bytes_per_blob,
max_bytes_total,
bucket_name=None
)
Creates an upload session and puts it in Datastore to be referenced by
upload handler later.
Args |
creation
|
Creation timestamp.
|
success_path
|
Path in users application to call upon success.
|
user
|
User that initiated this upload, if any.
|
max_bytes_per_blob
|
Maximum number of bytes for any blob in the upload.
|
max_bytes_total
|
Maximum aggregate bytes for all blobs in the upload.
|
bucket_name
|
Name of the Google Storage bucket tio upload the files.
|
Returns |
String encoded key of new Datastore entity.
|