Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
@ -51,6 +51,10 @@ func Search(ctx *context.APIContext) {
// in: query
// description: keyword
// type: string
// - name: topic
// description: Limit search to repositories with keyword as topic
// type: boolean
// - name: uid
// description: search only for repos that the user with the given id owns or contributes to
@ -1094,6 +1094,12 @@
"in": "query"
},
{
"type": "boolean",
"description": "Limit search to repositories with keyword as topic",
"name": "topic",
"type": "integer",
"format": "int64",
"description": "search only for repos that the user with the given id owns or contributes to",