Skip to content

Commit 6bf75c2

Browse files
committed
feat(v30): remove old synoym api
1 parent c3e7141 commit 6bf75c2

File tree

1 file changed

+0
-129
lines changed

1 file changed

+0
-129
lines changed

openapi.yml

Lines changed: 0 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -583,135 +583,6 @@ paths:
583583
application/json:
584584
schema:
585585
$ref: "#/components/schemas/ApiResponse"
586-
/collections/{collectionName}/synonyms:
587-
get:
588-
tags:
589-
- synonyms
590-
summary: List all collection synonyms
591-
operationId: getSearchSynonyms
592-
parameters:
593-
- name: collectionName
594-
in: path
595-
description: The name of the collection
596-
required: true
597-
schema:
598-
type: string
599-
responses:
600-
'200':
601-
description: List of all search synonyms
602-
content:
603-
application/json:
604-
schema:
605-
$ref: "#/components/schemas/SearchSynonymsResponse"
606-
'404':
607-
description: Search synonyms was not found
608-
content:
609-
application/json:
610-
schema:
611-
$ref: "#/components/schemas/ApiResponse"
612-
/collections/{collectionName}/synonyms/{synonymId}:
613-
get:
614-
tags:
615-
- synonyms
616-
summary: Retrieve a single search synonym
617-
description: Retrieve the details of a search synonym, given its id.
618-
operationId: getSearchSynonym
619-
parameters:
620-
- name: collectionName
621-
in: path
622-
description: The name of the collection
623-
required: true
624-
schema:
625-
type: string
626-
- name: synonymId
627-
in: path
628-
description: The id of the search synonym
629-
required: true
630-
schema:
631-
type: string
632-
responses:
633-
'200':
634-
description: Search synonym fetched
635-
content:
636-
application/json:
637-
schema:
638-
$ref: "#/components/schemas/SearchSynonym"
639-
'404':
640-
description: Search synonym was not found
641-
content:
642-
application/json:
643-
schema:
644-
$ref: "#/components/schemas/ApiResponse"
645-
put:
646-
tags:
647-
- synonyms
648-
summary: Create or update a synonym
649-
description: Create or update a synonym to define search terms that should be considered equivalent.
650-
operationId: upsertSearchSynonym
651-
parameters:
652-
- name: collectionName
653-
in: path
654-
description: The name of the collection
655-
required: true
656-
schema:
657-
type: string
658-
- name: synonymId
659-
in: path
660-
description: The ID of the search synonym to create/update
661-
required: true
662-
schema:
663-
type: string
664-
requestBody:
665-
description: The search synonym object to be created/updated
666-
content:
667-
application/json:
668-
schema:
669-
$ref: "#/components/schemas/SearchSynonymSchema"
670-
required: true
671-
responses:
672-
'200':
673-
description: Created/updated search synonym
674-
content:
675-
application/json:
676-
schema:
677-
$ref: "#/components/schemas/SearchSynonym"
678-
'404':
679-
description: Search synonym was not found
680-
content:
681-
application/json:
682-
schema:
683-
$ref: "#/components/schemas/ApiResponse"
684-
delete:
685-
tags:
686-
- synonyms
687-
summary: Delete a synonym associated with a collection
688-
operationId: deleteSearchSynonym
689-
parameters:
690-
- name: collectionName
691-
in: path
692-
description: The name of the collection
693-
required: true
694-
schema:
695-
type: string
696-
- name: synonymId
697-
in: path
698-
description: The ID of the search synonym to delete
699-
required: true
700-
schema:
701-
type: string
702-
responses:
703-
'200':
704-
description: The ID of the deleted search synonym
705-
content:
706-
application/json:
707-
schema:
708-
$ref: "#/components/schemas/SearchSynonymDeleteResponse"
709-
'404':
710-
description: Search synonym not found
711-
content:
712-
application/json:
713-
schema:
714-
$ref: "#/components/schemas/ApiResponse"
715586

716587
/synonym_sets:
717588
get:

0 commit comments

Comments
 (0)