File tree 5 files changed +23
-14
lines changed 5 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 47
47
additionalProperties : false
48
48
properties :
49
49
taskID :
50
- type : integer
50
+ $ref : ' ../../responses/common.yml#/taskID '
51
51
objectIDs :
52
- type : array
53
- items :
54
- type : string
52
+ $ref : ' ../../responses/common.yml#/objectIDs'
55
53
' 400 ' :
56
54
$ref : ' ../../responses/BadRequest.yml'
57
55
' 404 ' :
Original file line number Diff line number Diff line change @@ -69,14 +69,11 @@ post:
69
69
additionalProperties : false
70
70
properties :
71
71
objectID :
72
- type : string
73
- example : objectID1
72
+ $ref : ' ../../responses/common.yml#/objectID'
74
73
nbHits :
75
74
type : integer
76
75
queryID :
77
- type : string
78
- pattern : ' [a-f0-9]{32}'
79
- example : 43b15df305339e827f0ac0bdc5ebcaa7
76
+ $ref : ' ../../responses/common.yml#/queryID'
80
77
' 400 ' :
81
78
$ref : ' ../../responses/BadRequest.yml'
82
79
' 404 ' :
Original file line number Diff line number Diff line change 27
27
createdAt :
28
28
type : string
29
29
taskID :
30
- type : integer
30
+ $ref : ' ../../responses/common.yml#/taskID '
31
31
objectID :
32
- type : string
32
+ $ref : ' ../../responses/common.yml#/objectID '
33
33
' 400 ' :
34
34
$ref : ' ../../responses/BadRequest.yml'
35
35
' 404 ' :
Original file line number Diff line number Diff line change @@ -26,13 +26,12 @@ post:
26
26
additionalProperties : false
27
27
properties :
28
28
objectID :
29
- type : string
30
- example : objectID1
29
+ $ref : ' ../../responses/common.yml#/objectID'
31
30
nbHits :
32
31
type : integer
33
32
queryID :
34
33
type : string
35
- pattern : ' [a-f0-9]{32}'
34
+ pattern : ' ^ [a-f0-9]{32}$ '
36
35
example : 43b15df305339e827f0ac0bdc5ebcaa7
37
36
' 400 ' :
38
37
$ref : ' ../../responses/BadRequest.yml'
Original file line number Diff line number Diff line change
1
+ taskID :
2
+ type : integer
3
+ description : taskID of the indexing task to wait for.
4
+ objectID :
5
+ type : string
6
+ description : Unique identifier of the object
7
+ objectIDs :
8
+ type : array
9
+ items :
10
+ type : string
11
+ description : List of objectID
12
+ queryID :
13
+ type : string
14
+ pattern : ' ^[a-f0-9]{32}$'
15
+ example : 43b15df305339e827f0ac0bdc5ebcaa7
You can’t perform that action at this time.
0 commit comments