1
#@ load("openapi.lib.yml", "response", "reference", "type", "array")
4
/collections/{collection_name}/points/{id}:
9
description: Retrieve full information of single point by id
10
operationId: get_point
12
- name: collection_name
14
description: Name of the collection to retrieve from
20
description: Id of the point
23
$ref: "#/components/schemas/ExtendedPointId"
26
description: Define read consistency guarantees for the operation
29
$ref: "#/components/schemas/ReadConsistency"
30
responses: #@ response(reference("Record"))
32
/collections/{collection_name}/points:
37
description: Retrieve multiple points by specified IDs
38
operationId: get_points
40
description: List of points to retrieve
44
$ref: "#/components/schemas/PointRequest"
47
- name: collection_name
49
description: Name of the collection to retrieve from
55
description: Define read consistency guarantees for the operation
58
$ref: "#/components/schemas/ReadConsistency"
59
responses: #@ response(array(reference("Record")))
64
summary: Upsert points
65
description: Perform insert + updates on points. If point with given ID already exists - it will be overwritten.
66
operationId: upsert_points
68
description: Operation to perform on points
72
$ref: "#/components/schemas/PointInsertOperations"
75
- name: collection_name
77
description: Name of the collection to update from
83
description: "If true, wait for changes to actually happen"
89
description: "define ordering guarantees for the operation"
92
$ref: "#/components/schemas/WriteOrdering"
93
responses: #@ response(reference("UpdateResult"))
95
/collections/{collection_name}/points/delete:
99
summary: Delete points
100
description: Delete points
101
operationId: delete_points
103
description: Operation to perform on points
107
$ref: "#/components/schemas/PointsSelector"
110
- name: collection_name
112
description: Name of the collection to delete from
118
description: "If true, wait for changes to actually happen"
124
description: "define ordering guarantees for the operation"
127
$ref: "#/components/schemas/WriteOrdering"
128
responses: #@ response(reference("UpdateResult"))
130
/collections/{collection_name}/points/vectors:
134
summary: Update vectors
135
description: Update specified named vectors on points, keep unspecified vectors intact.
136
operationId: update_vectors
138
description: Update named vectors on points
142
$ref: "#/components/schemas/UpdateVectors"
145
- name: collection_name
147
description: Name of the collection to update from
153
description: "If true, wait for changes to actually happen"
159
description: "define ordering guarantees for the operation"
162
$ref: "#/components/schemas/WriteOrdering"
163
responses: #@ response(reference("UpdateResult"))
165
/collections/{collection_name}/points/vectors/delete:
169
summary: Delete vectors
170
description: Delete named vectors from the given points.
171
operationId: delete_vectors
173
description: Delete named vectors from points
177
$ref: "#/components/schemas/DeleteVectors"
180
- name: collection_name
182
description: Name of the collection to delete from
188
description: "If true, wait for changes to actually happen"
194
description: "define ordering guarantees for the operation"
197
$ref: "#/components/schemas/WriteOrdering"
198
responses: #@ response(reference("UpdateResult"))
200
/collections/{collection_name}/points/payload:
205
description: Set payload values for points
206
operationId: set_payload
208
description: Set payload on points
212
$ref: "#/components/schemas/SetPayload"
215
- name: collection_name
217
description: Name of the collection to set from
223
description: "If true, wait for changes to actually happen"
229
description: "define ordering guarantees for the operation"
232
$ref: "#/components/schemas/WriteOrdering"
233
responses: #@ response(reference("UpdateResult"))
237
summary: Overwrite payload
238
description: Replace full payload of points with new one
239
operationId: overwrite_payload
241
description: Payload and points selector
245
$ref: "#/components/schemas/SetPayload"
248
- name: collection_name
250
description: Name of the collection to set from
256
description: "If true, wait for changes to actually happen"
262
description: "define ordering guarantees for the operation"
265
$ref: "#/components/schemas/WriteOrdering"
266
responses: #@ response(reference("UpdateResult"))
268
/collections/{collection_name}/points/payload/delete:
272
summary: Delete payload
273
description: Delete specified key payload for points
274
operationId: delete_payload
276
description: delete payload on points
280
$ref: "#/components/schemas/DeletePayload"
283
- name: collection_name
285
description: Name of the collection to delete from
291
description: "If true, wait for changes to actually happen"
297
description: "define ordering guarantees for the operation"
300
$ref: "#/components/schemas/WriteOrdering"
301
responses: #@ response(reference("UpdateResult"))
303
/collections/{collection_name}/points/payload/clear:
307
summary: Clear payload
308
description: Remove all payload for specified points
309
operationId: clear_payload
311
description: clear payload on points
315
$ref: "#/components/schemas/PointsSelector"
318
- name: collection_name
320
description: Name of the collection to clear payload from
326
description: "If true, wait for changes to actually happen"
332
description: "define ordering guarantees for the operation"
335
$ref: "#/components/schemas/WriteOrdering"
336
responses: #@ response(reference("UpdateResult"))
337
/collections/{collection_name}/points/batch:
341
summary: Batch update points
342
description: Apply a series of update operations for points, vectors and payloads
343
operationId: batch_update
345
description: update operations
349
$ref: "#/components/schemas/UpdateOperations"
351
- name: collection_name
353
description: Name of the collection to apply operations on
359
description: "If true, wait for changes to actually happen"
365
description: "define ordering guarantees for the operation"
368
$ref: "#/components/schemas/WriteOrdering"
369
responses: #@ response(array(reference("UpdateResult")))