Skip to content

Commit 847b8ea

Browse files
authored
[ML] Update Inference Update API documentation to use the correct PUT method (#121048)
1 parent f209c2b commit 847b8ea

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/changelog/121048.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121048
2+
summary: Updating Inference Update API documentation to have the correct PUT method
3+
area: Machine Learning
4+
type: bug
5+
issues: []

rest-api-spec/src/main/resources/rest-api-spec/api/inference.update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"paths": [
1515
{
1616
"path": "/_inference/{inference_id}/_update",
17-
"methods": ["POST"],
17+
"methods": ["PUT"],
1818
"parts": {
1919
"inference_id": {
2020
"type": "string",
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"path": "/_inference/{task_type}/{inference_id}/_update",
27-
"methods": ["POST"],
27+
"methods": ["PUT"],
2828
"parts": {
2929
"task_type": {
3030
"type": "string",

0 commit comments

Comments
 (0)