from_blob_path

Bind a blob to Diffgram by using a blob path and a Cloud Provider Connection

Log in to see full request history

SDK Method:

project.file.from_blob_path(blob_path='images/myImage.jpeg', bucket_name = 'my-diffgram-bucket', connection_id=<you_connection_id_goes_here>, file_name='myFileName.jpeg')

Body Params
string
required

Blob path (blob key) for the cloud provider

string
required

File name of the blob to upload

string
required

Bucket name of the storage provider.

int32
required

ID of the Diffgram connection object.

media
object
required

Media type object

string
required
Defaults to from_blob_path

Type of input packet upload

int32

The file ID of a parent file for creating a compound file

int32
Defaults to null
Headers
int32
required

Directory ID where the file will be uploaded

Responses

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json