Rust API for Gitea, automatically generated https://git.exmods.org/swagger.v1.json
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.

4 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329
  1. # \UserApi
  2. All URIs are relative to *http://localhost/api/v1*
  3. Method | HTTP request | Description
  4. ------------- | ------------- | -------------
  5. [**create_current_user_repo**](UserApi.md#create_current_user_repo) | **Post** /user/repos | Create a repository
  6. [**user_add_email**](UserApi.md#user_add_email) | **Post** /user/emails | Add email addresses
  7. [**user_check_following**](UserApi.md#user_check_following) | **Get** /users/{follower}/following/{followee} | Check if one user is following another user
  8. [**user_create_token**](UserApi.md#user_create_token) | **Post** /users/{username}/tokens | Create an access token
  9. [**user_current_check_following**](UserApi.md#user_current_check_following) | **Get** /user/following/{username} | Check whether a user is followed by the authenticated user
  10. [**user_current_check_starring**](UserApi.md#user_current_check_starring) | **Get** /user/starred/{owner}/{repo} | Whether the authenticated is starring the repo
  11. [**user_current_delete_follow**](UserApi.md#user_current_delete_follow) | **Delete** /user/following/{username} | Unfollow a user
  12. [**user_current_delete_gpg_key**](UserApi.md#user_current_delete_gpg_key) | **Delete** /user/gpg_keys/{id} | Remove a GPG key
  13. [**user_current_delete_key**](UserApi.md#user_current_delete_key) | **Delete** /user/keys/{id} | Delete a public key
  14. [**user_current_delete_star**](UserApi.md#user_current_delete_star) | **Delete** /user/starred/{owner}/{repo} | Unstar the given repo
  15. [**user_current_get_gpg_key**](UserApi.md#user_current_get_gpg_key) | **Get** /user/gpg_keys/{id} | Get a GPG key
  16. [**user_current_get_key**](UserApi.md#user_current_get_key) | **Get** /user/keys/{id} | Get a public key
  17. [**user_current_list_followers**](UserApi.md#user_current_list_followers) | **Get** /user/followers | List the authenticated user's followers
  18. [**user_current_list_following**](UserApi.md#user_current_list_following) | **Get** /user/following | List the users that the authenticated user is following
  19. [**user_current_list_gpg_keys**](UserApi.md#user_current_list_gpg_keys) | **Get** /user/gpg_keys | List the authenticated user's GPG keys
  20. [**user_current_list_keys**](UserApi.md#user_current_list_keys) | **Get** /user/keys | List the authenticated user's public keys
  21. [**user_current_list_repos**](UserApi.md#user_current_list_repos) | **Get** /user/repos | List the repos that the authenticated user owns or has access to
  22. [**user_current_list_starred**](UserApi.md#user_current_list_starred) | **Get** /user/starred | The repos that the authenticated user has starred
  23. [**user_current_list_subscriptions**](UserApi.md#user_current_list_subscriptions) | **Get** /user/subscriptions | List repositories watched by the authenticated user
  24. [**user_current_post_gpg_key**](UserApi.md#user_current_post_gpg_key) | **Post** /user/gpg_keys | Create a GPG key
  25. [**user_current_post_key**](UserApi.md#user_current_post_key) | **Post** /user/keys | Create a public key
  26. [**user_current_put_follow**](UserApi.md#user_current_put_follow) | **Put** /user/following/{username} | Follow a user
  27. [**user_current_put_star**](UserApi.md#user_current_put_star) | **Put** /user/starred/{owner}/{repo} | Star the given repo
  28. [**user_current_tracked_times**](UserApi.md#user_current_tracked_times) | **Get** /user/times | List the current user's tracked times
  29. [**user_delete_access_token**](UserApi.md#user_delete_access_token) | **Delete** /users/{username}/tokens/{token} | delete an access token
  30. [**user_delete_email**](UserApi.md#user_delete_email) | **Delete** /user/emails | Delete email addresses
  31. [**user_get**](UserApi.md#user_get) | **Get** /users/{username} | Get a user
  32. [**user_get_current**](UserApi.md#user_get_current) | **Get** /user | Get the authenticated user
  33. [**user_get_heatmap_data**](UserApi.md#user_get_heatmap_data) | **Get** /users/{username}/heatmap | Get a user's heatmap
  34. [**user_get_stop_watches**](UserApi.md#user_get_stop_watches) | **Get** /user/stopwatches | Get list of all existing stopwatches
  35. [**user_get_tokens**](UserApi.md#user_get_tokens) | **Get** /users/{username}/tokens | List the authenticated user's access tokens
  36. [**user_list_emails**](UserApi.md#user_list_emails) | **Get** /user/emails | List the authenticated user's email addresses
  37. [**user_list_followers**](UserApi.md#user_list_followers) | **Get** /users/{username}/followers | List the given user's followers
  38. [**user_list_following**](UserApi.md#user_list_following) | **Get** /users/{username}/following | List the users that the given user is following
  39. [**user_list_gpg_keys**](UserApi.md#user_list_gpg_keys) | **Get** /users/{username}/gpg_keys | List the given user's GPG keys
  40. [**user_list_keys**](UserApi.md#user_list_keys) | **Get** /users/{username}/keys | List the given user's public keys
  41. [**user_list_repos**](UserApi.md#user_list_repos) | **Get** /users/{username}/repos | List the repos owned by the given user
  42. [**user_list_starred**](UserApi.md#user_list_starred) | **Get** /users/{username}/starred | The repos that the given user has starred
  43. [**user_list_subscriptions**](UserApi.md#user_list_subscriptions) | **Get** /users/{username}/subscriptions | List the repositories watched by a user
  44. [**user_list_teams**](UserApi.md#user_list_teams) | **Get** /user/teams | List all the teams a user belongs to
  45. [**user_search**](UserApi.md#user_search) | **Get** /users/search | Search for users
  46. [**user_tracked_times**](UserApi.md#user_tracked_times) | **Get** /repos/{owner}/{repo}/times/{user} | List a user's tracked times in a repo
  47. # **create_current_user_repo**
  48. > ::models::Repository create_current_user_repo(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  49. Create a repository
  50. ### Required Parameters
  51. Name | Type | Description | Notes
  52. ------------- | ------------- | ------------- | -------------
  53. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  54. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  55. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  56. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  57. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  58. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  59. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  60. ### Optional Parameters
  61. Optional parameters are passed through a map[string]interface{}.
  62. Name | Type | Description | Notes
  63. ------------- | ------------- | ------------- | -------------
  64. **body** | [**CreateRepoOption**](CreateRepoOption.md)| |
  65. ### Return type
  66. [**::models::Repository**](Repository.md)
  67. ### Authorization
  68. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  69. ### HTTP request headers
  70. - **Content-Type**: application/json
  71. - **Accept**: application/json
  72. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  73. # **user_add_email**
  74. > Vec<::models::Email> user_add_email(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  75. Add email addresses
  76. ### Required Parameters
  77. Name | Type | Description | Notes
  78. ------------- | ------------- | ------------- | -------------
  79. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  80. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  81. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  82. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  83. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  84. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  85. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  86. ### Optional Parameters
  87. Optional parameters are passed through a map[string]interface{}.
  88. Name | Type | Description | Notes
  89. ------------- | ------------- | ------------- | -------------
  90. **body** | [**CreateEmailOption**](CreateEmailOption.md)| |
  91. ### Return type
  92. [**Vec<::models::Email>**](Email.md)
  93. ### Authorization
  94. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  95. ### HTTP request headers
  96. - **Content-Type**: application/json, text/plain
  97. - **Accept**: application/json
  98. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  99. # **user_check_following**
  100. > user_check_following(ctx, ctx, ctx, ctx, ctx, ctx, follower, followee)
  101. Check if one user is following another user
  102. ### Required Parameters
  103. Name | Type | Description | Notes
  104. ------------- | ------------- | ------------- | -------------
  105. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  106. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  107. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  108. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  109. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  110. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  111. **follower** | **String**| username of following user |
  112. **followee** | **String**| username of followed user |
  113. ### Return type
  114. (empty response body)
  115. ### Authorization
  116. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  117. ### HTTP request headers
  118. - **Content-Type**: application/json, text/plain
  119. - **Accept**: application/json, text/html
  120. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  121. # **user_create_token**
  122. > user_create_token(ctx, ctx, ctx, ctx, ctx, ctx, username, optional)
  123. Create an access token
  124. ### Required Parameters
  125. Name | Type | Description | Notes
  126. ------------- | ------------- | ------------- | -------------
  127. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  128. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  129. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  130. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  131. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  132. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  133. **username** | **String**| username of user |
  134. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  135. ### Optional Parameters
  136. Optional parameters are passed through a map[string]interface{}.
  137. Name | Type | Description | Notes
  138. ------------- | ------------- | ------------- | -------------
  139. **username** | **String**| username of user |
  140. **access_token** | [**AccessToken**](AccessToken.md)| |
  141. ### Return type
  142. (empty response body)
  143. ### Authorization
  144. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  145. ### HTTP request headers
  146. - **Content-Type**: application/json
  147. - **Accept**: application/json
  148. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  149. # **user_current_check_following**
  150. > user_current_check_following(ctx, ctx, ctx, ctx, ctx, ctx, username)
  151. Check whether a user is followed by the authenticated user
  152. ### Required Parameters
  153. Name | Type | Description | Notes
  154. ------------- | ------------- | ------------- | -------------
  155. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  156. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  157. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  158. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  159. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  160. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  161. **username** | **String**| username of followed user |
  162. ### Return type
  163. (empty response body)
  164. ### Authorization
  165. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  166. ### HTTP request headers
  167. - **Content-Type**: application/json, text/plain
  168. - **Accept**: application/json, text/html
  169. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  170. # **user_current_check_starring**
  171. > user_current_check_starring(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
  172. Whether the authenticated is starring the repo
  173. ### Required Parameters
  174. Name | Type | Description | Notes
  175. ------------- | ------------- | ------------- | -------------
  176. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  177. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  178. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  179. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  180. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  181. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  182. **owner** | **String**| owner of the repo |
  183. **repo** | **String**| name of the repo |
  184. ### Return type
  185. (empty response body)
  186. ### Authorization
  187. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  188. ### HTTP request headers
  189. - **Content-Type**: application/json, text/plain
  190. - **Accept**: application/json, text/html
  191. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  192. # **user_current_delete_follow**
  193. > user_current_delete_follow(ctx, ctx, ctx, ctx, ctx, ctx, username)
  194. Unfollow a user
  195. ### Required Parameters
  196. Name | Type | Description | Notes
  197. ------------- | ------------- | ------------- | -------------
  198. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  199. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  200. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  201. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  202. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  203. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  204. **username** | **String**| username of user to unfollow |
  205. ### Return type
  206. (empty response body)
  207. ### Authorization
  208. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  209. ### HTTP request headers
  210. - **Content-Type**: application/json, text/plain
  211. - **Accept**: application/json, text/html
  212. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  213. # **user_current_delete_gpg_key**
  214. > user_current_delete_gpg_key(ctx, ctx, ctx, ctx, ctx, ctx, id)
  215. Remove a GPG key
  216. ### Required Parameters
  217. Name | Type | Description | Notes
  218. ------------- | ------------- | ------------- | -------------
  219. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  220. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  221. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  222. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  223. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  224. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  225. **id** | **i64**| id of key to delete |
  226. ### Return type
  227. (empty response body)
  228. ### Authorization
  229. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  230. ### HTTP request headers
  231. - **Content-Type**: application/json, text/plain
  232. - **Accept**: application/json
  233. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  234. # **user_current_delete_key**
  235. > user_current_delete_key(ctx, ctx, ctx, ctx, ctx, ctx, id)
  236. Delete a public key
  237. ### Required Parameters
  238. Name | Type | Description | Notes
  239. ------------- | ------------- | ------------- | -------------
  240. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  241. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  242. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  243. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  244. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  245. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  246. **id** | **i64**| id of key to delete |
  247. ### Return type
  248. (empty response body)
  249. ### Authorization
  250. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  251. ### HTTP request headers
  252. - **Content-Type**: application/json, text/plain
  253. - **Accept**: application/json
  254. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  255. # **user_current_delete_star**
  256. > user_current_delete_star(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
  257. Unstar the given repo
  258. ### Required Parameters
  259. Name | Type | Description | Notes
  260. ------------- | ------------- | ------------- | -------------
  261. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  262. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  263. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  264. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  265. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  266. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  267. **owner** | **String**| owner of the repo to unstar |
  268. **repo** | **String**| name of the repo to unstar |
  269. ### Return type
  270. (empty response body)
  271. ### Authorization
  272. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  273. ### HTTP request headers
  274. - **Content-Type**: application/json, text/plain
  275. - **Accept**: application/json, text/html
  276. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  277. # **user_current_get_gpg_key**
  278. > ::models::GpgKey user_current_get_gpg_key(ctx, ctx, ctx, ctx, ctx, ctx, id)
  279. Get a GPG key
  280. ### Required Parameters
  281. Name | Type | Description | Notes
  282. ------------- | ------------- | ------------- | -------------
  283. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  284. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  285. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  286. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  287. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  288. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  289. **id** | **i64**| id of key to get |
  290. ### Return type
  291. [**::models::GpgKey**](GPGKey.md)
  292. ### Authorization
  293. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  294. ### HTTP request headers
  295. - **Content-Type**: application/json, text/plain
  296. - **Accept**: application/json
  297. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  298. # **user_current_get_key**
  299. > ::models::PublicKey user_current_get_key(ctx, ctx, ctx, ctx, ctx, ctx, id)
  300. Get a public key
  301. ### Required Parameters
  302. Name | Type | Description | Notes
  303. ------------- | ------------- | ------------- | -------------
  304. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  305. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  306. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  307. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  308. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  309. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  310. **id** | **i64**| id of key to get |
  311. ### Return type
  312. [**::models::PublicKey**](PublicKey.md)
  313. ### Authorization
  314. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  315. ### HTTP request headers
  316. - **Content-Type**: application/json, text/plain
  317. - **Accept**: application/json
  318. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  319. # **user_current_list_followers**
  320. > Vec<::models::User> user_current_list_followers(ctx, ctx, ctx, ctx, ctx, ctx, )
  321. List the authenticated user's followers
  322. ### Required Parameters
  323. This endpoint does not need any parameter.
  324. ### Return type
  325. [**Vec<::models::User>**](User.md)
  326. ### Authorization
  327. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  328. ### HTTP request headers
  329. - **Content-Type**: application/json, text/plain
  330. - **Accept**: application/json
  331. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  332. # **user_current_list_following**
  333. > Vec<::models::User> user_current_list_following(ctx, ctx, ctx, ctx, ctx, ctx, )
  334. List the users that the authenticated user is following
  335. ### Required Parameters
  336. This endpoint does not need any parameter.
  337. ### Return type
  338. [**Vec<::models::User>**](User.md)
  339. ### Authorization
  340. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  341. ### HTTP request headers
  342. - **Content-Type**: application/json, text/plain
  343. - **Accept**: application/json
  344. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  345. # **user_current_list_gpg_keys**
  346. > Vec<::models::GpgKey> user_current_list_gpg_keys(ctx, ctx, ctx, ctx, ctx, ctx, )
  347. List the authenticated user's GPG keys
  348. ### Required Parameters
  349. This endpoint does not need any parameter.
  350. ### Return type
  351. [**Vec<::models::GpgKey>**](GPGKey.md)
  352. ### Authorization
  353. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  354. ### HTTP request headers
  355. - **Content-Type**: application/json, text/plain
  356. - **Accept**: application/json
  357. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  358. # **user_current_list_keys**
  359. > Vec<::models::PublicKey> user_current_list_keys(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  360. List the authenticated user's public keys
  361. ### Required Parameters
  362. Name | Type | Description | Notes
  363. ------------- | ------------- | ------------- | -------------
  364. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  365. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  366. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  367. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  368. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  369. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  370. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  371. ### Optional Parameters
  372. Optional parameters are passed through a map[string]interface{}.
  373. Name | Type | Description | Notes
  374. ------------- | ------------- | ------------- | -------------
  375. **fingerprint** | **String**| fingerprint of the key |
  376. ### Return type
  377. [**Vec<::models::PublicKey>**](PublicKey.md)
  378. ### Authorization
  379. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  380. ### HTTP request headers
  381. - **Content-Type**: application/json, text/plain
  382. - **Accept**: application/json
  383. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  384. # **user_current_list_repos**
  385. > Vec<::models::Repository> user_current_list_repos(ctx, ctx, ctx, ctx, ctx, ctx, )
  386. List the repos that the authenticated user owns or has access to
  387. ### Required Parameters
  388. This endpoint does not need any parameter.
  389. ### Return type
  390. [**Vec<::models::Repository>**](Repository.md)
  391. ### Authorization
  392. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  393. ### HTTP request headers
  394. - **Content-Type**: application/json, text/plain
  395. - **Accept**: application/json
  396. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  397. # **user_current_list_starred**
  398. > Vec<::models::Repository> user_current_list_starred(ctx, ctx, ctx, ctx, ctx, ctx, )
  399. The repos that the authenticated user has starred
  400. ### Required Parameters
  401. This endpoint does not need any parameter.
  402. ### Return type
  403. [**Vec<::models::Repository>**](Repository.md)
  404. ### Authorization
  405. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  406. ### HTTP request headers
  407. - **Content-Type**: application/json, text/plain
  408. - **Accept**: application/json
  409. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  410. # **user_current_list_subscriptions**
  411. > Vec<::models::Repository> user_current_list_subscriptions(ctx, ctx, ctx, ctx, ctx, ctx, )
  412. List repositories watched by the authenticated user
  413. ### Required Parameters
  414. This endpoint does not need any parameter.
  415. ### Return type
  416. [**Vec<::models::Repository>**](Repository.md)
  417. ### Authorization
  418. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  419. ### HTTP request headers
  420. - **Content-Type**: application/json, text/plain
  421. - **Accept**: application/json
  422. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  423. # **user_current_post_gpg_key**
  424. > ::models::GpgKey user_current_post_gpg_key(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  425. Create a GPG key
  426. ### Required Parameters
  427. Name | Type | Description | Notes
  428. ------------- | ------------- | ------------- | -------------
  429. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  430. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  431. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  432. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  433. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  434. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  435. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  436. ### Optional Parameters
  437. Optional parameters are passed through a map[string]interface{}.
  438. Name | Type | Description | Notes
  439. ------------- | ------------- | ------------- | -------------
  440. **form** | [**CreateGpgKeyOption**](CreateGpgKeyOption.md)| |
  441. ### Return type
  442. [**::models::GpgKey**](GPGKey.md)
  443. ### Authorization
  444. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  445. ### HTTP request headers
  446. - **Content-Type**: application/json
  447. - **Accept**: application/json
  448. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  449. # **user_current_post_key**
  450. > ::models::PublicKey user_current_post_key(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  451. Create a public key
  452. ### Required Parameters
  453. Name | Type | Description | Notes
  454. ------------- | ------------- | ------------- | -------------
  455. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  456. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  457. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  458. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  459. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  460. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  461. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  462. ### Optional Parameters
  463. Optional parameters are passed through a map[string]interface{}.
  464. Name | Type | Description | Notes
  465. ------------- | ------------- | ------------- | -------------
  466. **body** | [**CreateKeyOption**](CreateKeyOption.md)| |
  467. ### Return type
  468. [**::models::PublicKey**](PublicKey.md)
  469. ### Authorization
  470. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  471. ### HTTP request headers
  472. - **Content-Type**: application/json
  473. - **Accept**: application/json
  474. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  475. # **user_current_put_follow**
  476. > user_current_put_follow(ctx, ctx, ctx, ctx, ctx, ctx, username)
  477. Follow a user
  478. ### Required Parameters
  479. Name | Type | Description | Notes
  480. ------------- | ------------- | ------------- | -------------
  481. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  482. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  483. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  484. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  485. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  486. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  487. **username** | **String**| username of user to follow |
  488. ### Return type
  489. (empty response body)
  490. ### Authorization
  491. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  492. ### HTTP request headers
  493. - **Content-Type**: application/json, text/plain
  494. - **Accept**: application/json, text/html
  495. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  496. # **user_current_put_star**
  497. > user_current_put_star(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
  498. Star the given repo
  499. ### Required Parameters
  500. Name | Type | Description | Notes
  501. ------------- | ------------- | ------------- | -------------
  502. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  503. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  504. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  505. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  506. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  507. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  508. **owner** | **String**| owner of the repo to star |
  509. **repo** | **String**| name of the repo to star |
  510. ### Return type
  511. (empty response body)
  512. ### Authorization
  513. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  514. ### HTTP request headers
  515. - **Content-Type**: application/json, text/plain
  516. - **Accept**: application/json, text/html
  517. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  518. # **user_current_tracked_times**
  519. > Vec<::models::TrackedTime> user_current_tracked_times(ctx, ctx, ctx, ctx, ctx, ctx, )
  520. List the current user's tracked times
  521. ### Required Parameters
  522. This endpoint does not need any parameter.
  523. ### Return type
  524. [**Vec<::models::TrackedTime>**](TrackedTime.md)
  525. ### Authorization
  526. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  527. ### HTTP request headers
  528. - **Content-Type**: application/json, text/plain
  529. - **Accept**: application/json
  530. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  531. # **user_delete_access_token**
  532. > user_delete_access_token(ctx, ctx, ctx, ctx, ctx, ctx, username, token)
  533. delete an access token
  534. ### Required Parameters
  535. Name | Type | Description | Notes
  536. ------------- | ------------- | ------------- | -------------
  537. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  538. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  539. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  540. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  541. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  542. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  543. **username** | **String**| username of user |
  544. **token** | **i64**| token to be deleted |
  545. ### Return type
  546. (empty response body)
  547. ### Authorization
  548. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  549. ### HTTP request headers
  550. - **Content-Type**: application/json, text/plain
  551. - **Accept**: application/json
  552. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  553. # **user_delete_email**
  554. > user_delete_email(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  555. Delete email addresses
  556. ### Required Parameters
  557. Name | Type | Description | Notes
  558. ------------- | ------------- | ------------- | -------------
  559. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  560. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  561. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  562. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  563. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  564. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  565. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  566. ### Optional Parameters
  567. Optional parameters are passed through a map[string]interface{}.
  568. Name | Type | Description | Notes
  569. ------------- | ------------- | ------------- | -------------
  570. **body** | [**DeleteEmailOption**](DeleteEmailOption.md)| |
  571. ### Return type
  572. (empty response body)
  573. ### Authorization
  574. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  575. ### HTTP request headers
  576. - **Content-Type**: application/json, text/plain
  577. - **Accept**: application/json
  578. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  579. # **user_get**
  580. > ::models::User user_get(ctx, ctx, ctx, ctx, ctx, ctx, username)
  581. Get a user
  582. ### Required Parameters
  583. Name | Type | Description | Notes
  584. ------------- | ------------- | ------------- | -------------
  585. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  586. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  587. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  588. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  589. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  590. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  591. **username** | **String**| username of user to get |
  592. ### Return type
  593. [**::models::User**](User.md)
  594. ### Authorization
  595. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  596. ### HTTP request headers
  597. - **Content-Type**: application/json, text/plain
  598. - **Accept**: application/json
  599. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  600. # **user_get_current**
  601. > ::models::User user_get_current(ctx, ctx, ctx, ctx, ctx, ctx, )
  602. Get the authenticated user
  603. ### Required Parameters
  604. This endpoint does not need any parameter.
  605. ### Return type
  606. [**::models::User**](User.md)
  607. ### Authorization
  608. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  609. ### HTTP request headers
  610. - **Content-Type**: application/json, text/plain
  611. - **Accept**: application/json
  612. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  613. # **user_get_heatmap_data**
  614. > Vec<::models::UserHeatmapData> user_get_heatmap_data(ctx, ctx, ctx, ctx, ctx, ctx, username)
  615. Get a user's heatmap
  616. ### Required Parameters
  617. Name | Type | Description | Notes
  618. ------------- | ------------- | ------------- | -------------
  619. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  620. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  621. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  622. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  623. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  624. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  625. **username** | **String**| username of user to get |
  626. ### Return type
  627. [**Vec<::models::UserHeatmapData>**](UserHeatmapData.md)
  628. ### Authorization
  629. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  630. ### HTTP request headers
  631. - **Content-Type**: application/json, text/plain
  632. - **Accept**: application/json
  633. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  634. # **user_get_stop_watches**
  635. > Vec<::models::StopWatch> user_get_stop_watches(ctx, ctx, ctx, ctx, ctx, ctx, )
  636. Get list of all existing stopwatches
  637. ### Required Parameters
  638. This endpoint does not need any parameter.
  639. ### Return type
  640. [**Vec<::models::StopWatch>**](StopWatch.md)
  641. ### Authorization
  642. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  643. ### HTTP request headers
  644. - **Content-Type**: application/json
  645. - **Accept**: application/json
  646. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  647. # **user_get_tokens**
  648. > Vec<::models::AccessToken> user_get_tokens(ctx, ctx, ctx, ctx, ctx, ctx, username)
  649. List the authenticated user's access tokens
  650. ### Required Parameters
  651. Name | Type | Description | Notes
  652. ------------- | ------------- | ------------- | -------------
  653. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  654. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  655. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  656. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  657. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  658. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  659. **username** | **String**| username of user |
  660. ### Return type
  661. [**Vec<::models::AccessToken>**](AccessToken.md)
  662. ### Authorization
  663. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  664. ### HTTP request headers
  665. - **Content-Type**: application/json, text/plain
  666. - **Accept**: application/json
  667. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  668. # **user_list_emails**
  669. > Vec<::models::Email> user_list_emails(ctx, ctx, ctx, ctx, ctx, ctx, )
  670. List the authenticated user's email addresses
  671. ### Required Parameters
  672. This endpoint does not need any parameter.
  673. ### Return type
  674. [**Vec<::models::Email>**](Email.md)
  675. ### Authorization
  676. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  677. ### HTTP request headers
  678. - **Content-Type**: application/json, text/plain
  679. - **Accept**: application/json
  680. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  681. # **user_list_followers**
  682. > Vec<::models::User> user_list_followers(ctx, ctx, ctx, ctx, ctx, ctx, username)
  683. List the given user's followers
  684. ### Required Parameters
  685. Name | Type | Description | Notes
  686. ------------- | ------------- | ------------- | -------------
  687. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  688. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  689. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  690. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  691. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  692. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  693. **username** | **String**| username of user |
  694. ### Return type
  695. [**Vec<::models::User>**](User.md)
  696. ### Authorization
  697. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  698. ### HTTP request headers
  699. - **Content-Type**: application/json, text/plain
  700. - **Accept**: application/json
  701. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  702. # **user_list_following**
  703. > Vec<::models::User> user_list_following(ctx, ctx, ctx, ctx, ctx, ctx, username)
  704. List the users that the given user is following
  705. ### Required Parameters
  706. Name | Type | Description | Notes
  707. ------------- | ------------- | ------------- | -------------
  708. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  709. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  710. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  711. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  712. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  713. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  714. **username** | **String**| username of user |
  715. ### Return type
  716. [**Vec<::models::User>**](User.md)
  717. ### Authorization
  718. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  719. ### HTTP request headers
  720. - **Content-Type**: application/json, text/plain
  721. - **Accept**: application/json
  722. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  723. # **user_list_gpg_keys**
  724. > Vec<::models::GpgKey> user_list_gpg_keys(ctx, ctx, ctx, ctx, ctx, ctx, username)
  725. List the given user's GPG keys
  726. ### Required Parameters
  727. Name | Type | Description | Notes
  728. ------------- | ------------- | ------------- | -------------
  729. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  730. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  731. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  732. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  733. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  734. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  735. **username** | **String**| username of user |
  736. ### Return type
  737. [**Vec<::models::GpgKey>**](GPGKey.md)
  738. ### Authorization
  739. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  740. ### HTTP request headers
  741. - **Content-Type**: application/json, text/plain
  742. - **Accept**: application/json
  743. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  744. # **user_list_keys**
  745. > Vec<::models::PublicKey> user_list_keys(ctx, ctx, ctx, ctx, ctx, ctx, username, optional)
  746. List the given user's public keys
  747. ### Required Parameters
  748. Name | Type | Description | Notes
  749. ------------- | ------------- | ------------- | -------------
  750. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  751. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  752. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  753. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  754. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  755. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  756. **username** | **String**| username of user |
  757. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  758. ### Optional Parameters
  759. Optional parameters are passed through a map[string]interface{}.
  760. Name | Type | Description | Notes
  761. ------------- | ------------- | ------------- | -------------
  762. **username** | **String**| username of user |
  763. **fingerprint** | **String**| fingerprint of the key |
  764. ### Return type
  765. [**Vec<::models::PublicKey>**](PublicKey.md)
  766. ### Authorization
  767. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  768. ### HTTP request headers
  769. - **Content-Type**: application/json, text/plain
  770. - **Accept**: application/json
  771. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  772. # **user_list_repos**
  773. > Vec<::models::Repository> user_list_repos(ctx, ctx, ctx, ctx, ctx, ctx, username)
  774. List the repos owned by the given user
  775. ### Required Parameters
  776. Name | Type | Description | Notes
  777. ------------- | ------------- | ------------- | -------------
  778. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  779. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  780. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  781. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  782. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  783. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  784. **username** | **String**| username of user |
  785. ### Return type
  786. [**Vec<::models::Repository>**](Repository.md)
  787. ### Authorization
  788. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  789. ### HTTP request headers
  790. - **Content-Type**: application/json, text/plain
  791. - **Accept**: application/json
  792. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  793. # **user_list_starred**
  794. > Vec<::models::Repository> user_list_starred(ctx, ctx, ctx, ctx, ctx, ctx, username)
  795. The repos that the given user has starred
  796. ### Required Parameters
  797. Name | Type | Description | Notes
  798. ------------- | ------------- | ------------- | -------------
  799. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  800. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  801. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  802. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  803. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  804. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  805. **username** | **String**| username of user |
  806. ### Return type
  807. [**Vec<::models::Repository>**](Repository.md)
  808. ### Authorization
  809. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  810. ### HTTP request headers
  811. - **Content-Type**: application/json, text/plain
  812. - **Accept**: application/json
  813. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  814. # **user_list_subscriptions**
  815. > Vec<::models::Repository> user_list_subscriptions(ctx, ctx, ctx, ctx, ctx, ctx, username)
  816. List the repositories watched by a user
  817. ### Required Parameters
  818. Name | Type | Description | Notes
  819. ------------- | ------------- | ------------- | -------------
  820. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  821. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  822. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  823. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  824. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  825. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  826. **username** | **String**| username of the user |
  827. ### Return type
  828. [**Vec<::models::Repository>**](Repository.md)
  829. ### Authorization
  830. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  831. ### HTTP request headers
  832. - **Content-Type**: application/json, text/plain
  833. - **Accept**: application/json
  834. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  835. # **user_list_teams**
  836. > Vec<::models::Team> user_list_teams(ctx, ctx, ctx, ctx, ctx, ctx, )
  837. List all the teams a user belongs to
  838. ### Required Parameters
  839. This endpoint does not need any parameter.
  840. ### Return type
  841. [**Vec<::models::Team>**](Team.md)
  842. ### Authorization
  843. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  844. ### HTTP request headers
  845. - **Content-Type**: application/json, text/plain
  846. - **Accept**: application/json
  847. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  848. # **user_search**
  849. > ::models::InlineResponse2001 user_search(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  850. Search for users
  851. ### Required Parameters
  852. Name | Type | Description | Notes
  853. ------------- | ------------- | ------------- | -------------
  854. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  855. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  856. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  857. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  858. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  859. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  860. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  861. ### Optional Parameters
  862. Optional parameters are passed through a map[string]interface{}.
  863. Name | Type | Description | Notes
  864. ------------- | ------------- | ------------- | -------------
  865. **q** | **String**| keyword |
  866. **uid** | **i64**| ID of the user to search for |
  867. **limit** | **i32**| maximum number of users to return |
  868. ### Return type
  869. [**::models::InlineResponse2001**](inline_response_200_1.md)
  870. ### Authorization
  871. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  872. ### HTTP request headers
  873. - **Content-Type**: application/json, text/plain
  874. - **Accept**: application/json
  875. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  876. # **user_tracked_times**
  877. > Vec<::models::TrackedTime> user_tracked_times(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, user)
  878. List a user's tracked times in a repo
  879. ### Required Parameters
  880. Name | Type | Description | Notes
  881. ------------- | ------------- | ------------- | -------------
  882. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  883. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  884. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  885. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  886. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  887. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  888. **owner** | **String**| owner of the repo |
  889. **repo** | **String**| name of the repo |
  890. **user** | **String**| username of user |
  891. ### Return type
  892. [**Vec<::models::TrackedTime>**](TrackedTime.md)
  893. ### Authorization
  894. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  895. ### HTTP request headers
  896. - **Content-Type**: application/json, text/plain
  897. - **Accept**: application/json
  898. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)