You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signed URL to upload the image to with a multipart/form-data POST.
[optional]
fields
Dict[str, str]
Form fields to send alongside the file in the multipart POST.
[optional]
object_name
str
Key of the uploaded object — send it to the attach-image endpoint.
[optional]
max_bytes
int
Maximum accepted upload size in bytes.
[optional]
Example
fromhostinger_api.models.ecommerce_v1_product_product_image_upload_url_resourceimportEcommerceV1ProductProductImageUploadUrlResource# TODO update the JSON string belowjson="{}"# create an instance of EcommerceV1ProductProductImageUploadUrlResource from a JSON stringecommerce_v1_product_product_image_upload_url_resource_instance=EcommerceV1ProductProductImageUploadUrlResource.from_json(json)
# print the JSON string representation of the objectprint(EcommerceV1ProductProductImageUploadUrlResource.to_json())
# convert the object into a dictecommerce_v1_product_product_image_upload_url_resource_dict=ecommerce_v1_product_product_image_upload_url_resource_instance.to_dict()
# create an instance of EcommerceV1ProductProductImageUploadUrlResource from a dictecommerce_v1_product_product_image_upload_url_resource_from_dict=EcommerceV1ProductProductImageUploadUrlResource.from_dict(ecommerce_v1_product_product_image_upload_url_resource_dict)