Skip to content

Commit 268dc0f

Browse files
chore: sdk update
1 parent c4e1c7d commit 268dc0f

1,190 files changed

Lines changed: 1210 additions & 1200 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/EcommerceProductsApi.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,10 @@ Name | Type | Description | Notes
474474
Upload and attach a product image
475475

476476
Fetch a raster image (JPEG, PNG, GIF or WebP, max 15MB) from a URL and attach it to a product in a
477-
single call. The image is virus-scanned and validated by content, then stored on the CDN. Set
478-
is_thumbnail to make it the product's primary image.
477+
single call. Image downloads require HTTPS on port 443 without embedded credentials. At most one redirect
478+
is allowed, and its destination must meet the same requirements. Private or reserved network
479+
destinations, unsupported URLs and longer redirect chains are rejected. The image is virus-scanned
480+
and validated by content, then stored on the CDN. Set is_thumbnail to make it the product's primary image.
479481

480482
### Example
481483

@@ -540,6 +542,8 @@ Name | Type | Description | Notes
540542
| Status code | Description | Response headers |
541543
|-------------|-------------|------------------|
542544
**200** | Success response | - |
545+
**400** | Error response | - |
546+
**502** | Error response | - |
543547
**422** | Validation error response | - |
544548
**401** | Unauthenticated response | - |
545549
**500** | Error response | - |

‎docs/EcommerceV1ProductUploadProductImageRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**image_url** | **str** | Publicly reachable URL of the raster image (JPEG, PNG, GIF or WebP), maximum 15MB. The image is fetched, virus-scanned and validated by content, then stored on the CDN. SVG is not accepted. Provide either this or object_name. | [optional]
8+
**image_url** | **str** | Publicly reachable URL of a raster image (JPEG, PNG, GIF or WebP), maximum 15MB. Fetching the image requires HTTPS on port 443 without embedded credentials. At most one redirect is allowed; its destination must meet the same URL requirements. Private or reserved network destinations, unsupported URLs and longer redirect chains are rejected. The image is fetched, virus-scanned and validated by content, then stored on the CDN. SVG is not accepted. Provide either this or object_name. | [optional]
99
**object_name** | **str** | Key returned by the upload-url endpoint. Provide this instead of image_url to attach an uploaded image. | [optional]
1010
**is_thumbnail** | **bool** | When true, the image becomes the product's thumbnail (primary image). When omitted, it becomes the thumbnail only if the product does not have one yet. | [optional]
1111

‎hostinger_api/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 1.49.3
8+
API Version: 1.49.4
99
1010
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
1111
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
1212
""" # noqa: E501
1313

1414

15-
__version__ = "3.47.3"
15+
__version__ = "3.47.4"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi

‎hostinger_api/api/agency_hosting_cache_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_cron_jobs_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_databases_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_datacenters_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_domains_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_files_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

‎hostinger_api/api/agency_hosting_metrics_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44
Hostinger API Python SDK
55
6-
API Version: 1.49.3
6+
API Version: 1.49.4
77
88
NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
99
If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api

0 commit comments

Comments
 (0)