diff options
author | zeripath <art27@cantab.net> | 2019-05-15 16:24:39 +0100 |
---|---|---|
committer | techknowlogick <techknowlogick@gitea.io> | 2019-05-15 11:24:39 -0400 |
commit | 56ae539bed7d822980ebaae8db316a0177fc028c (patch) | |
tree | ee63a75ba156002cb6c40975c1c35b032954f913 /templates/swagger | |
parent | 5fb1ad70113d3272232c266b4ff58e9f7f646594 (diff) | |
download | gitea-56ae539bed7d822980ebaae8db316a0177fc028c.tar.gz gitea-56ae539bed7d822980ebaae8db316a0177fc028c.zip |
SearchRepositoryByName improvements and unification (#6897)
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 0752e7be2b..c0790ac23e 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1087,6 +1087,19 @@ }, { "type": "integer", + "format": "int64", + "description": "search only for repos that the user with the given id has starred", + "name": "starredBy", + "in": "query" + }, + { + "type": "boolean", + "description": "include private repositories this user has access to (defaults to true)", + "name": "private", + "in": "query" + }, + { + "type": "integer", "description": "page number of results to return (1-based)", "name": "page", "in": "query" |