From 8cd74d0736d2b42e98fd56a72b432b97f2f2c572 Mon Sep 17 00:00:00 2001 From: "quantcloud[bot]" Date: Thu, 18 Dec 2025 06:47:01 +0000 Subject: [PATCH] feat(sdk): v4.8.0 - Auto-generated from unified API spec Generated from unified API spec v4.8.0 Changes: - Auto-generated SDK updates This PR was automatically created by the API generation pipeline. --- README.md | 5 - api/openapi.yaml | 361 +++++++++++++++++++++++----- api_crawlers.go | 48 ++-- api_domains.go | 12 +- api_headers.go | 24 +- api_kv.go | 72 +++--- api_organizations.go | 15 +- api_projects.go | 32 +-- api_purge.go | 8 +- api_ssh_access.go | 12 +- docs/BackupManagementAPI.md | 24 +- docs/CommandsAPI.md | 14 +- docs/ComposeAPI.md | 14 +- docs/ContainersAPI.md | 14 +- docs/CrawlerSchedulesAPI.md | 6 +- docs/CrawlersAPI.md | 60 +++-- docs/CronAPI.md | 46 ++-- docs/DomainsAPI.md | 32 +-- docs/EnvironmentsAPI.md | 50 ++-- docs/HeadersAPI.md | 24 +- docs/KVAPI.md | 86 +++---- docs/OrganizationsAPI.md | 4 +- docs/ProjectsAPI.md | 32 +-- docs/PurgeAPI.md | 8 +- docs/SSHAccessAPI.md | 12 +- docs/ScalingPolicyAPI.md | 18 +- docs/VariablesAPI.md | 18 +- docs/VolumesAPI.md | 24 +- go.mod | 2 +- test/api_ai_agents_test.go | 2 +- test/api_ai_custom_tools_test.go | 2 +- test/api_ai_inference_test.go | 2 +- test/api_ai_models_test.go | 2 +- test/api_ai_monitoring_test.go | 2 +- test/api_ai_sessions_test.go | 2 +- test/api_ai_tools_test.go | 2 +- test/api_ai_vector_database_test.go | 2 +- test/api_applications_test.go | 2 +- test/api_backup_management_test.go | 2 +- test/api_commands_test.go | 2 +- test/api_compose_test.go | 2 +- test/api_containers_test.go | 2 +- test/api_crawler_schedules_test.go | 2 +- test/api_crawlers_test.go | 5 +- test/api_cron_test.go | 2 +- test/api_domains_test.go | 2 +- test/api_environments_test.go | 2 +- test/api_headers_test.go | 2 +- test/api_kv_test.go | 2 +- test/api_organizations_test.go | 2 +- test/api_projects_test.go | 2 +- test/api_purge_test.go | 2 +- test/api_rules_test.go | 2 +- test/api_scaling_policy_test.go | 2 +- test/api_ssh_access_test.go | 2 +- test/api_variables_test.go | 2 +- test/api_volumes_test.go | 2 +- 57 files changed, 679 insertions(+), 457 deletions(-) diff --git a/README.md b/README.md index 551a41a..1357157 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,6 @@ Unified API for QuantCDN Admin and QuantCloud Platform services -[![Go Reference](https://pkg.go.dev/badge/github.com/quantcdn/quant-admin-go/v4.svg)](https://pkg.go.dev/github.com/quantcdn/quant-admin-go/v4) -[![Go Report Card](https://goreportcard.com/badge/github.com/quantcdn/quant-admin-go)](https://goreportcard.com/report/github.com/quantcdn/quant-admin-go) -![Build Status](https://github.com/quantcdn/quant-admin-go/actions/workflows/test.yml/badge.svg) -![License](https://img.shields.io/github/license/quantcdn/quant-admin-go) - ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. diff --git a/api/openapi.yaml b/api/openapi.yaml index 3950157..8ae76e0 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -72,21 +72,24 @@ paths: get: operationId: CrawlerSchedules_list parameters: - - explode: false + - example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: 00000000-0000-0000-0000-000000000000 + explode: false in: path name: crawler required: true @@ -356,6 +359,7 @@ paths: operationId: Crawlers_list parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -364,6 +368,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -372,14 +377,6 @@ paths: type: string style: simple responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/V2Crawler' - type: array - description: The request has succeeded. "400": content: application/json: @@ -400,6 +397,7 @@ paths: operationId: Crawlers_create parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -408,6 +406,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -449,6 +448,7 @@ paths: operationId: Crawlers_delete parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -457,6 +457,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -464,7 +465,9 @@ paths: schema: type: string style: simple - - explode: false + - description: The UUID of the crawler + example: 00000000-0000-0000-0000-000000000000 + explode: false in: path name: crawler required: true @@ -494,6 +497,7 @@ paths: operationId: Crawlers_read parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -502,6 +506,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -509,7 +514,9 @@ paths: schema: type: string style: simple - - explode: false + - description: The UUID of the crawler + example: 00000000-0000-0000-0000-000000000000 + explode: false in: path name: crawler required: true @@ -543,6 +550,7 @@ paths: operationId: Crawlers_update parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -551,6 +559,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -558,7 +567,9 @@ paths: schema: type: string style: simple - - explode: false + - description: The UUID of the crawler + example: 00000000-0000-0000-0000-000000000000 + explode: false in: path name: crawler required: true @@ -599,6 +610,7 @@ paths: operationId: Crawlers_run parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -607,6 +619,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -615,6 +628,7 @@ paths: type: string style: simple - description: Crawler identifier + example: 00000000-0000-0000-0000-000000000000 explode: false in: path name: crawler @@ -668,6 +682,7 @@ paths: operationId: Crawlers_getRuns parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -676,6 +691,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -684,6 +700,7 @@ paths: type: string style: simple - description: Crawler identifier + example: 00000000-0000-0000-0000-000000000000 explode: false in: path name: crawler @@ -733,6 +750,7 @@ paths: operationId: Crawlers_getRunById parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -741,6 +759,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -749,6 +768,7 @@ paths: type: string style: simple - description: Crawler identifier + example: 00000000-0000-0000-0000-000000000000 explode: false in: path name: crawler @@ -757,6 +777,7 @@ paths: type: string style: simple - description: Run identifier + example: 1 explode: false in: path name: run_id @@ -803,14 +824,18 @@ paths: delete: operationId: Headers_delete parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -845,14 +870,18 @@ paths: get: operationId: Headers_list parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -891,14 +920,18 @@ paths: post: operationId: Headers_create parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -939,6 +972,7 @@ paths: operationId: Domains_list parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -947,6 +981,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -983,6 +1018,7 @@ paths: operationId: Domains_create parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -991,6 +1027,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -1032,6 +1069,7 @@ paths: operationId: Domains_delete parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -1040,6 +1078,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -1047,7 +1086,8 @@ paths: schema: type: string style: simple - - description: Domain identifier + - description: Domain id + example: "0000" explode: false in: path name: domain @@ -1078,6 +1118,7 @@ paths: operationId: Domains_read parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -1086,6 +1127,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -1093,7 +1135,8 @@ paths: schema: type: string style: simple - - description: Domain identifier + - description: Domain id + example: "0000" explode: false in: path name: domain @@ -1129,6 +1172,7 @@ paths: operationId: Domains_renew parameters: - description: Organization identifier + example: test-org explode: false in: path name: organization @@ -1137,6 +1181,7 @@ paths: type: string style: simple - description: Project identifier + example: test-project explode: false in: path name: project @@ -1144,7 +1189,8 @@ paths: schema: type: string style: simple - - description: Domain identifier + - description: Domain id + example: "0000" explode: false in: path name: domain @@ -1175,14 +1221,18 @@ paths: get: operationId: KV_list parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -1217,14 +1267,18 @@ paths: post: operationId: KV_create parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -1264,21 +1318,26 @@ paths: delete: operationId: KV_delete parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1307,21 +1366,26 @@ paths: get: operationId: KV_show parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1354,21 +1418,26 @@ paths: get: operationId: KV_items_list parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1436,21 +1505,26 @@ paths: post: operationId: KV_items_create parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1496,21 +1570,26 @@ paths: delete: operationId: KV_items_delete parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1554,21 +1633,26 @@ paths: \ via the Quant Cloud platform KVStore abstraction." operationId: KV_items_show parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1607,21 +1691,26 @@ paths: put: operationId: KV_items_update parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true schema: type: string style: simple - - explode: false + - example: "0000" + explode: false in: path name: store_id required: true @@ -1702,7 +1791,9 @@ paths: get: operationId: Organizations_read parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true @@ -1716,6 +1807,12 @@ paths: schema: $ref: '#/components/schemas/V2Organization' description: The request has succeeded. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/V2Error' + description: Organization not found. "400": content: application/json: @@ -1736,7 +1833,9 @@ paths: get: operationId: Projects_list parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true @@ -1771,7 +1870,9 @@ paths: post: operationId: Projects_create parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true @@ -1812,14 +1913,18 @@ paths: delete: operationId: Projects_delete parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -1848,14 +1953,18 @@ paths: get: operationId: Projects_read parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -1896,14 +2005,18 @@ paths: patch: operationId: Projects_update parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -1943,14 +2056,18 @@ paths: post: operationId: Purge_create parameters: - - explode: false + - description: Organization identifier + example: test-org + explode: false in: path name: organization required: true schema: type: string style: simple - - explode: false + - description: Project identifier + example: test-project + explode: false in: path name: project required: true @@ -5863,6 +5980,7 @@ paths: operationId: listCommands parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -5871,6 +5989,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -5892,6 +6011,7 @@ paths: operationId: createCommand parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -5900,6 +6020,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -5928,6 +6049,7 @@ paths: operationId: getCommand parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -5936,6 +6058,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -5944,6 +6067,7 @@ paths: type: string style: simple - description: The command ID + example: test-cmd explode: false in: path name: command @@ -5966,6 +6090,7 @@ paths: operationId: getEnvironmentCompose parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -5974,6 +6099,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -5982,6 +6108,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6012,6 +6139,7 @@ paths: operationId: patchEnvironmentCompose parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6020,6 +6148,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6028,6 +6157,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6075,6 +6205,7 @@ paths: operationId: validateCompose parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6127,6 +6258,7 @@ paths: operationId: listContainers parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6135,6 +6267,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6143,6 +6276,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6163,6 +6297,7 @@ paths: operationId: updateContainer parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6171,6 +6306,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6179,6 +6315,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6187,6 +6324,7 @@ paths: type: string style: simple - description: The container ID + example: test-container explode: false in: path name: container @@ -6213,6 +6351,7 @@ paths: operationId: listCronJobs parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6221,6 +6360,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6229,6 +6369,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6252,6 +6393,7 @@ paths: operationId: createCronJob parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6260,6 +6402,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6268,6 +6411,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6304,6 +6448,7 @@ paths: operationId: deleteCronJob parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6312,6 +6457,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6320,6 +6466,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6345,6 +6492,7 @@ paths: operationId: getCronJob parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6353,6 +6501,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6361,6 +6510,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6392,6 +6542,7 @@ paths: operationId: updateCronJob parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6400,6 +6551,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6408,6 +6560,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6446,6 +6599,7 @@ paths: operationId: listCronJobRuns parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6454,6 +6608,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6462,6 +6617,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6470,6 +6626,7 @@ paths: type: string style: simple - description: The cron job ID + example: test-cron explode: false in: path name: cron @@ -6494,6 +6651,7 @@ paths: operationId: getCronRun parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6502,6 +6660,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6510,6 +6669,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6518,6 +6678,7 @@ paths: type: string style: simple - description: The cron job ID + example: test-cron explode: false in: path name: cron @@ -6548,6 +6709,7 @@ paths: operationId: listEnvironments parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6556,6 +6718,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6582,6 +6745,7 @@ paths: operationId: createEnvironment parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6590,6 +6754,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6627,6 +6792,7 @@ paths: operationId: deleteEnvironment parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6635,6 +6801,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6643,6 +6810,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6662,6 +6830,7 @@ paths: operationId: getEnvironment parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6670,6 +6839,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6678,6 +6848,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6753,6 +6924,7 @@ paths: operationId: updateEnvironmentState parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6761,6 +6933,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6769,6 +6942,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6798,6 +6972,7 @@ paths: operationId: getEnvironmentLogs parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6806,6 +6981,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6814,6 +6990,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6893,6 +7070,7 @@ paths: operationId: getEnvironmentMetrics parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6901,6 +7079,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6909,6 +7088,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -6978,6 +7158,7 @@ paths: operationId: listSyncOperations parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -6986,6 +7167,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -6994,6 +7176,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7028,6 +7211,7 @@ paths: operationId: syncToEnvironment parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7036,6 +7220,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7044,6 +7229,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7086,6 +7272,7 @@ paths: operationId: listBackups parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7094,6 +7281,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7102,6 +7290,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7204,6 +7393,7 @@ paths: operationId: createBackup parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7212,6 +7402,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7220,6 +7411,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7259,6 +7451,7 @@ paths: operationId: deleteBackup parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7267,6 +7460,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7275,6 +7469,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7316,6 +7511,7 @@ paths: operationId: downloadBackup parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7324,6 +7520,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7332,6 +7529,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7373,6 +7571,7 @@ paths: operationId: getScalingPolicies parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7381,6 +7580,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7389,6 +7589,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7406,6 +7607,7 @@ paths: operationId: updateScalingPolicy parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7414,6 +7616,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7422,6 +7625,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7446,6 +7650,7 @@ paths: operationId: deleteScalingPolicy parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7454,6 +7659,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7462,6 +7668,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7487,7 +7694,8 @@ paths: get: operationId: getSshAccessCredentials parameters: - - description: The organisation machine name + - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7495,7 +7703,8 @@ paths: schema: type: string style: simple - - description: The application name + - description: The application ID + example: test-app explode: false in: path name: application @@ -7503,7 +7712,8 @@ paths: schema: type: string style: simple - - description: The environment name + - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7532,6 +7742,7 @@ paths: operationId: listEnvironmentVariables parameters: - description: The organisation ID + example: test-org explode: false in: path name: api_organisation @@ -7540,6 +7751,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: api_application @@ -7548,6 +7760,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: api_environment @@ -7565,6 +7778,7 @@ paths: operationId: bulkSetEnvironmentVariables parameters: - description: The organisation ID + example: test-org explode: false in: path name: api_organisation @@ -7573,6 +7787,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: api_application @@ -7581,6 +7796,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: api_environment @@ -7648,6 +7864,7 @@ paths: operationId: updateEnvironmentVariable parameters: - description: The organisation ID + example: test-org explode: false in: path name: api_organisation @@ -7656,6 +7873,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: api_application @@ -7664,6 +7882,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: api_environment @@ -7698,6 +7917,7 @@ paths: operationId: listVolumes parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7706,6 +7926,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7714,6 +7935,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7737,6 +7959,7 @@ paths: operationId: createVolume parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7745,6 +7968,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7753,6 +7977,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7783,6 +8008,7 @@ paths: operationId: deleteVolume parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7791,6 +8017,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7799,6 +8026,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -7826,6 +8054,7 @@ paths: operationId: getVolume parameters: - description: The organisation ID + example: test-org explode: false in: path name: organisation @@ -7834,6 +8063,7 @@ paths: type: string style: simple - description: The application ID + example: test-app explode: false in: path name: application @@ -7842,6 +8072,7 @@ paths: type: string style: simple - description: The environment ID + example: test-env explode: false in: path name: environment @@ -9752,13 +9983,13 @@ components: type: object V2Organization: example: - updated_at: 2024-10-10T14:20:00Z name: Test Organization - created_at: 2024-01-15T10:30:00Z - subscription: professional machine_name: test-org type: business region: au + subscription: professional + created_at: 2024-01-15T10:30:00Z + updated_at: 2024-10-10T14:20:00Z properties: name: description: Organization name diff --git a/api_crawlers.go b/api_crawlers.go index eb972c7..4c4fdd4 100644 --- a/api_crawlers.go +++ b/api_crawlers.go @@ -42,7 +42,7 @@ type CrawlersAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersDeleteRequest */ CrawlersDelete(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersDeleteRequest @@ -92,8 +92,7 @@ type CrawlersAPI interface { CrawlersList(ctx context.Context, organization string, project string) CrawlersAPICrawlersListRequest // CrawlersListExecute executes the request - // @return []V2Crawler - CrawlersListExecute(r CrawlersAPICrawlersListRequest) ([]V2Crawler, *http.Response, error) + CrawlersListExecute(r CrawlersAPICrawlersListRequest) (*http.Response, error) /* CrawlersRead Get details of a single crawler @@ -101,7 +100,7 @@ type CrawlersAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersReadRequest */ CrawlersRead(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersReadRequest @@ -131,7 +130,7 @@ type CrawlersAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersUpdateRequest */ CrawlersUpdate(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersUpdateRequest @@ -299,7 +298,7 @@ CrawlersDelete Delete a crawler @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersDeleteRequest */ func (a *CrawlersAPIService) CrawlersDelete(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersDeleteRequest { @@ -715,7 +714,7 @@ type CrawlersAPICrawlersListRequest struct { project string } -func (r CrawlersAPICrawlersListRequest) Execute() ([]V2Crawler, *http.Response, error) { +func (r CrawlersAPICrawlersListRequest) Execute() (*http.Response, error) { return r.ApiService.CrawlersListExecute(r) } @@ -737,18 +736,16 @@ func (a *CrawlersAPIService) CrawlersList(ctx context.Context, organization stri } // Execute executes the request -// @return []V2Crawler -func (a *CrawlersAPIService) CrawlersListExecute(r CrawlersAPICrawlersListRequest) ([]V2Crawler, *http.Response, error) { +func (a *CrawlersAPIService) CrawlersListExecute(r CrawlersAPICrawlersListRequest) (*http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue []V2Crawler ) localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "CrawlersAPIService.CrawlersList") if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + return nil, &GenericOpenAPIError{error: err.Error()} } localVarPath := localBasePath + "/api/v2/organizations/{organization}/projects/{project}/crawlers" @@ -778,19 +775,19 @@ func (a *CrawlersAPIService) CrawlersListExecute(r CrawlersAPICrawlersListReques } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { - return localVarReturnValue, nil, err + return nil, err } localVarHTTPResponse, err := a.client.callAPI(req) if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) localVarHTTPResponse.Body.Close() localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) if err != nil { - return localVarReturnValue, localVarHTTPResponse, err + return localVarHTTPResponse, err } if localVarHTTPResponse.StatusCode >= 300 { @@ -803,35 +800,26 @@ func (a *CrawlersAPIService) CrawlersListExecute(r CrawlersAPICrawlersListReques err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } if localVarHTTPResponse.StatusCode == 403 { var v V2Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) newErr.model = v } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr + return localVarHTTPResponse, newErr } - return localVarReturnValue, localVarHTTPResponse, nil + return localVarHTTPResponse, nil } type CrawlersAPICrawlersReadRequest struct { @@ -852,7 +840,7 @@ CrawlersRead Get details of a single crawler @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersReadRequest */ func (a *CrawlersAPIService) CrawlersRead(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersReadRequest { @@ -1151,7 +1139,7 @@ CrawlersUpdate Update a crawler @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param crawler + @param crawler The UUID of the crawler @return CrawlersAPICrawlersUpdateRequest */ func (a *CrawlersAPIService) CrawlersUpdate(ctx context.Context, organization string, project string, crawler string) CrawlersAPICrawlersUpdateRequest { diff --git a/api_domains.go b/api_domains.go index 66bfba5..a951dc3 100644 --- a/api_domains.go +++ b/api_domains.go @@ -42,7 +42,7 @@ type DomainsAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsDeleteRequest */ DomainsDelete(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsDeleteRequest @@ -70,7 +70,7 @@ type DomainsAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsReadRequest */ DomainsRead(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsReadRequest @@ -85,7 +85,7 @@ type DomainsAPI interface { @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsRenewRequest */ DomainsRenew(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsRenewRequest @@ -252,7 +252,7 @@ DomainsDelete Delete a domain @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsDeleteRequest */ func (a *DomainsAPIService) DomainsDelete(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsDeleteRequest { @@ -497,7 +497,7 @@ DomainsRead Get details of a single domain @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsReadRequest */ func (a *DomainsAPIService) DomainsRead(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsReadRequest { @@ -627,7 +627,7 @@ DomainsRenew Renew the SSL certificate for a domain @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param organization Organization identifier @param project Project identifier - @param domain Domain identifier + @param domain Domain id @return DomainsAPIDomainsRenewRequest */ func (a *DomainsAPIService) DomainsRenew(ctx context.Context, organization string, project string, domain string) DomainsAPIDomainsRenewRequest { diff --git a/api_headers.go b/api_headers.go index 1319bf8..17e93ed 100644 --- a/api_headers.go +++ b/api_headers.go @@ -26,8 +26,8 @@ type HeadersAPI interface { HeadersCreate Create or update custom headers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersCreateRequest */ HeadersCreate(ctx context.Context, organization string, project string) HeadersAPIHeadersCreateRequest @@ -40,8 +40,8 @@ type HeadersAPI interface { HeadersDelete Delete custom headers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersDeleteRequest */ HeadersDelete(ctx context.Context, organization string, project string) HeadersAPIHeadersDeleteRequest @@ -53,8 +53,8 @@ type HeadersAPI interface { HeadersList List custom headers for a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersListRequest */ HeadersList(ctx context.Context, organization string, project string) HeadersAPIHeadersListRequest @@ -88,8 +88,8 @@ func (r HeadersAPIHeadersCreateRequest) Execute() (map[string]string, *http.Resp HeadersCreate Create or update custom headers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersCreateRequest */ func (a *HeadersAPIService) HeadersCreate(ctx context.Context, organization string, project string) HeadersAPIHeadersCreateRequest { @@ -225,8 +225,8 @@ func (r HeadersAPIHeadersDeleteRequest) Execute() (*http.Response, error) { HeadersDelete Delete custom headers @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersDeleteRequest */ func (a *HeadersAPIService) HeadersDelete(ctx context.Context, organization string, project string) HeadersAPIHeadersDeleteRequest { @@ -345,8 +345,8 @@ func (r HeadersAPIHeadersListRequest) Execute() (map[string]string, *http.Respon HeadersList List custom headers for a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return HeadersAPIHeadersListRequest */ func (a *HeadersAPIService) HeadersList(ctx context.Context, organization string, project string) HeadersAPIHeadersListRequest { diff --git a/api_kv.go b/api_kv.go index 58fbab8..f1e6dcf 100644 --- a/api_kv.go +++ b/api_kv.go @@ -26,8 +26,8 @@ type KVAPI interface { KVCreate Add a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return KVAPIKVCreateRequest */ KVCreate(ctx context.Context, organization string, project string) KVAPIKVCreateRequest @@ -40,8 +40,8 @@ type KVAPI interface { KVDelete Delete a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVDeleteRequest */ @@ -54,8 +54,8 @@ type KVAPI interface { KVItemsCreate Add an item to a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVItemsCreateRequest */ @@ -69,8 +69,8 @@ type KVAPI interface { KVItemsDelete Delete an item from a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsDeleteRequest @@ -85,8 +85,8 @@ type KVAPI interface { KVItemsList List items in a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVItemsListRequest */ @@ -102,8 +102,8 @@ type KVAPI interface { Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as '[ENCRYPTED]' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsShowRequest @@ -118,8 +118,8 @@ type KVAPI interface { KVItemsUpdate Update an item in a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsUpdateRequest @@ -134,8 +134,8 @@ type KVAPI interface { KVList List key-value stores @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return KVAPIKVListRequest */ KVList(ctx context.Context, organization string, project string) KVAPIKVListRequest @@ -148,8 +148,8 @@ type KVAPI interface { KVShow Get a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVShowRequest */ @@ -184,8 +184,8 @@ func (r KVAPIKVCreateRequest) Execute() (*V2Store, *http.Response, error) { KVCreate Add a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return KVAPIKVCreateRequest */ func (a *KVAPIService) KVCreate(ctx context.Context, organization string, project string) KVAPIKVCreateRequest { @@ -316,8 +316,8 @@ func (r KVAPIKVDeleteRequest) Execute() (*http.Response, error) { KVDelete Delete a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVDeleteRequest */ @@ -441,8 +441,8 @@ func (r KVAPIKVItemsCreateRequest) Execute() (*KVItemsCreate200Response, *http.R KVItemsCreate Add an item to a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVItemsCreateRequest */ @@ -588,8 +588,8 @@ func (r KVAPIKVItemsDeleteRequest) Execute() (*KVItemsDelete200Response, *http.R KVItemsDelete Delete an item from a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsDeleteRequest @@ -749,8 +749,8 @@ func (r KVAPIKVItemsListRequest) Execute() (*V2StoreItemsListResponse, *http.Res KVItemsList List items in a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVItemsListRequest */ @@ -900,8 +900,8 @@ KVItemsShow Get an item from a kv store Retrieves an item from the KV store. **Security Note:** If the item was stored as a secret (secret=true), the value will be redacted and returned as '[ENCRYPTED]' for security. Secrets should be accessed directly via the Quant Cloud platform KVStore abstraction. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsShowRequest @@ -1040,8 +1040,8 @@ func (r KVAPIKVItemsUpdateRequest) Execute() (*KVItemsCreate200Response, *http.R KVItemsUpdate Update an item in a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @param key @return KVAPIKVItemsUpdateRequest @@ -1188,8 +1188,8 @@ func (r KVAPIKVListRequest) Execute() ([]V2Store, *http.Response, error) { KVList List key-value stores @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return KVAPIKVListRequest */ func (a *KVAPIService) KVList(ctx context.Context, organization string, project string) KVAPIKVListRequest { @@ -1315,8 +1315,8 @@ func (r KVAPIKVShowRequest) Execute() (*V2Store, *http.Response, error) { KVShow Get a kv store @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @param storeId @return KVAPIKVShowRequest */ diff --git a/api_organizations.go b/api_organizations.go index 7ebb88d..cb296a5 100644 --- a/api_organizations.go +++ b/api_organizations.go @@ -38,7 +38,7 @@ type OrganizationsAPI interface { OrganizationsRead Get details of a single organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return OrganizationsAPIOrganizationsReadRequest */ OrganizationsRead(ctx context.Context, organization string) OrganizationsAPIOrganizationsReadRequest @@ -183,7 +183,7 @@ func (r OrganizationsAPIOrganizationsReadRequest) Execute() (*V2Organization, *h OrganizationsRead Get details of a single organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return OrganizationsAPIOrganizationsReadRequest */ func (a *OrganizationsAPIService) OrganizationsRead(ctx context.Context, organization string) OrganizationsAPIOrganizationsReadRequest { @@ -255,6 +255,17 @@ func (a *OrganizationsAPIService) OrganizationsReadExecute(r OrganizationsAPIOrg body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 404 { + var v V2Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 400 { var v V2Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/api_projects.go b/api_projects.go index 0cecd32..af19f52 100644 --- a/api_projects.go +++ b/api_projects.go @@ -26,7 +26,7 @@ type ProjectsAPI interface { ProjectsCreate Create a new project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return ProjectsAPIProjectsCreateRequest */ ProjectsCreate(ctx context.Context, organization string) ProjectsAPIProjectsCreateRequest @@ -39,8 +39,8 @@ type ProjectsAPI interface { ProjectsDelete Delete a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsDeleteRequest */ ProjectsDelete(ctx context.Context, organization string, project string) ProjectsAPIProjectsDeleteRequest @@ -52,7 +52,7 @@ type ProjectsAPI interface { ProjectsList Retrieve all projects for an organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return ProjectsAPIProjectsListRequest */ ProjectsList(ctx context.Context, organization string) ProjectsAPIProjectsListRequest @@ -65,8 +65,8 @@ type ProjectsAPI interface { ProjectsRead Get details of a single project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsReadRequest */ ProjectsRead(ctx context.Context, organization string, project string) ProjectsAPIProjectsReadRequest @@ -79,8 +79,8 @@ type ProjectsAPI interface { ProjectsUpdate Update a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsUpdateRequest */ ProjectsUpdate(ctx context.Context, organization string, project string) ProjectsAPIProjectsUpdateRequest @@ -113,7 +113,7 @@ func (r ProjectsAPIProjectsCreateRequest) Execute() (*V2Project, *http.Response, ProjectsCreate Create a new project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return ProjectsAPIProjectsCreateRequest */ func (a *ProjectsAPIService) ProjectsCreate(ctx context.Context, organization string) ProjectsAPIProjectsCreateRequest { @@ -241,8 +241,8 @@ func (r ProjectsAPIProjectsDeleteRequest) Execute() (*http.Response, error) { ProjectsDelete Delete a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsDeleteRequest */ func (a *ProjectsAPIService) ProjectsDelete(ctx context.Context, organization string, project string) ProjectsAPIProjectsDeleteRequest { @@ -355,7 +355,7 @@ func (r ProjectsAPIProjectsListRequest) Execute() ([]V2Project, *http.Response, ProjectsList Retrieve all projects for an organization @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization + @param organization Organization identifier @return ProjectsAPIProjectsListRequest */ func (a *ProjectsAPIService) ProjectsList(ctx context.Context, organization string) ProjectsAPIProjectsListRequest { @@ -484,8 +484,8 @@ func (r ProjectsAPIProjectsReadRequest) Execute() (*V2Project, *http.Response, e ProjectsRead Get details of a single project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsReadRequest */ func (a *ProjectsAPIService) ProjectsRead(ctx context.Context, organization string, project string) ProjectsAPIProjectsReadRequest { @@ -620,8 +620,8 @@ func (r ProjectsAPIProjectsUpdateRequest) Execute() (*V2Project, *http.Response, ProjectsUpdate Update a project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return ProjectsAPIProjectsUpdateRequest */ func (a *ProjectsAPIService) ProjectsUpdate(ctx context.Context, organization string, project string) ProjectsAPIProjectsUpdateRequest { diff --git a/api_purge.go b/api_purge.go index a969244..838197c 100644 --- a/api_purge.go +++ b/api_purge.go @@ -26,8 +26,8 @@ type PurgeAPI interface { PurgeCreate Purge cache via URL or cache keys @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return PurgeAPIPurgeCreateRequest */ PurgeCreate(ctx context.Context, organization string, project string) PurgeAPIPurgeCreateRequest @@ -61,8 +61,8 @@ func (r PurgeAPIPurgeCreateRequest) Execute() (string, *http.Response, error) { PurgeCreate Purge cache via URL or cache keys @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organization - @param project + @param organization Organization identifier + @param project Project identifier @return PurgeAPIPurgeCreateRequest */ func (a *PurgeAPIService) PurgeCreate(ctx context.Context, organization string, project string) PurgeAPIPurgeCreateRequest { diff --git a/api_ssh_access.go b/api_ssh_access.go index 4b781e7..ce41e15 100644 --- a/api_ssh_access.go +++ b/api_ssh_access.go @@ -26,9 +26,9 @@ type SSHAccessAPI interface { GetSshAccessCredentials Get SSH access credentials for an environment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organisation The organisation machine name - @param application The application name - @param environment The environment name + @param organisation The organisation ID + @param application The application ID + @param environment The environment ID @return SSHAccessAPIGetSshAccessCredentialsRequest */ GetSshAccessCredentials(ctx context.Context, organisation string, application string, environment string) SSHAccessAPIGetSshAccessCredentialsRequest @@ -57,9 +57,9 @@ func (r SSHAccessAPIGetSshAccessCredentialsRequest) Execute() (*GetSshAccessCred GetSshAccessCredentials Get SSH access credentials for an environment @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param organisation The organisation machine name - @param application The application name - @param environment The environment name + @param organisation The organisation ID + @param application The application ID + @param environment The environment ID @return SSHAccessAPIGetSshAccessCredentialsRequest */ func (a *SSHAccessAPIService) GetSshAccessCredentials(ctx context.Context, organisation string, application string, environment string) SSHAccessAPIGetSshAccessCredentialsRequest { diff --git a/docs/BackupManagementAPI.md b/docs/BackupManagementAPI.md index 2d48af2..de5adc2 100644 --- a/docs/BackupManagementAPI.md +++ b/docs/BackupManagementAPI.md @@ -30,9 +30,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The backup type createBackupRequest := *openapiclient.NewCreateBackupRequest() // CreateBackupRequest | (optional) @@ -109,9 +109,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The backup type backupId := "backupId_example" // string | The backup ID @@ -189,9 +189,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The backup type backupId := "backupId_example" // string | The backup ID @@ -272,9 +272,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The backup type order := "order_example" // string | Sort order for backups by creation date (asc = oldest first, desc = newest first) (optional) (default to "desc") limit := int32(56) // int32 | Maximum number of backups to return (max 100) (optional) (default to 50) diff --git a/docs/CommandsAPI.md b/docs/CommandsAPI.md index 36c39cf..6ddb5f0 100644 --- a/docs/CommandsAPI.md +++ b/docs/CommandsAPI.md @@ -29,8 +29,8 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + environment := "test-env" // string | The environment ID createCommandRequest := *openapiclient.NewCreateCommandRequest() // CreateCommandRequest | configuration := openapiclient.NewConfiguration() @@ -102,9 +102,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - environment := "environment_example" // string | The environment ID - command := "command_example" // string | The command ID + organisation := "test-org" // string | The organisation ID + environment := "test-env" // string | The environment ID + command := "test-cmd" // string | The command ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -176,8 +176,8 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/ComposeAPI.md b/docs/ComposeAPI.md index b66b387..fa734c3 100644 --- a/docs/ComposeAPI.md +++ b/docs/ComposeAPI.md @@ -29,9 +29,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -105,9 +105,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID patchEnvironmentComposeRequest := *openapiclient.NewPatchEnvironmentComposeRequest() // PatchEnvironmentComposeRequest | Partial compose definition updates. All fields are optional. configuration := openapiclient.NewConfiguration() @@ -183,7 +183,7 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID + organisation := "test-org" // string | The organisation ID validateComposeRequest := *openapiclient.NewValidateComposeRequest("Compose_example") // 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. imageSuffix := "pr-456" // string | 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) diff --git a/docs/ContainersAPI.md b/docs/ContainersAPI.md index f47b227..fe42b82 100644 --- a/docs/ContainersAPI.md +++ b/docs/ContainersAPI.md @@ -28,9 +28,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -100,10 +100,10 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID - container := "container_example" // string | The container ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID + container := "test-container" // string | The container ID container2 := *openapiclient.NewContainer("Name_example", *openapiclient.NewContainerImageReference("Type_example", "Identifier_example")) // Container | configuration := openapiclient.NewConfiguration() diff --git a/docs/CrawlerSchedulesAPI.md b/docs/CrawlerSchedulesAPI.md index 0bc4161..b02fde3 100644 --- a/docs/CrawlerSchedulesAPI.md +++ b/docs/CrawlerSchedulesAPI.md @@ -261,9 +261,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - crawler := "crawler_example" // string | + organization := "test-org" // string | + project := "test-project" // string | + crawler := "00000000-0000-0000-0000-000000000000" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/CrawlersAPI.md b/docs/CrawlersAPI.md index eb15bcd..ca1418c 100644 --- a/docs/CrawlersAPI.md +++ b/docs/CrawlersAPI.md @@ -34,8 +34,8 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2CrawlerRequest := *openapiclient.NewV2CrawlerRequest("test-domain.com") // V2CrawlerRequest | configuration := openapiclient.NewConfiguration() @@ -107,9 +107,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | The UUID of the crawler configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -129,7 +129,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**crawler** | **string** | | +**crawler** | **string** | The UUID of the crawler | ### Other Parameters @@ -179,10 +179,10 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | Crawler identifier - runId := int32(56) // int32 | Run identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | Crawler identifier + runId := int32(1) // int32 | Run identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -256,9 +256,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | Crawler identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | Crawler identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -313,7 +313,7 @@ Name | Type | Description | Notes ## CrawlersList -> []V2Crawler CrawlersList(ctx, organization, project).Execute() +> CrawlersList(ctx, organization, project).Execute() List crawlers for the project @@ -330,18 +330,16 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.CrawlersAPI.CrawlersList(context.Background(), organization, project).Execute() + r, err := apiClient.CrawlersAPI.CrawlersList(context.Background(), organization, project).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `CrawlersAPI.CrawlersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `CrawlersList`: []V2Crawler - fmt.Fprintf(os.Stdout, "Response from `CrawlersAPI.CrawlersList`: %v\n", resp) } ``` @@ -366,7 +364,7 @@ Name | Type | Description | Notes ### Return type -[**[]V2Crawler**](V2Crawler.md) + (empty response body) ### Authorization @@ -401,9 +399,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | The UUID of the crawler configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -425,7 +423,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**crawler** | **string** | | +**crawler** | **string** | The UUID of the crawler | ### Other Parameters @@ -475,9 +473,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | Crawler identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | Crawler identifier crawlersRunRequest := *openapiclient.NewCrawlersRunRequest() // CrawlersRunRequest | configuration := openapiclient.NewConfiguration() @@ -551,9 +549,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - crawler := "crawler_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + crawler := "00000000-0000-0000-0000-000000000000" // string | The UUID of the crawler v2CrawlerRequest := *openapiclient.NewV2CrawlerRequest("test-domain.com") // V2CrawlerRequest | configuration := openapiclient.NewConfiguration() @@ -576,7 +574,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**crawler** | **string** | | +**crawler** | **string** | The UUID of the crawler | ### Other Parameters diff --git a/docs/CronAPI.md b/docs/CronAPI.md index 11a7518..6edcee5 100644 --- a/docs/CronAPI.md +++ b/docs/CronAPI.md @@ -33,9 +33,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID createCronJobRequest := *openapiclient.NewCreateCronJobRequest("Name_example", "ScheduleExpression_example", []string{"Command_example"}) // CreateCronJobRequest | configuration := openapiclient.NewConfiguration() @@ -109,9 +109,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID cron := "cron_example" // string | The cron job ID configuration := openapiclient.NewConfiguration() @@ -184,9 +184,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID cron := "cron_example" // string | The cron job ID configuration := openapiclient.NewConfiguration() @@ -261,10 +261,10 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID - cron := "cron_example" // string | The cron job ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID + cron := "test-cron" // string | The cron job ID run := "run_example" // string | The cron run ID configuration := openapiclient.NewConfiguration() @@ -341,10 +341,10 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID - cron := "cron_example" // string | The cron job ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID + cron := "test-cron" // string | The cron job ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -418,9 +418,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -492,9 +492,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID cron := "cron_example" // string | The cron job ID updateCronJobRequest := *openapiclient.NewUpdateCronJobRequest() // UpdateCronJobRequest | diff --git a/docs/DomainsAPI.md b/docs/DomainsAPI.md index 130b42a..700549b 100644 --- a/docs/DomainsAPI.md +++ b/docs/DomainsAPI.md @@ -31,8 +31,8 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2DomainRequest := *openapiclient.NewV2DomainRequest("test-domain.com") // V2DomainRequest | configuration := openapiclient.NewConfiguration() @@ -104,9 +104,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - domain := "domain_example" // string | Domain identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + domain := "0000" // string | Domain id configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -126,7 +126,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**domain** | **string** | Domain identifier | +**domain** | **string** | Domain id | ### Other Parameters @@ -176,8 +176,8 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -247,9 +247,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - domain := "domain_example" // string | Domain identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + domain := "0000" // string | Domain id configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -271,7 +271,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**domain** | **string** | Domain identifier | +**domain** | **string** | Domain id | ### Other Parameters @@ -321,9 +321,9 @@ import ( ) func main() { - organization := "organization_example" // string | Organization identifier - project := "project_example" // string | Project identifier - domain := "domain_example" // string | Domain identifier + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + domain := "0000" // string | Domain id configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -343,7 +343,7 @@ Name | Type | Description | Notes **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **organization** | **string** | Organization identifier | **project** | **string** | Project identifier | -**domain** | **string** | Domain identifier | +**domain** | **string** | Domain id | ### Other Parameters diff --git a/docs/EnvironmentsAPI.md b/docs/EnvironmentsAPI.md index 047dc35..f90d553 100644 --- a/docs/EnvironmentsAPI.md +++ b/docs/EnvironmentsAPI.md @@ -36,8 +36,8 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID createEnvironmentRequest := *openapiclient.NewCreateEnvironmentRequest("EnvName_example") // CreateEnvironmentRequest | configuration := openapiclient.NewConfiguration() @@ -109,9 +109,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -181,9 +181,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -257,9 +257,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID startTime := "startTime_example" // string | Start time for log retrieval (ISO 8601 format or Unix timestamp) (optional) endTime := "endTime_example" // string | End time for log retrieval (ISO 8601 format or Unix timestamp) (optional) containerName := "containerName_example" // string | Filter logs by specific container name (optional) @@ -345,9 +345,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID startTime := int32(56) // int32 | Start time for metrics retrieval (Unix timestamp in milliseconds) (optional) endTime := int32(56) // int32 | End time for metrics retrieval (Unix timestamp in milliseconds) (optional) period := int32(56) // int32 | Period in seconds for metric aggregation (e.g., 60 for 1 minute, 300 for 5 minutes) (optional) @@ -429,8 +429,8 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -500,9 +500,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The sync type configuration := openapiclient.NewConfiguration() @@ -577,9 +577,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID type_ := "type__example" // string | The sync type syncToEnvironmentRequest := *openapiclient.NewSyncToEnvironmentRequest() // SyncToEnvironmentRequest | @@ -732,9 +732,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID updateEnvironmentStateRequest := *openapiclient.NewUpdateEnvironmentStateRequest() // UpdateEnvironmentStateRequest | configuration := openapiclient.NewConfiguration() diff --git a/docs/HeadersAPI.md b/docs/HeadersAPI.md index 83f21fd..d5b3e31 100644 --- a/docs/HeadersAPI.md +++ b/docs/HeadersAPI.md @@ -29,8 +29,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2CustomHeaderRequest := *openapiclient.NewV2CustomHeaderRequest(map[string]string{"key": "Inner_example"}) // V2CustomHeaderRequest | configuration := openapiclient.NewConfiguration() @@ -51,8 +51,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -102,8 +102,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2CustomHeaderRequest := *openapiclient.NewV2CustomHeaderRequest(map[string]string{"key": "Inner_example"}) // V2CustomHeaderRequest | configuration := openapiclient.NewConfiguration() @@ -122,8 +122,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -173,8 +173,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -194,8 +194,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters diff --git a/docs/KVAPI.md b/docs/KVAPI.md index d5f96d2..a33939e 100644 --- a/docs/KVAPI.md +++ b/docs/KVAPI.md @@ -35,8 +35,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2StoreRequest := *openapiclient.NewV2StoreRequest("session-data") // V2StoreRequest | configuration := openapiclient.NewConfiguration() @@ -57,8 +57,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -108,9 +108,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -128,8 +128,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | ### Other Parameters @@ -180,9 +180,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | v2StoreItemRequest := *openapiclient.NewV2StoreItemRequest("user-session-123", "Value_example") // V2StoreItemRequest | configuration := openapiclient.NewConfiguration() @@ -203,8 +203,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | ### Other Parameters @@ -256,9 +256,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | key := "key_example" // string | configuration := openapiclient.NewConfiguration() @@ -279,8 +279,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | **key** | **string** | | @@ -333,9 +333,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | cursor := "cursor_example" // string | Cursor for pagination (optional) limit := int32(56) // int32 | Number of items to return (optional) (default to 10) search := "search_example" // string | Search filter for keys (optional) @@ -359,8 +359,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | ### Other Parameters @@ -417,9 +417,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | key := "key_example" // string | configuration := openapiclient.NewConfiguration() @@ -440,8 +440,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | **key** | **string** | | @@ -494,9 +494,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | key := "key_example" // string | v2StoreItemUpdateRequest := *openapiclient.NewV2StoreItemUpdateRequest("Value_example") // V2StoreItemUpdateRequest | @@ -518,8 +518,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | **key** | **string** | | @@ -573,8 +573,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -594,8 +594,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -644,9 +644,9 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | - storeId := "storeId_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier + storeId := "0000" // string | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -666,8 +666,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | **storeId** | **string** | | ### Other Parameters diff --git a/docs/OrganizationsAPI.md b/docs/OrganizationsAPI.md index aea5733..6e8b740 100644 --- a/docs/OrganizationsAPI.md +++ b/docs/OrganizationsAPI.md @@ -87,7 +87,7 @@ import ( ) func main() { - organization := "organization_example" // string | + organization := "test-org" // string | Organization identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -107,7 +107,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | +**organization** | **string** | Organization identifier | ### Other Parameters diff --git a/docs/ProjectsAPI.md b/docs/ProjectsAPI.md index 5a72b56..b444b89 100644 --- a/docs/ProjectsAPI.md +++ b/docs/ProjectsAPI.md @@ -31,7 +31,7 @@ import ( ) func main() { - organization := "organization_example" // string | + organization := "test-org" // string | Organization identifier v2ProjectRequest := *openapiclient.NewV2ProjectRequest() // V2ProjectRequest | configuration := openapiclient.NewConfiguration() @@ -52,7 +52,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | +**organization** | **string** | Organization identifier | ### Other Parameters @@ -101,8 +101,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -120,8 +120,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -170,7 +170,7 @@ import ( ) func main() { - organization := "organization_example" // string | + organization := "test-org" // string | Organization identifier configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -190,7 +190,7 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | +**organization** | **string** | Organization identifier | ### Other Parameters @@ -238,8 +238,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier withToken := true // bool | (default to false) configuration := openapiclient.NewConfiguration() @@ -260,8 +260,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters @@ -311,8 +311,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier v2ProjectRequest := *openapiclient.NewV2ProjectRequest() // V2ProjectRequest | configuration := openapiclient.NewConfiguration() @@ -333,8 +333,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters diff --git a/docs/PurgeAPI.md b/docs/PurgeAPI.md index 523685c..f1bec1f 100644 --- a/docs/PurgeAPI.md +++ b/docs/PurgeAPI.md @@ -27,8 +27,8 @@ import ( ) func main() { - organization := "organization_example" // string | - project := "project_example" // string | + organization := "test-org" // string | Organization identifier + project := "test-project" // string | Project identifier purgeCreateRequest := *openapiclient.NewPurgeCreateRequest([]string{"CacheKeys_example"}, "Scope_example") // PurgeCreateRequest | configuration := openapiclient.NewConfiguration() @@ -49,8 +49,8 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organization** | **string** | | -**project** | **string** | | +**organization** | **string** | Organization identifier | +**project** | **string** | Project identifier | ### Other Parameters diff --git a/docs/SSHAccessAPI.md b/docs/SSHAccessAPI.md index 4ac65cf..68c2b9c 100644 --- a/docs/SSHAccessAPI.md +++ b/docs/SSHAccessAPI.md @@ -27,9 +27,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation machine name - application := "application_example" // string | The application name - environment := "environment_example" // string | The environment name + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -49,9 +49,9 @@ func main() { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. -**organisation** | **string** | The organisation machine name | -**application** | **string** | The application name | -**environment** | **string** | The environment name | +**organisation** | **string** | The organisation ID | +**application** | **string** | The application ID | +**environment** | **string** | The environment ID | ### Other Parameters diff --git a/docs/ScalingPolicyAPI.md b/docs/ScalingPolicyAPI.md index ef3a602..fa0bc78 100644 --- a/docs/ScalingPolicyAPI.md +++ b/docs/ScalingPolicyAPI.md @@ -29,9 +29,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID policyName := "policyName_example" // string | The policy name configuration := openapiclient.NewConfiguration() @@ -104,9 +104,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -176,9 +176,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID scalingPolicy := *openapiclient.NewScalingPolicy() // ScalingPolicy | configuration := openapiclient.NewConfiguration() diff --git a/docs/VariablesAPI.md b/docs/VariablesAPI.md index b130f0d..c351d3a 100644 --- a/docs/VariablesAPI.md +++ b/docs/VariablesAPI.md @@ -30,9 +30,9 @@ import ( ) func main() { - apiOrganisation := "apiOrganisation_example" // string | The organisation ID - apiApplication := "apiApplication_example" // string | The application ID - apiEnvironment := "apiEnvironment_example" // string | The environment ID + apiOrganisation := "test-org" // string | The organisation ID + apiApplication := "test-app" // string | The application ID + apiEnvironment := "test-env" // string | The environment ID bulkSetEnvironmentVariablesRequest := *openapiclient.NewBulkSetEnvironmentVariablesRequest([]openapiclient.BulkSetEnvironmentVariablesRequestEnvironmentInner{*openapiclient.NewBulkSetEnvironmentVariablesRequestEnvironmentInner("Name_example", "Value_example")}) // BulkSetEnvironmentVariablesRequest | configuration := openapiclient.NewConfiguration() @@ -179,9 +179,9 @@ import ( ) func main() { - apiOrganisation := "apiOrganisation_example" // string | The organisation ID - apiApplication := "apiApplication_example" // string | The application ID - apiEnvironment := "apiEnvironment_example" // string | The environment ID + apiOrganisation := "test-org" // string | The organisation ID + apiApplication := "test-app" // string | The application ID + apiEnvironment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) @@ -251,9 +251,9 @@ import ( ) func main() { - apiOrganisation := "apiOrganisation_example" // string | The organisation ID - apiApplication := "apiApplication_example" // string | The application ID - apiEnvironment := "apiEnvironment_example" // string | The environment ID + apiOrganisation := "test-org" // string | The organisation ID + apiApplication := "test-app" // string | The application ID + apiEnvironment := "test-env" // string | The environment ID apiVariable := "apiVariable_example" // string | The variable key updateEnvironmentVariableRequest := *openapiclient.NewUpdateEnvironmentVariableRequest() // UpdateEnvironmentVariableRequest | diff --git a/docs/VolumesAPI.md b/docs/VolumesAPI.md index 2ea147b..32e4388 100644 --- a/docs/VolumesAPI.md +++ b/docs/VolumesAPI.md @@ -30,9 +30,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID createVolumeRequest := *openapiclient.NewCreateVolumeRequest("VolumeName_example") // CreateVolumeRequest | configuration := openapiclient.NewConfiguration() @@ -106,9 +106,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID volume := "volume_example" // string | The volume ID configuration := openapiclient.NewConfiguration() @@ -181,9 +181,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID volume := "volume_example" // string | The volume ID configuration := openapiclient.NewConfiguration() @@ -258,9 +258,9 @@ import ( ) func main() { - organisation := "organisation_example" // string | The organisation ID - application := "application_example" // string | The application ID - environment := "environment_example" // string | The environment ID + organisation := "test-org" // string | The organisation ID + application := "test-app" // string | The application ID + environment := "test-env" // string | The environment ID configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/go.mod b/go.mod index db7ce71..b0859ff 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/quantcdn/quant-admin-go/v4 +module github.com/quantcdn/quant-admin-go go 1.21 diff --git a/test/api_ai_agents_test.go b/test/api_ai_agents_test.go index 850a184..6e33c22 100644 --- a/test/api_ai_agents_test.go +++ b/test/api_ai_agents_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIAgentsAPIService(t *testing.T) { diff --git a/test/api_ai_custom_tools_test.go b/test/api_ai_custom_tools_test.go index 12f273b..b77f021 100644 --- a/test/api_ai_custom_tools_test.go +++ b/test/api_ai_custom_tools_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AICustomToolsAPIService(t *testing.T) { diff --git a/test/api_ai_inference_test.go b/test/api_ai_inference_test.go index a95321e..e8f0941 100644 --- a/test/api_ai_inference_test.go +++ b/test/api_ai_inference_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIInferenceAPIService(t *testing.T) { diff --git a/test/api_ai_models_test.go b/test/api_ai_models_test.go index 8d5115f..c754624 100644 --- a/test/api_ai_models_test.go +++ b/test/api_ai_models_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIModelsAPIService(t *testing.T) { diff --git a/test/api_ai_monitoring_test.go b/test/api_ai_monitoring_test.go index 07fb457..41ea20b 100644 --- a/test/api_ai_monitoring_test.go +++ b/test/api_ai_monitoring_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIMonitoringAPIService(t *testing.T) { diff --git a/test/api_ai_sessions_test.go b/test/api_ai_sessions_test.go index 93d7f65..0a145da 100644 --- a/test/api_ai_sessions_test.go +++ b/test/api_ai_sessions_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AISessionsAPIService(t *testing.T) { diff --git a/test/api_ai_tools_test.go b/test/api_ai_tools_test.go index 4efd7f9..da55267 100644 --- a/test/api_ai_tools_test.go +++ b/test/api_ai_tools_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIToolsAPIService(t *testing.T) { diff --git a/test/api_ai_vector_database_test.go b/test/api_ai_vector_database_test.go index cb04d99..ffe21b2 100644 --- a/test/api_ai_vector_database_test.go +++ b/test/api_ai_vector_database_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_AIVectorDatabaseAPIService(t *testing.T) { diff --git a/test/api_applications_test.go b/test/api_applications_test.go index 3ea5932..3a1a31b 100644 --- a/test/api_applications_test.go +++ b/test/api_applications_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_ApplicationsAPIService(t *testing.T) { diff --git a/test/api_backup_management_test.go b/test/api_backup_management_test.go index 1111d95..5782923 100644 --- a/test/api_backup_management_test.go +++ b/test/api_backup_management_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_BackupManagementAPIService(t *testing.T) { diff --git a/test/api_commands_test.go b/test/api_commands_test.go index 680a735..793e2fc 100644 --- a/test/api_commands_test.go +++ b/test/api_commands_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_CommandsAPIService(t *testing.T) { diff --git a/test/api_compose_test.go b/test/api_compose_test.go index 4a946a7..b3e956e 100644 --- a/test/api_compose_test.go +++ b/test/api_compose_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_ComposeAPIService(t *testing.T) { diff --git a/test/api_containers_test.go b/test/api_containers_test.go index 046a92c..9cab541 100644 --- a/test/api_containers_test.go +++ b/test/api_containers_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_ContainersAPIService(t *testing.T) { diff --git a/test/api_crawler_schedules_test.go b/test/api_crawler_schedules_test.go index c137fa4..ef57b09 100644 --- a/test/api_crawler_schedules_test.go +++ b/test/api_crawler_schedules_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_CrawlerSchedulesAPIService(t *testing.T) { diff --git a/test/api_crawlers_test.go b/test/api_crawlers_test.go index 13390f2..28669ac 100644 --- a/test/api_crawlers_test.go +++ b/test/api_crawlers_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_CrawlersAPIService(t *testing.T) { @@ -92,10 +92,9 @@ func Test_quantadmingo_CrawlersAPIService(t *testing.T) { var organization string var project string - resp, httpRes, err := apiClient.CrawlersAPI.CrawlersList(context.Background(), organization, project).Execute() + httpRes, err := apiClient.CrawlersAPI.CrawlersList(context.Background(), organization, project).Execute() require.Nil(t, err) - require.NotNil(t, resp) assert.Equal(t, 200, httpRes.StatusCode) }) diff --git a/test/api_cron_test.go b/test/api_cron_test.go index 2b2b737..df07ad3 100644 --- a/test/api_cron_test.go +++ b/test/api_cron_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_CronAPIService(t *testing.T) { diff --git a/test/api_domains_test.go b/test/api_domains_test.go index 2447671..2dd584c 100644 --- a/test/api_domains_test.go +++ b/test/api_domains_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_DomainsAPIService(t *testing.T) { diff --git a/test/api_environments_test.go b/test/api_environments_test.go index c6d627e..86e1f7b 100644 --- a/test/api_environments_test.go +++ b/test/api_environments_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_EnvironmentsAPIService(t *testing.T) { diff --git a/test/api_headers_test.go b/test/api_headers_test.go index 294578d..c6ac1c9 100644 --- a/test/api_headers_test.go +++ b/test/api_headers_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_HeadersAPIService(t *testing.T) { diff --git a/test/api_kv_test.go b/test/api_kv_test.go index 58fef8c..763473d 100644 --- a/test/api_kv_test.go +++ b/test/api_kv_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_KVAPIService(t *testing.T) { diff --git a/test/api_organizations_test.go b/test/api_organizations_test.go index bd127ea..937ff90 100644 --- a/test/api_organizations_test.go +++ b/test/api_organizations_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_OrganizationsAPIService(t *testing.T) { diff --git a/test/api_projects_test.go b/test/api_projects_test.go index 37b1a31..98cffca 100644 --- a/test/api_projects_test.go +++ b/test/api_projects_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_ProjectsAPIService(t *testing.T) { diff --git a/test/api_purge_test.go b/test/api_purge_test.go index b27d7ee..3478297 100644 --- a/test/api_purge_test.go +++ b/test/api_purge_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_PurgeAPIService(t *testing.T) { diff --git a/test/api_rules_test.go b/test/api_rules_test.go index 6d23a06..9f799a6 100644 --- a/test/api_rules_test.go +++ b/test/api_rules_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_RulesAPIService(t *testing.T) { diff --git a/test/api_scaling_policy_test.go b/test/api_scaling_policy_test.go index 46a38ca..01fc475 100644 --- a/test/api_scaling_policy_test.go +++ b/test/api_scaling_policy_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_ScalingPolicyAPIService(t *testing.T) { diff --git a/test/api_ssh_access_test.go b/test/api_ssh_access_test.go index cf65ba6..d2c916a 100644 --- a/test/api_ssh_access_test.go +++ b/test/api_ssh_access_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_SSHAccessAPIService(t *testing.T) { diff --git a/test/api_variables_test.go b/test/api_variables_test.go index ae5d92a..a126ffb 100644 --- a/test/api_variables_test.go +++ b/test/api_variables_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_VariablesAPIService(t *testing.T) { diff --git a/test/api_volumes_test.go b/test/api_volumes_test.go index 2b05f57..db6a463 100644 --- a/test/api_volumes_test.go +++ b/test/api_volumes_test.go @@ -14,7 +14,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "testing" - openapiclient "github.com/quantcdn/quant-admin-go/v4" + openapiclient "github.com/quantcdn/quant-admin-go" ) func Test_quantadmingo_VolumesAPIService(t *testing.T) {