Skip to content

Commit

Permalink
lexicons: add 'q' and mark 'term' as deprecated for search endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Sep 19, 2023
1 parent 25a21f9 commit 288d113
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lexicons/app/bsky/actor/searchActors.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"type": "params",
"properties": {
"term": {
"type": "string",
"description": "DEPRECATED: use 'q' instead"
},
"q": {
"type": "string",
"description": "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
},
Expand Down
4 changes: 4 additions & 0 deletions lexicons/app/bsky/actor/searchActorsTypeahead.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"type": "params",
"properties": {
"term": {
"type": "string",
"description": "DEPRECATED: use 'q' instead"
},
"q": {
"type": "string",
"description": "search query prefix; not a full query string"
},
Expand Down
6 changes: 5 additions & 1 deletion lexicons/com/atproto/admin/searchRepos.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
"parameters": {
"type": "params",
"properties": {
"term": { "type": "string" },
"term": {
"type": "string",
"description": "DEPRECATED: use 'q' instead"
},
"q": { "type": "string" },
"invitedBy": { "type": "string" },
"limit": {
"type": "integer",
Expand Down

0 comments on commit 288d113

Please sign in to comment.