Skip to content

Commit e4aa3dd

Browse files
feat(sdk): v4.8.0 - Auto-generated from unified API spec [skip ci]
1 parent eeb7f65 commit e4aa3dd

File tree

647 files changed

+1150
-1150
lines changed

Some content is hidden

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

647 files changed

+1150
-1150
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.github/workflows/python.yml
22
.gitignore
33
.gitlab-ci.yml
4-
.openapi-generator-ignore
54
.travis.yml
65
README.md
76
docs/AIAgentsApi.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services
33

44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

6-
- API version: 4.6.0
6+
- API version: 4.8.0
77
- Package version: 1.0.0
88
- Generator version: 7.13.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

docs/BackupManagementApi.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ configuration = quantcdn.Configuration(
4646
with quantcdn.ApiClient(configuration) as api_client:
4747
# Create an instance of the API class
4848
api_instance = quantcdn.BackupManagementApi(api_client)
49-
organisation = 'organisation_example' # str | The organisation ID
50-
application = 'application_example' # str | The application ID
51-
environment = 'environment_example' # str | The environment ID
49+
organisation = 'test-org' # str | The organisation ID
50+
application = 'test-app' # str | The application ID
51+
environment = 'test-env' # str | The environment ID
5252
type = 'type_example' # str | The backup type
5353
create_backup_request = quantcdn.CreateBackupRequest() # CreateBackupRequest | (optional)
5454

@@ -130,9 +130,9 @@ configuration = quantcdn.Configuration(
130130
with quantcdn.ApiClient(configuration) as api_client:
131131
# Create an instance of the API class
132132
api_instance = quantcdn.BackupManagementApi(api_client)
133-
organisation = 'organisation_example' # str | The organisation ID
134-
application = 'application_example' # str | The application ID
135-
environment = 'environment_example' # str | The environment ID
133+
organisation = 'test-org' # str | The organisation ID
134+
application = 'test-app' # str | The application ID
135+
environment = 'test-env' # str | The environment ID
136136
type = 'type_example' # str | The backup type
137137
backup_id = 'backup_id_example' # str | The backup ID
138138

@@ -214,9 +214,9 @@ configuration = quantcdn.Configuration(
214214
with quantcdn.ApiClient(configuration) as api_client:
215215
# Create an instance of the API class
216216
api_instance = quantcdn.BackupManagementApi(api_client)
217-
organisation = 'organisation_example' # str | The organisation ID
218-
application = 'application_example' # str | The application ID
219-
environment = 'environment_example' # str | The environment ID
217+
organisation = 'test-org' # str | The organisation ID
218+
application = 'test-app' # str | The application ID
219+
environment = 'test-env' # str | The environment ID
220220
type = 'type_example' # str | The backup type
221221
backup_id = 'backup_id_example' # str | The backup ID
222222

@@ -300,9 +300,9 @@ configuration = quantcdn.Configuration(
300300
with quantcdn.ApiClient(configuration) as api_client:
301301
# Create an instance of the API class
302302
api_instance = quantcdn.BackupManagementApi(api_client)
303-
organisation = 'organisation_example' # str | The organisation ID
304-
application = 'application_example' # str | The application ID
305-
environment = 'environment_example' # str | The environment ID
303+
organisation = 'test-org' # str | The organisation ID
304+
application = 'test-app' # str | The application ID
305+
environment = 'test-env' # str | The environment ID
306306
type = 'type_example' # str | The backup type
307307
order = desc # str | Sort order for backups by creation date (asc = oldest first, desc = newest first) (optional) (default to desc)
308308
limit = 50 # int | Maximum number of backups to return (max 100) (optional) (default to 50)

docs/CommandsApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ configuration = quantcdn.Configuration(
4545
with quantcdn.ApiClient(configuration) as api_client:
4646
# Create an instance of the API class
4747
api_instance = quantcdn.CommandsApi(api_client)
48-
organisation = 'organisation_example' # str | The organisation ID
49-
environment = 'environment_example' # str | The environment ID
48+
organisation = 'test-org' # str | The organisation ID
49+
environment = 'test-env' # str | The environment ID
5050
create_command_request = quantcdn.CreateCommandRequest() # CreateCommandRequest |
5151

5252
try:
@@ -125,9 +125,9 @@ configuration = quantcdn.Configuration(
125125
with quantcdn.ApiClient(configuration) as api_client:
126126
# Create an instance of the API class
127127
api_instance = quantcdn.CommandsApi(api_client)
128-
organisation = 'organisation_example' # str | The organisation ID
129-
environment = 'environment_example' # str | The environment ID
130-
command = 'command_example' # str | The command ID
128+
organisation = 'test-org' # str | The organisation ID
129+
environment = 'test-env' # str | The environment ID
130+
command = 'test-cmd' # str | The command ID
131131

132132
try:
133133
# Get a command
@@ -205,8 +205,8 @@ configuration = quantcdn.Configuration(
205205
with quantcdn.ApiClient(configuration) as api_client:
206206
# Create an instance of the API class
207207
api_instance = quantcdn.CommandsApi(api_client)
208-
organisation = 'organisation_example' # str | The organisation ID
209-
environment = 'environment_example' # str | The environment ID
208+
organisation = 'test-org' # str | The organisation ID
209+
environment = 'test-env' # str | The environment ID
210210

211211
try:
212212
# Get all commands for an environment

docs/ComposeApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ configuration = quantcdn.Configuration(
4444
with quantcdn.ApiClient(configuration) as api_client:
4545
# Create an instance of the API class
4646
api_instance = quantcdn.ComposeApi(api_client)
47-
organisation = 'organisation_example' # str | The organisation ID
48-
application = 'application_example' # str | The application ID
49-
environment = 'environment_example' # str | The environment ID
47+
organisation = 'test-org' # str | The organisation ID
48+
application = 'test-app' # str | The application ID
49+
environment = 'test-env' # str | The environment ID
5050

5151
try:
5252
# Get the compose file for an environment
@@ -128,9 +128,9 @@ configuration = quantcdn.Configuration(
128128
with quantcdn.ApiClient(configuration) as api_client:
129129
# Create an instance of the API class
130130
api_instance = quantcdn.ComposeApi(api_client)
131-
organisation = 'organisation_example' # str | The organisation ID
132-
application = 'application_example' # str | The application ID
133-
environment = 'environment_example' # str | The environment ID
131+
organisation = 'test-org' # str | The organisation ID
132+
application = 'test-app' # str | The application ID
133+
environment = 'test-env' # str | The environment ID
134134
patch_environment_compose_request = quantcdn.PatchEnvironmentComposeRequest() # PatchEnvironmentComposeRequest | Partial compose definition updates. All fields are optional.
135135

136136
try:
@@ -215,7 +215,7 @@ configuration = quantcdn.Configuration(
215215
with quantcdn.ApiClient(configuration) as api_client:
216216
# Create an instance of the API class
217217
api_instance = quantcdn.ComposeApi(api_client)
218-
organisation = 'organisation_example' # str | The organisation ID
218+
organisation = 'test-org' # str | The organisation ID
219219
validate_compose_request = quantcdn.ValidateComposeRequest() # ValidateComposeRequest | The docker-compose.yml file content. Can be sent as raw YAML string or as a JSON wrapper containing both yamlContent (string) and imageSuffix (string) fields. Query parameter imageSuffix takes precedence if both are provided.
220220
image_suffix = 'pr-456' # str | Optional. Image tag suffix to apply during translation. Transforms internal image tags to consistent '{containerName}-{suffix}' format (e.g., 'nginx-pr-456'). External images are left unchanged. Useful for feature branch deployments. (optional)
221221

docs/ContainersApi.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ configuration = quantcdn.Configuration(
4242
with quantcdn.ApiClient(configuration) as api_client:
4343
# Create an instance of the API class
4444
api_instance = quantcdn.ContainersApi(api_client)
45-
organisation = 'organisation_example' # str | The organisation ID
46-
application = 'application_example' # str | The application ID
47-
environment = 'environment_example' # str | The environment ID
45+
organisation = 'test-org' # str | The organisation ID
46+
application = 'test-app' # str | The application ID
47+
environment = 'test-env' # str | The environment ID
4848

4949
try:
5050
# Get the containers in an environment
@@ -121,10 +121,10 @@ configuration = quantcdn.Configuration(
121121
with quantcdn.ApiClient(configuration) as api_client:
122122
# Create an instance of the API class
123123
api_instance = quantcdn.ContainersApi(api_client)
124-
organisation = 'organisation_example' # str | The organisation ID
125-
application = 'application_example' # str | The application ID
126-
environment = 'environment_example' # str | The environment ID
127-
container = 'container_example' # str | The container ID
124+
organisation = 'test-org' # str | The organisation ID
125+
application = 'test-app' # str | The application ID
126+
environment = 'test-env' # str | The environment ID
127+
container = 'test-container' # str | The container ID
128128
container2 = quantcdn.Container() # Container |
129129

130130
try:

docs/CrawlerSchedulesApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ configuration = quantcdn.Configuration(
299299
with quantcdn.ApiClient(configuration) as api_client:
300300
# Create an instance of the API class
301301
api_instance = quantcdn.CrawlerSchedulesApi(api_client)
302-
organization = 'organization_example' # str |
303-
project = 'project_example' # str |
304-
crawler = 'crawler_example' # str |
302+
organization = 'test-org' # str |
303+
project = 'test-project' # str |
304+
crawler = '00000000-0000-0000-0000-000000000000' # str |
305305

306306
try:
307307
# List schedules for a crawler

docs/CrawlersApi.md

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ configuration = quantcdn.Configuration(
5050
with quantcdn.ApiClient(configuration) as api_client:
5151
# Create an instance of the API class
5252
api_instance = quantcdn.CrawlersApi(api_client)
53-
organization = 'organization_example' # str | Organization identifier
54-
project = 'project_example' # str | Project identifier
53+
organization = 'test-org' # str | Organization identifier
54+
project = 'test-project' # str | Project identifier
5555
v2_crawler_request = quantcdn.V2CrawlerRequest() # V2CrawlerRequest |
5656

5757
try:
@@ -131,9 +131,9 @@ configuration = quantcdn.Configuration(
131131
with quantcdn.ApiClient(configuration) as api_client:
132132
# Create an instance of the API class
133133
api_instance = quantcdn.CrawlersApi(api_client)
134-
organization = 'organization_example' # str | Organization identifier
135-
project = 'project_example' # str | Project identifier
136-
crawler = 'crawler_example' # str |
134+
organization = 'test-org' # str | Organization identifier
135+
project = 'test-project' # str | Project identifier
136+
crawler = '00000000-0000-0000-0000-000000000000' # str | The UUID of the crawler
137137

138138
try:
139139
# Delete a crawler
@@ -151,7 +151,7 @@ Name | Type | Description | Notes
151151
------------- | ------------- | ------------- | -------------
152152
**organization** | **str**| Organization identifier |
153153
**project** | **str**| Project identifier |
154-
**crawler** | **str**| |
154+
**crawler** | **str**| The UUID of the crawler |
155155

156156
### Return type
157157

@@ -211,10 +211,10 @@ configuration = quantcdn.Configuration(
211211
with quantcdn.ApiClient(configuration) as api_client:
212212
# Create an instance of the API class
213213
api_instance = quantcdn.CrawlersApi(api_client)
214-
organization = 'organization_example' # str | Organization identifier
215-
project = 'project_example' # str | Project identifier
216-
crawler = 'crawler_example' # str | Crawler identifier
217-
run_id = 56 # int | Run identifier
214+
organization = 'test-org' # str | Organization identifier
215+
project = 'test-project' # str | Project identifier
216+
crawler = '00000000-0000-0000-0000-000000000000' # str | Crawler identifier
217+
run_id = 1 # int | Run identifier
218218

219219
try:
220220
# Get a run by ID
@@ -297,9 +297,9 @@ configuration = quantcdn.Configuration(
297297
with quantcdn.ApiClient(configuration) as api_client:
298298
# Create an instance of the API class
299299
api_instance = quantcdn.CrawlersApi(api_client)
300-
organization = 'organization_example' # str | Organization identifier
301-
project = 'project_example' # str | Project identifier
302-
crawler = 'crawler_example' # str | Crawler identifier
300+
organization = 'test-org' # str | Organization identifier
301+
project = 'test-project' # str | Project identifier
302+
crawler = '00000000-0000-0000-0000-000000000000' # str | Crawler identifier
303303

304304
try:
305305
# Get all runs for a crawler
@@ -347,7 +347,7 @@ Name | Type | Description | Notes
347347
[[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)
348348

349349
# **crawlers_list**
350-
> List[V2Crawler] crawlers_list(organization, project)
350+
> crawlers_list(organization, project)
351351
352352
List crawlers for the project
353353

@@ -357,7 +357,6 @@ List crawlers for the project
357357

358358
```python
359359
import quantcdn
360-
from quantcdn.models.v2_crawler import V2Crawler
361360
from quantcdn.rest import ApiException
362361
from pprint import pprint
363362

@@ -381,14 +380,12 @@ configuration = quantcdn.Configuration(
381380
with quantcdn.ApiClient(configuration) as api_client:
382381
# Create an instance of the API class
383382
api_instance = quantcdn.CrawlersApi(api_client)
384-
organization = 'organization_example' # str | Organization identifier
385-
project = 'project_example' # str | Project identifier
383+
organization = 'test-org' # str | Organization identifier
384+
project = 'test-project' # str | Project identifier
386385

387386
try:
388387
# List crawlers for the project
389-
api_response = api_instance.crawlers_list(organization, project)
390-
print("The response of CrawlersApi->crawlers_list:\n")
391-
pprint(api_response)
388+
api_instance.crawlers_list(organization, project)
392389
except Exception as e:
393390
print("Exception when calling CrawlersApi->crawlers_list: %s\n" % e)
394391
```
@@ -405,7 +402,7 @@ Name | Type | Description | Notes
405402

406403
### Return type
407404

408-
[**List[V2Crawler]**](V2Crawler.md)
405+
void (empty response body)
409406

410407
### Authorization
411408

@@ -420,7 +417,6 @@ Name | Type | Description | Notes
420417

421418
| Status code | Description | Response headers |
422419
|-------------|-------------|------------------|
423-
**200** | The request has succeeded. | - |
424420
**400** | The server could not understand the request due to invalid syntax. | - |
425421
**403** | Access is forbidden. | - |
426422

@@ -461,9 +457,9 @@ configuration = quantcdn.Configuration(
461457
with quantcdn.ApiClient(configuration) as api_client:
462458
# Create an instance of the API class
463459
api_instance = quantcdn.CrawlersApi(api_client)
464-
organization = 'organization_example' # str | Organization identifier
465-
project = 'project_example' # str | Project identifier
466-
crawler = 'crawler_example' # str |
460+
organization = 'test-org' # str | Organization identifier
461+
project = 'test-project' # str | Project identifier
462+
crawler = '00000000-0000-0000-0000-000000000000' # str | The UUID of the crawler
467463

468464
try:
469465
# Get details of a single crawler
@@ -483,7 +479,7 @@ Name | Type | Description | Notes
483479
------------- | ------------- | ------------- | -------------
484480
**organization** | **str**| Organization identifier |
485481
**project** | **str**| Project identifier |
486-
**crawler** | **str**| |
482+
**crawler** | **str**| The UUID of the crawler |
487483

488484
### Return type
489485

@@ -544,9 +540,9 @@ configuration = quantcdn.Configuration(
544540
with quantcdn.ApiClient(configuration) as api_client:
545541
# Create an instance of the API class
546542
api_instance = quantcdn.CrawlersApi(api_client)
547-
organization = 'organization_example' # str | Organization identifier
548-
project = 'project_example' # str | Project identifier
549-
crawler = 'crawler_example' # str | Crawler identifier
543+
organization = 'test-org' # str | Organization identifier
544+
project = 'test-project' # str | Project identifier
545+
crawler = '00000000-0000-0000-0000-000000000000' # str | Crawler identifier
550546
crawlers_run_request = quantcdn.CrawlersRunRequest() # CrawlersRunRequest |
551547

552548
try:
@@ -631,9 +627,9 @@ configuration = quantcdn.Configuration(
631627
with quantcdn.ApiClient(configuration) as api_client:
632628
# Create an instance of the API class
633629
api_instance = quantcdn.CrawlersApi(api_client)
634-
organization = 'organization_example' # str | Organization identifier
635-
project = 'project_example' # str | Project identifier
636-
crawler = 'crawler_example' # str |
630+
organization = 'test-org' # str | Organization identifier
631+
project = 'test-project' # str | Project identifier
632+
crawler = '00000000-0000-0000-0000-000000000000' # str | The UUID of the crawler
637633
v2_crawler_request = quantcdn.V2CrawlerRequest() # V2CrawlerRequest |
638634

639635
try:
@@ -654,7 +650,7 @@ Name | Type | Description | Notes
654650
------------- | ------------- | ------------- | -------------
655651
**organization** | **str**| Organization identifier |
656652
**project** | **str**| Project identifier |
657-
**crawler** | **str**| |
653+
**crawler** | **str**| The UUID of the crawler |
658654
**v2_crawler_request** | [**V2CrawlerRequest**](V2CrawlerRequest.md)| |
659655

660656
### Return type

0 commit comments

Comments
 (0)