Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 3 additions & 8 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ api_scaling_policy.go
api_ssh_access.go
api_tokens.go
api_variables.go
api_vector_database.go
api_volumes.go
client.go
configuration.go
Expand Down Expand Up @@ -340,10 +341,6 @@ docs/UpdateTask200Response.md
docs/UpdateTaskRequest.md
docs/UploadFile201Response.md
docs/UploadFileRequest.md
docs/UploadVectorDocuments200Response.md
docs/UploadVectorDocumentsRequest.md
docs/UploadVectorDocumentsRequestDocumentsInner.md
docs/UploadVectorDocumentsRequestDocumentsInnerMetadata.md
docs/UpsertAgentOverlay200Response.md
docs/UpsertAgentOverlayRequest.md
docs/V1ContentItem.md
Expand Down Expand Up @@ -454,6 +451,7 @@ docs/ValidateCompose422Response.md
docs/ValidateComposeRequest.md
docs/Variable.md
docs/VariablesAPI.md
docs/VectorDatabaseAPI.md
docs/Volume.md
docs/VolumesAPI.md
docs/WafConfig.md
Expand Down Expand Up @@ -725,10 +723,6 @@ model_update_task_200_response.go
model_update_task_request.go
model_upload_file_201_response.go
model_upload_file_request.go
model_upload_vector_documents_200_response.go
model_upload_vector_documents_request.go
model_upload_vector_documents_request_documents_inner.go
model_upload_vector_documents_request_documents_inner_metadata.go
model_upsert_agent_overlay_200_response.go
model_upsert_agent_overlay_request.go
model_v1_content_item.go
Expand Down Expand Up @@ -881,5 +875,6 @@ test/api_scaling_policy_test.go
test/api_ssh_access_test.go
test/api_tokens_test.go
test/api_variables_test.go
test/api_vector_database_test.go
test/api_volumes_test.go
utils.go
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services
## 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.

