Skip to content

Commit fc860eb

Browse files
authored
Merge pull request #31 from pinecone-io/docs-change
Change in spec for 500 messages in control plane
2 parents ec7dc59 + 2c4e6e5 commit fc860eb

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

specs/index_service.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363
}
6464
},
6565
"400": {
66-
"description": "Bad request. Exceeded quota"
66+
"description": "Bad request. Encountered when request exceeds quota or an invalid index name."
6767
},
6868
"409": {
6969
"description": "Index of given name already exists."
7070
},
7171
"500": {
72-
"description": "Invalid parameters/request"
72+
"description": "Internal error. Can be caused by invalid parameters."
7373
}
7474
},
7575
"tags": [
@@ -118,7 +118,7 @@
118118
"description": "Index not found"
119119
},
120120
"500": {
121-
"description": "Invalid request/parameters"
121+
"description": "Internal error. Can be caused by invalid parameters."
122122
}
123123
},
124124
"tags": [
@@ -141,7 +141,7 @@
141141
],
142142
"responses": {
143143
"200": {
144-
"description": "The index has been successfully deleted",
144+
"description": "The index has been successfully deleted.",
145145
"content": {
146146
"text/plain": {
147147
"schema": {
@@ -151,10 +151,10 @@
151151
}
152152
},
153153
"404": {
154-
"description": "Index not found"
154+
"description": "Index not found."
155155
},
156156
"500": {
157-
"description": "Invalid request/params"
157+
"description": "Internal error. Can be caused by invalid parameters."
158158
}
159159
},
160160
"tags": [
@@ -197,13 +197,13 @@
197197
}
198198
},
199199
"404": {
200-
"description": "Index not found"
200+
"description": "Index not found."
201201
},
202202
"400": {
203-
"description": "Bad request,not enough quota"
203+
"description": "Bad request,not enough quota."
204204
},
205205
"500": {
206-
"description": "Invalid request/params"
206+
"description": "Internal error. Can be caused by invalid parameters."
207207
}
208208
},
209209
"tags": [

specs/pinecone_api.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -326,13 +326,13 @@
326326
}
327327
},
328328
"400": {
329-
"description": "Bad request. Exceeded quota"
329+
"description": "Bad request. Encountered when request exceeds quota or an invalid index name."
330330
},
331331
"409": {
332332
"description": "Index of given name already exists."
333333
},
334334
"500": {
335-
"description": "Invalid parameters/request"
335+
"description": "Internal error. Can be caused by invalid parameters."
336336
}
337337
},
338338
"tags": [
@@ -381,7 +381,7 @@
381381
"description": "Index not found"
382382
},
383383
"500": {
384-
"description": "Invalid request/parameters"
384+
"description": "Internal error. Can be caused by invalid parameters."
385385
}
386386
},
387387
"tags": [
@@ -404,7 +404,7 @@
404404
],
405405
"responses": {
406406
"200": {
407-
"description": "The index has been successfully deleted",
407+
"description": "The index has been successfully deleted.",
408408
"content": {
409409
"text/plain": {
410410
"schema": {
@@ -414,10 +414,10 @@
414414
}
415415
},
416416
"404": {
417-
"description": "Index not found"
417+
"description": "Index not found."
418418
},
419419
"500": {
420-
"description": "Invalid request/params"
420+
"description": "Internal error. Can be caused by invalid parameters."
421421
}
422422
},
423423
"tags": [
@@ -460,13 +460,13 @@
460460
}
461461
},
462462
"400": {
463-
"description": "Bad request,not enough quota"
463+
"description": "Bad request,not enough quota."
464464
},
465465
"404": {
466-
"description": "Index not found"
466+
"description": "Index not found."
467467
},
468468
"500": {
469-
"description": "Invalid request/params"
469+
"description": "Internal error. Can be caused by invalid parameters."
470470
}
471471
},
472472
"tags": [

0 commit comments

Comments
 (0)