Document possibility to limit API Repo search to topics only. (#7957)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>release/v1.15
parent
ce45a8c257
commit
26af3401c3
|
@ -51,6 +51,10 @@ func Search(ctx *context.APIContext) {
|
||||||
// in: query
|
// in: query
|
||||||
// description: keyword
|
// description: keyword
|
||||||
// type: string
|
// type: string
|
||||||
|
// - name: topic
|
||||||
|
// in: query
|
||||||
|
// description: Limit search to repositories with keyword as topic
|
||||||
|
// type: boolean
|
||||||
// - name: uid
|
// - name: uid
|
||||||
// in: query
|
// in: query
|
||||||
// description: search only for repos that the user with the given id owns or contributes to
|
// description: search only for repos that the user with the given id owns or contributes to
|
||||||
|
|
|
@ -1093,6 +1093,12 @@
|
||||||
"name": "q",
|
"name": "q",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Limit search to repositories with keyword as topic",
|
||||||
|
"name": "topic",
|
||||||
|
"in": "query"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int64",
|
"format": "int64",
|
||||||
|
|
Loading…
Reference in New Issue