- API version: 4.14.0
- API version: 4.15.0
- Package version: 1.0.0
- Generator version: 7.13.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
Expand Down Expand Up @@ -164,7 +164,6 @@ Class | Method | HTTP request | Description
*AIVectorDatabaseAPI* | [**GetVectorCollection**](docs/AIVectorDatabaseAPI.md#getvectorcollection) | **Get** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId} | Get Collection Details
*AIVectorDatabaseAPI* | [**ListVectorCollections**](docs/AIVectorDatabaseAPI.md#listvectorcollections) | **Get** /api/v3/organizations/{organisation}/ai/vector-db/collections | List Vector Database Collections
*AIVectorDatabaseAPI* | [**QueryVectorCollection**](docs/AIVectorDatabaseAPI.md#queryvectorcollection) | **Post** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/query | Semantic Search Query
*AIVectorDatabaseAPI* | [**UploadVectorDocuments**](docs/AIVectorDatabaseAPI.md#uploadvectordocuments) | **Post** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | Upload Documents to Collection
*ApplicationsAPI* | [**CreateApplication**](docs/ApplicationsAPI.md#createapplication) | **Post** /api/v3/organizations/{organisation}/applications | Create a new application
*ApplicationsAPI* | [**DeleteApplication**](docs/ApplicationsAPI.md#deleteapplication) | **Delete** /api/v3/organizations/{organisation}/applications/{application} | Delete an application
*ApplicationsAPI* | [**GetApplication**](docs/ApplicationsAPI.md#getapplication) | **Get** /api/v3/organizations/{organisation}/applications/{application} | Get a single application
Expand Down Expand Up @@ -298,6 +297,7 @@ Class | Method | HTTP request | Description
*VariablesAPI* | [**DeleteEnvironmentVariable**](docs/VariablesAPI.md#deleteenvironmentvariable) | **Delete** /api/v3/organizations/{api_organisation}/applications/{api_application}/environments/{api_environment}/variables/{api_variable} | Delete a variable
*VariablesAPI* | [**ListEnvironmentVariables**](docs/VariablesAPI.md#listenvironmentvariables) | **Get** /api/v3/organizations/{api_organisation}/applications/{api_application}/environments/{api_environment}/variables | Get all variables for an environment
*VariablesAPI* | [**UpdateEnvironmentVariable**](docs/VariablesAPI.md#updateenvironmentvariable) | **Put** /api/v3/organizations/{api_organisation}/applications/{api_application}/environments/{api_environment}/variables/{api_variable} | Update a variable
*VectorDatabaseAPI* | [**ListVectorDocuments**](docs/VectorDatabaseAPI.md#listvectordocuments) | **Get** /api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/documents | List Documents in Collection
*VolumesAPI* | [**CreateVolume**](docs/VolumesAPI.md#createvolume) | **Post** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/volumes | Create a new volume
*VolumesAPI* | [**DeleteVolume**](docs/VolumesAPI.md#deletevolume) | **Delete** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/volumes/{volume} | Delete a volume
*VolumesAPI* | [**GetVolume**](docs/VolumesAPI.md#getvolume) | **Get** /api/v3/organizations/{organisation}/applications/{application}/environments/{environment}/volumes/{volume} | Get a volume
Expand Down Expand Up @@ -568,10 +568,6 @@ Class | Method | HTTP request | Description
- [UpdateTaskRequest](docs/UpdateTaskRequest.md)
- [UploadFile201Response](docs/UploadFile201Response.md)
- [UploadFileRequest](docs/UploadFileRequest.md)
- [UploadVectorDocuments200Response](docs/UploadVectorDocuments200Response.md)
- [UploadVectorDocumentsRequest](docs/UploadVectorDocumentsRequest.md)
- [UploadVectorDocumentsRequestDocumentsInner](docs/UploadVectorDocumentsRequestDocumentsInner.md)
- [UploadVectorDocumentsRequestDocumentsInnerMetadata](docs/UploadVectorDocumentsRequestDocumentsInnerMetadata.md)
- [UpsertAgentOverlay200Response](docs/UpsertAgentOverlay200Response.md)
- [UpsertAgentOverlayRequest](docs/UpsertAgentOverlayRequest.md)
- [V1ContentItem](docs/V1ContentItem.md)
Expand Down
130 changes: 44 additions & 86 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
description: Unified API for QuantCDN Admin and QuantCloud Platform services
title: QuantCDN API
version: 4.14.0
version: 4.15.0
servers:
- description: QuantCDN Public Cloud
url: https://dashboard.quantcdn.io
Expand Down Expand Up @@ -80,6 +80,8 @@ tags:
name: Volumes
- description: API token management
name: Tokens
- description: Vector Database
name: Vector Database
- description: AI Slack Bots
name: AI Slack Bots
- description: AI Governance
Expand Down Expand Up @@ -7532,60 +7534,63 @@ paths:
summary: Delete Documents from Collection
tags:
- AI Vector Database
post:
description: |-
Uploads documents to a vector database collection with automatic embedding generation. Documents are chunked (if needed), embedded using the collection's embedding model, and stored.
*
* **Supported Content:**
* - Plain text content
* - URLs to fetch content from
* - Markdown documents
*
* **Metadata:**
* Each document can include metadata (title, source_url, section, tags) that is returned with search results.
operationId: uploadVectorDocuments
get:
description: Lists documents in a collection with pagination. Supports filtering
by document key.
operationId: listVectorDocuments
parameters:
- description: The organisation ID
explode: false
- explode: false
in: path
name: organisation
required: true
schema:
type: string
style: simple
- description: The collection ID
explode: false
- explode: false
in: path
name: collectionId
required: true
schema:
format: uuid
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/uploadVectorDocuments_request'
required: true
- description: Filter by document key
explode: true
in: query
name: key
required: false
schema:
type: string
style: form
- explode: true
in: query
name: limit
required: false
schema:
default: 50
maximum: 100
type: integer
style: form
- explode: true
in: query
name: offset
required: false
schema:
default: 0
type: integer
style: form
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/uploadVectorDocuments_200_response'
description: Documents uploaded successfully
"400":
description: Invalid request parameters
description: Documents retrieved successfully
"403":
description: Access denied
"404":
description: Collection not found
"500":
description: Failed to upload documents
summary: Upload Documents to Collection
description: Failed to list documents
summary: List Documents in Collection
tags:
- AI Vector Database
- Vector Database
/api/v3/organizations/{organisation}/ai/vector-db/collections/{collectionId}/query:
post:
description: |-
Expand Down Expand Up @@ -20864,59 +20869,6 @@ components:
collection:
$ref: '#/components/schemas/getVectorCollection_200_response_collection'
type: object
uploadVectorDocuments_request_documents_inner_metadata:
properties:
title:
type: string
source_url:
type: string
section:
type: string
tags:
items:
type: string
type: array
type: object
uploadVectorDocuments_request_documents_inner:
properties:
content:
description: Document text content
type: string
metadata:
$ref: '#/components/schemas/uploadVectorDocuments_request_documents_inner_metadata'
required:
- content
type: object
uploadVectorDocuments_request:
properties:
documents:
items:
$ref: '#/components/schemas/uploadVectorDocuments_request_documents_inner'
type: array
required:
- documents
type: object
uploadVectorDocuments_200_response:
example:
chunksCreated: 0
success: true
message: message
documentIds:
- documentIds
- documentIds
properties:
success:
example: true
type: boolean
documentIds:
items:
type: string
type: array
chunksCreated:
type: integer
message:
type: string
type: object
deleteVectorDocuments_request_metadata:
properties:
field:
Expand All @@ -20939,6 +20891,12 @@ components:
format: uuid
type: string
type: array
keys:
description: Delete documents by key
items:
maxLength: 512
type: string
type: array
metadata:
$ref: '#/components/schemas/deleteVectorDocuments_request_metadata'
type: object
Expand Down
2 changes: 1 addition & 1 deletion api_ai_agents.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_custom_tools.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_file_storage.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_filter_policies.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_governance.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_inference.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_monitoring.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_orchestrations.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_sessions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_skills.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_slack_bots.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_task_management.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api_ai_tools.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading