mirror of
https://github.com/usestrix/strix.git
synced 2026-09-08 22:21:05 +00:00
fix(cloud): drop knowledge query and settings commands removed from the API
This commit is contained in:
parent
41927358eb
commit
3580412178
1 changed files with 0 additions and 13 deletions
|
|
@ -649,12 +649,6 @@ SPEC: dict[str, dict[str, Cmd]] = {
|
|||
),
|
||||
),
|
||||
"delete": Cmd("DELETE", "/knowledge/{documentId}", "Delete a knowledge document."),
|
||||
"query": Cmd(
|
||||
"GET",
|
||||
"/knowledge/query",
|
||||
"Query the knowledge base.",
|
||||
query=(P("q", help="Query text."), P("limit", "int")),
|
||||
),
|
||||
"policies": Cmd("GET", "/knowledge/policies", "List knowledge policies."),
|
||||
"policies add": Cmd(
|
||||
"POST",
|
||||
|
|
@ -678,13 +672,6 @@ SPEC: dict[str, dict[str, Cmd]] = {
|
|||
"/knowledge/repos/{repo}/profile",
|
||||
"Update the knowledge profile of a repository. Use --data for the fields.",
|
||||
),
|
||||
"settings": Cmd("GET", "/knowledge/settings", "Get the knowledge settings."),
|
||||
"settings update": Cmd(
|
||||
"PATCH",
|
||||
"/knowledge/settings",
|
||||
"Update the knowledge settings.",
|
||||
body=(P("org_knowledge_enabled", "bool", help="Use organization knowledge in scans."),),
|
||||
),
|
||||
},
|
||||
"org": {
|
||||
"get": Cmd("GET", "/organization", "Get the organization."),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue