Skip to content

Commit be7329d

Browse files
chore: sdk update
1 parent f71ef53 commit be7329d

1,432 files changed

Lines changed: 1436 additions & 2026 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.

‎README.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ Class | Method | HTTP request | Description
221221
*EcommerceWebhooksApi* | [**list_ecommerce_webhooks_v1**](docs/EcommerceWebhooksApi.md#list_ecommerce_webhooks_v1) | **GET** /api/ecommerce/v1/stores/{store_id}/webhooks | List ecommerce webhooks
222222
*EcommerceWebhooksApi* | [**rotate_an_ecommerce_webhook_secret_v1**](docs/EcommerceWebhooksApi.md#rotate_an_ecommerce_webhook_secret_v1) | **POST** /api/ecommerce/v1/stores/{store_id}/webhooks/{endpoint_id}/rotate-secret | Rotate an ecommerce webhook secret
223223
*EcommerceWebhooksApi* | [**update_an_ecommerce_webhook_v1**](docs/EcommerceWebhooksApi.md#update_an_ecommerce_webhook_v1) | **PATCH** /api/ecommerce/v1/stores/{store_id}/webhooks/{endpoint_id} | Update an ecommerce webhook
224-
*GPUCatalogApi* | [**get_pool_groups_v1**](docs/GPUCatalogApi.md#get_pool_groups_v1) | **GET** /api/gpu/v1/pools/groups | Get pool groups
225224
*GPUCatalogApi* | [**get_pool_instance_types_v1**](docs/GPUCatalogApi.md#get_pool_instance_types_v1) | **GET** /api/gpu/v1/pools/{poolId}/instances | Get pool instance types
226225
*GPUCatalogApi* | [**get_pool_list_v1**](docs/GPUCatalogApi.md#get_pool_list_v1) | **GET** /api/gpu/v1/pools | Get pool list
227226
*GPUCatalogApi* | [**get_pool_os_templates_v1**](docs/GPUCatalogApi.md#get_pool_os_templates_v1) | **GET** /api/gpu/v1/pools/{poolId}/instances/{poolInstanceId}/os-templates | Get pool OS templates
@@ -792,7 +791,6 @@ Class | Method | HTTP request | Description
792791
- [GPUV1LlmModelVariantLlmModelVariantResource](docs/GPUV1LlmModelVariantLlmModelVariantResource.md)
793792
- [GPUV1MetricsMetricsResource](docs/GPUV1MetricsMetricsResource.md)
794793
- [GPUV1OsTemplateOsTemplateResource](docs/GPUV1OsTemplateOsTemplateResource.md)
795-
- [GPUV1PoolPoolGroupResource](docs/GPUV1PoolPoolGroupResource.md)
796794
- [GPUV1PoolPoolInstanceResource](docs/GPUV1PoolPoolInstanceResource.md)
797795
- [GPUV1PoolPoolResource](docs/GPUV1PoolPoolResource.md)
798796
- [GPUV1RegionRegionResource](docs/GPUV1RegionRegionResource.md)

‎docs/GPUCatalogApi.md‎

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -4,84 +4,11 @@ All URIs are relative to *https://developers.hostinger.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**get_pool_groups_v1**](GPUCatalogApi.md#get_pool_groups_v1) | **GET** /api/gpu/v1/pools/groups | Get pool groups
87
[**get_pool_instance_types_v1**](GPUCatalogApi.md#get_pool_instance_types_v1) | **GET** /api/gpu/v1/pools/{poolId}/instances | Get pool instance types
98
[**get_pool_list_v1**](GPUCatalogApi.md#get_pool_list_v1) | **GET** /api/gpu/v1/pools | Get pool list
109
[**get_pool_os_templates_v1**](GPUCatalogApi.md#get_pool_os_templates_v1) | **GET** /api/gpu/v1/pools/{poolId}/instances/{poolInstanceId}/os-templates | Get pool OS templates
1110

1211

13-
# **get_pool_groups_v1**
14-
> List[GPUV1PoolPoolGroupResource] get_pool_groups_v1()
15-
16-
Get pool groups
17-
18-
Retrieve GPU pool groups, ordered by name.
19-
20-
Each group bundles the pools of one GPU model and lists its currently available pools,
21-
whether any of them is available and the lowest hourly price, in credits, among its instance types.
22-
The price is returned even when the group is out of stock.
23-
24-
Use this endpoint to show which GPU models can be ordered and from what price.
25-
26-
### Example
27-
28-
* Bearer Authentication (apiToken):
29-
30-
```python
31-
import hostinger_api
32-
from hostinger_api.models.gpuv1_pool_pool_group_resource import GPUV1PoolPoolGroupResource
33-
from hostinger_api.rest import ApiException
34-
from pprint import pprint
35-
36-
37-
# Configure Bearer authorization: apiToken
38-
configuration = hostinger_api.Configuration(
39-
access_token = os.environ["BEARER_TOKEN"]
40-
)
41-
42-
# Enter a context with an instance of the API client
43-
with hostinger_api.ApiClient(configuration) as api_client:
44-
# Create an instance of the API class
45-
api_instance = hostinger_api.GPUCatalogApi(api_client)
46-
47-
try:
48-
# Get pool groups
49-
api_response = api_instance.get_pool_groups_v1()
50-
print("The response of GPUCatalogApi->get_pool_groups_v1:\n")
51-
pprint(api_response)
52-
except Exception as e:
53-
print("Exception when calling GPUCatalogApi->get_pool_groups_v1: %s\n" % e)
54-
```
55-
56-
57-
58-
### Parameters
59-
60-
This endpoint does not need any parameter.
61-
62-
### Return type
63-
64-
[**List[GPUV1PoolPoolGroupResource]**](GPUV1PoolPoolGroupResource.md)
65-
66-
### Authorization
67-
68-
[apiToken](../README.md#apiToken)
69-
70-
### HTTP request headers
71-
72-
- **Content-Type**: Not defined
73-
- **Accept**: application/json
74-
75-
### HTTP response details
76-
77-
| Status code | Description | Response headers |
78-
|-------------|-------------|------------------|
79-
**200** | Success response | - |
80-
**401** | Unauthenticated response | - |
81-
**500** | Error response | - |
82-
83-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
84-
8512
# **get_pool_instance_types_v1**
8613
> List[GPUV1PoolPoolInstanceResource] get_pool_instance_types_v1(pool_id)
8714

‎docs/GPUV1OsTemplateOsTemplateResource.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ Name | Type | Description | Notes
88
**id** | **int** | OS template ID | [optional]
99
**name** | **str** | | [optional]
1010
**kb_url** | **str** | Knowledge base article about the template | [optional]
11-
**dark_image_id** | **str** | Dark theme icon image ID | [optional]
12-
**light_image_id** | **str** | Light theme icon image ID | [optional]
1311

1412
## Example
1513

‎docs/GPUV1PoolPoolGroupResource.md‎

Lines changed: 0 additions & 36 deletions
This file was deleted.

‎hostinger_api/__init__.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"""
66
Hostinger API Python SDK
77
8-
API Version: 3.8.0
8+
API Version: 3.9.0
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__ = "5.8.0"
15+
__version__ = "5.9.0"
1616

1717
# import apis into sdk package
1818
from hostinger_api.api.agency_hosting_cache_api import AgencyHostingCacheApi
@@ -376,7 +376,6 @@
376376
from hostinger_api.models.gpuv1_llm_model_variant_llm_model_variant_resource import GPUV1LlmModelVariantLlmModelVariantResource
377377
from hostinger_api.models.gpuv1_metrics_metrics_resource import GPUV1MetricsMetricsResource
378378
from hostinger_api.models.gpuv1_os_template_os_template_resource import GPUV1OsTemplateOsTemplateResource
379-
from hostinger_api.models.gpuv1_pool_pool_group_resource import GPUV1PoolPoolGroupResource
380379
from hostinger_api.models.gpuv1_pool_pool_instance_resource import GPUV1PoolPoolInstanceResource
381380
from hostinger_api.models.gpuv1_pool_pool_resource import GPUV1PoolPoolResource
382381
from hostinger_api.models.gpuv1_region_region_resource import GPUV1RegionRegionResource

‎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: 3.8.0
6+
API Version: 3.9.0
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: 3.8.0
6+
API Version: 3.9.0
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: 3.8.0
6+
API Version: 3.9.0
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: 3.8.0
6+
API Version: 3.9.0
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: 3.8.0
6+
API Version: 3.9.0
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)