Skip to content

Commit 6668638

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 9580d28 commit 6668638

File tree

4 files changed

+79
-7
lines changed

4 files changed

+79
-7
lines changed

output/schema/schema.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
"Request: query parameter 'timeout' does not exist in the json spec"
1313
],
1414
"response": []
15+
},
16+
"project.tags": {
17+
"request": [
18+
"/_project/tags: different http methods in the json spec"
19+
],
20+
"response": []
1521
}
1622
},
1723
"generalErrors": [
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"inference.put_groq": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-groq",
5+
"description": "Create a Groq inference endpoint"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_inference/{task_type}/{groq_inference_id}",
17+
"methods": ["PUT"],
18+
"parts": {
19+
"task_type": {
20+
"type": "enum",
21+
"description": "The task type",
22+
"options": ["chat_completion"]
23+
},
24+
"groq_inference_id": {
25+
"type": "string",
26+
"description": "The inference ID"
27+
}
28+
}
29+
}
30+
]
31+
},
32+
"body": {
33+
"description": "The inference endpoint's task and service settings",
34+
"required": true
35+
},
36+
"params": {
37+
"timeout": {
38+
"type": "time",
39+
"description": "Specifies the amount of time to wait for the inference endpoint to be created.",
40+
"default": "30s"
41+
}
42+
}
43+
}
44+
}

specification/_json_spec/project.tags.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,9 @@
1313
"paths": [
1414
{
1515
"path": "/_project/tags",
16-
"methods": ["GET", "POST"]
16+
"methods": ["GET"]
1717
}
1818
]
19-
},
20-
"params": {
21-
"project_routing": {
22-
"type": "string",
23-
"description": "A Lucene query using project metadata tags used to filter which projects are returned in the response, such as _alias:_origin or _alias:*pr*."
24-
}
2519
}
2620
}
2721
}

0 commit comments

Comments
 (0)