Rust API for Gitea, automatically generated https://git.exmods.org/swagger.v1.json
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Este repositório está arquivado. Você pode visualizar os arquivos e realizar clone, mas não poderá realizar push nem abrir issues e pull requests.

4 anos atrás
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  1. # \OrganizationApi
  2. All URIs are relative to *http://localhost/api/v1*
  3. Method | HTTP request | Description
  4. ------------- | ------------- | -------------
  5. [**create_org_repo**](OrganizationApi.md#create_org_repo) | **Post** /org/{org}/repos | Create a repository in an organization
  6. [**org_add_team_member**](OrganizationApi.md#org_add_team_member) | **Put** /teams/{id}/members/{username} | Add a team member
  7. [**org_add_team_repository**](OrganizationApi.md#org_add_team_repository) | **Put** /teams/{id}/repos/{org}/{repo} | Add a repository to a team
  8. [**org_conceal_member**](OrganizationApi.md#org_conceal_member) | **Delete** /orgs/{org}/public_members/{username} | Conceal a user's membership
  9. [**org_create**](OrganizationApi.md#org_create) | **Post** /orgs | Create an organization
  10. [**org_create_hook**](OrganizationApi.md#org_create_hook) | **Post** /orgs/{org}/hooks/ | Create a hook
  11. [**org_create_team**](OrganizationApi.md#org_create_team) | **Post** /orgs/{org}/teams | Create a team
  12. [**org_delete**](OrganizationApi.md#org_delete) | **Delete** /orgs/{org} | Delete an organization
  13. [**org_delete_hook**](OrganizationApi.md#org_delete_hook) | **Delete** /orgs/{org}/hooks/{id} | Delete a hook
  14. [**org_delete_member**](OrganizationApi.md#org_delete_member) | **Delete** /orgs/{org}/members/{username} | Remove a member from an organization
  15. [**org_delete_team**](OrganizationApi.md#org_delete_team) | **Delete** /teams/{id} | Delete a team
  16. [**org_edit**](OrganizationApi.md#org_edit) | **Patch** /orgs/{org} | Edit an organization
  17. [**org_edit_hook**](OrganizationApi.md#org_edit_hook) | **Patch** /orgs/{org}/hooks/{id} | Update a hook
  18. [**org_edit_team**](OrganizationApi.md#org_edit_team) | **Patch** /teams/{id} | Edit a team
  19. [**org_get**](OrganizationApi.md#org_get) | **Get** /orgs/{org} | Get an organization
  20. [**org_get_hook**](OrganizationApi.md#org_get_hook) | **Get** /orgs/{org}/hooks/{id} | Get a hook
  21. [**org_get_team**](OrganizationApi.md#org_get_team) | **Get** /teams/{id} | Get a team
  22. [**org_is_member**](OrganizationApi.md#org_is_member) | **Get** /orgs/{org}/members/{username} | Check if a user is a member of an organization
  23. [**org_is_public_member**](OrganizationApi.md#org_is_public_member) | **Get** /orgs/{org}/public_members/{username} | Check if a user is a public member of an organization
  24. [**org_list_current_user_orgs**](OrganizationApi.md#org_list_current_user_orgs) | **Get** /user/orgs | List the current user's organizations
  25. [**org_list_hooks**](OrganizationApi.md#org_list_hooks) | **Get** /orgs/{org}/hooks | List an organization's webhooks
  26. [**org_list_members**](OrganizationApi.md#org_list_members) | **Get** /orgs/{org}/members | List an organization's members
  27. [**org_list_public_members**](OrganizationApi.md#org_list_public_members) | **Get** /orgs/{org}/public_members | List an organization's public members
  28. [**org_list_repos**](OrganizationApi.md#org_list_repos) | **Get** /orgs/{org}/repos | List an organization's repos
  29. [**org_list_team_member**](OrganizationApi.md#org_list_team_member) | **Get** /teams/{id}/members/{username} | List a particular member of team
  30. [**org_list_team_members**](OrganizationApi.md#org_list_team_members) | **Get** /teams/{id}/members | List a team's members
  31. [**org_list_team_repos**](OrganizationApi.md#org_list_team_repos) | **Get** /teams/{id}/repos | List a team's repos
  32. [**org_list_teams**](OrganizationApi.md#org_list_teams) | **Get** /orgs/{org}/teams | List an organization's teams
  33. [**org_list_user_orgs**](OrganizationApi.md#org_list_user_orgs) | **Get** /users/{username}/orgs | List a user's organizations
  34. [**org_publicize_member**](OrganizationApi.md#org_publicize_member) | **Put** /orgs/{org}/public_members/{username} | Publicize a user's membership
  35. [**org_remove_team_member**](OrganizationApi.md#org_remove_team_member) | **Delete** /teams/{id}/members/{username} | Remove a team member
  36. [**org_remove_team_repository**](OrganizationApi.md#org_remove_team_repository) | **Delete** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team
  37. [**team_search**](OrganizationApi.md#team_search) | **Get** /orgs/{org}/teams/search | Search for teams within an organization
  38. # **create_org_repo**
  39. > ::models::Repository create_org_repo(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
  40. Create a repository in an organization
  41. ### Required Parameters
  42. Name | Type | Description | Notes
  43. ------------- | ------------- | ------------- | -------------
  44. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  45. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  46. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  47. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  48. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  49. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  50. **org** | **String**| name of organization |
  51. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  52. ### Optional Parameters
  53. Optional parameters are passed through a map[string]interface{}.
  54. Name | Type | Description | Notes
  55. ------------- | ------------- | ------------- | -------------
  56. **org** | **String**| name of organization |
  57. **body** | [**CreateRepoOption**](CreateRepoOption.md)| |
  58. ### Return type
  59. [**::models::Repository**](Repository.md)
  60. ### Authorization
  61. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  62. ### HTTP request headers
  63. - **Content-Type**: application/json
  64. - **Accept**: application/json
  65. [[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)
  66. # **org_add_team_member**
  67. > org_add_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
  68. Add a team member
  69. ### Required Parameters
  70. Name | Type | Description | Notes
  71. ------------- | ------------- | ------------- | -------------
  72. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  73. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  74. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  75. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  76. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  77. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  78. **id** | **i64**| id of the team |
  79. **username** | **String**| username of the user to add |
  80. ### Return type
  81. (empty response body)
  82. ### Authorization
  83. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  84. ### HTTP request headers
  85. - **Content-Type**: application/json, text/plain
  86. - **Accept**: application/json
  87. [[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)
  88. # **org_add_team_repository**
  89. > org_add_team_repository(ctx, ctx, ctx, ctx, ctx, ctx, id, org, repo)
  90. Add a repository to a team
  91. ### Required Parameters
  92. Name | Type | Description | Notes
  93. ------------- | ------------- | ------------- | -------------
  94. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  95. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  96. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  97. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  98. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  99. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  100. **id** | **i64**| id of the team |
  101. **org** | **String**| organization that owns the repo to add |
  102. **repo** | **String**| name of the repo to add |
  103. ### Return type
  104. (empty response body)
  105. ### Authorization
  106. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  107. ### HTTP request headers
  108. - **Content-Type**: application/json, text/plain
  109. - **Accept**: application/json
  110. [[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)
  111. # **org_conceal_member**
  112. > org_conceal_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
  113. Conceal a user's membership
  114. ### Required Parameters
  115. Name | Type | Description | Notes
  116. ------------- | ------------- | ------------- | -------------
  117. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  118. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  119. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  120. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  121. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  122. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  123. **org** | **String**| name of the organization |
  124. **username** | **String**| username of the user |
  125. ### Return type
  126. (empty response body)
  127. ### Authorization
  128. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  129. ### HTTP request headers
  130. - **Content-Type**: application/json, text/plain
  131. - **Accept**: application/json
  132. [[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)
  133. # **org_create**
  134. > ::models::Organization org_create(ctx, ctx, ctx, ctx, ctx, ctx, organization)
  135. Create an organization
  136. ### Required Parameters
  137. Name | Type | Description | Notes
  138. ------------- | ------------- | ------------- | -------------
  139. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  140. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  141. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  142. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  143. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  144. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  145. **organization** | [**CreateOrgOption**](CreateOrgOption.md)| |
  146. ### Return type
  147. [**::models::Organization**](Organization.md)
  148. ### Authorization
  149. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  150. ### HTTP request headers
  151. - **Content-Type**: application/json
  152. - **Accept**: application/json
  153. [[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)
  154. # **org_create_hook**
  155. > ::models::Hook org_create_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, body)
  156. Create a hook
  157. ### Required Parameters
  158. Name | Type | Description | Notes
  159. ------------- | ------------- | ------------- | -------------
  160. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  161. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  162. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  163. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  164. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  165. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  166. **org** | **String**| name of the organization |
  167. **body** | [**CreateHookOption**](CreateHookOption.md)| |
  168. ### Return type
  169. [**::models::Hook**](Hook.md)
  170. ### Authorization
  171. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  172. ### HTTP request headers
  173. - **Content-Type**: application/json
  174. - **Accept**: application/json
  175. [[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)
  176. # **org_create_team**
  177. > ::models::Team org_create_team(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
  178. Create a team
  179. ### Required Parameters
  180. Name | Type | Description | Notes
  181. ------------- | ------------- | ------------- | -------------
  182. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  183. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  184. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  185. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  186. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  187. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  188. **org** | **String**| name of the organization |
  189. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  190. ### Optional Parameters
  191. Optional parameters are passed through a map[string]interface{}.
  192. Name | Type | Description | Notes
  193. ------------- | ------------- | ------------- | -------------
  194. **org** | **String**| name of the organization |
  195. **body** | [**CreateTeamOption**](CreateTeamOption.md)| |
  196. ### Return type
  197. [**::models::Team**](Team.md)
  198. ### Authorization
  199. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  200. ### HTTP request headers
  201. - **Content-Type**: application/json
  202. - **Accept**: application/json
  203. [[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)
  204. # **org_delete**
  205. > org_delete(ctx, ctx, ctx, ctx, ctx, ctx, org)
  206. Delete an organization
  207. ### Required Parameters
  208. Name | Type | Description | Notes
  209. ------------- | ------------- | ------------- | -------------
  210. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  211. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  212. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  213. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  214. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  215. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  216. **org** | **String**| organization that is to be deleted |
  217. ### Return type
  218. (empty response body)
  219. ### Authorization
  220. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  221. ### HTTP request headers
  222. - **Content-Type**: application/json, text/plain
  223. - **Accept**: application/json
  224. [[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)
  225. # **org_delete_hook**
  226. > org_delete_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id)
  227. Delete a hook
  228. ### Required Parameters
  229. Name | Type | Description | Notes
  230. ------------- | ------------- | ------------- | -------------
  231. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  232. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  233. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  234. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  235. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  236. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  237. **org** | **String**| name of the organization |
  238. **id** | **i64**| id of the hook to delete |
  239. ### Return type
  240. (empty response body)
  241. ### Authorization
  242. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  243. ### HTTP request headers
  244. - **Content-Type**: application/json, text/plain
  245. - **Accept**: application/json
  246. [[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)
  247. # **org_delete_member**
  248. > org_delete_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
  249. Remove a member from an organization
  250. ### Required Parameters
  251. Name | Type | Description | Notes
  252. ------------- | ------------- | ------------- | -------------
  253. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  254. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  255. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  256. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  257. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  258. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  259. **org** | **String**| name of the organization |
  260. **username** | **String**| username of the user |
  261. ### Return type
  262. (empty response body)
  263. ### Authorization
  264. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  265. ### HTTP request headers
  266. - **Content-Type**: application/json, text/plain
  267. - **Accept**: application/json
  268. [[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)
  269. # **org_delete_team**
  270. > org_delete_team(ctx, ctx, ctx, ctx, ctx, ctx, id)
  271. Delete a team
  272. ### Required Parameters
  273. Name | Type | Description | Notes
  274. ------------- | ------------- | ------------- | -------------
  275. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  276. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  277. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  278. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  279. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  280. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  281. **id** | **i64**| id of the team to delete |
  282. ### Return type
  283. (empty response body)
  284. ### Authorization
  285. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  286. ### HTTP request headers
  287. - **Content-Type**: application/json, text/plain
  288. - **Accept**: application/json, text/html
  289. [[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)
  290. # **org_edit**
  291. > ::models::Organization org_edit(ctx, ctx, ctx, ctx, ctx, ctx, org, body)
  292. Edit an organization
  293. ### Required Parameters
  294. Name | Type | Description | Notes
  295. ------------- | ------------- | ------------- | -------------
  296. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  297. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  298. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  299. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  300. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  301. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  302. **org** | **String**| name of the organization to edit |
  303. **body** | [**EditOrgOption**](EditOrgOption.md)| |
  304. ### Return type
  305. [**::models::Organization**](Organization.md)
  306. ### Authorization
  307. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  308. ### HTTP request headers
  309. - **Content-Type**: application/json
  310. - **Accept**: application/json
  311. [[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)
  312. # **org_edit_hook**
  313. > ::models::Hook org_edit_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id, optional)
  314. Update a hook
  315. ### Required Parameters
  316. Name | Type | Description | Notes
  317. ------------- | ------------- | ------------- | -------------
  318. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  319. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  320. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  321. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  322. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  323. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  324. **org** | **String**| name of the organization |
  325. **id** | **i64**| id of the hook to update |
  326. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  327. ### Optional Parameters
  328. Optional parameters are passed through a map[string]interface{}.
  329. Name | Type | Description | Notes
  330. ------------- | ------------- | ------------- | -------------
  331. **org** | **String**| name of the organization |
  332. **id** | **i64**| id of the hook to update |
  333. **body** | [**EditHookOption**](EditHookOption.md)| |
  334. ### Return type
  335. [**::models::Hook**](Hook.md)
  336. ### Authorization
  337. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  338. ### HTTP request headers
  339. - **Content-Type**: application/json
  340. - **Accept**: application/json
  341. [[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)
  342. # **org_edit_team**
  343. > ::models::Team org_edit_team(ctx, ctx, ctx, ctx, ctx, ctx, id, optional)
  344. Edit a team
  345. ### Required Parameters
  346. Name | Type | Description | Notes
  347. ------------- | ------------- | ------------- | -------------
  348. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  349. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  350. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  351. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  352. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  353. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  354. **id** | **i32**| id of the team to edit |
  355. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  356. ### Optional Parameters
  357. Optional parameters are passed through a map[string]interface{}.
  358. Name | Type | Description | Notes
  359. ------------- | ------------- | ------------- | -------------
  360. **id** | **i32**| id of the team to edit |
  361. **body** | [**EditTeamOption**](EditTeamOption.md)| |
  362. ### Return type
  363. [**::models::Team**](Team.md)
  364. ### Authorization
  365. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  366. ### HTTP request headers
  367. - **Content-Type**: application/json
  368. - **Accept**: application/json
  369. [[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)
  370. # **org_get**
  371. > ::models::Organization org_get(ctx, ctx, ctx, ctx, ctx, ctx, org)
  372. Get an organization
  373. ### Required Parameters
  374. Name | Type | Description | Notes
  375. ------------- | ------------- | ------------- | -------------
  376. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  377. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  378. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  379. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  380. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  381. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  382. **org** | **String**| name of the organization to get |
  383. ### Return type
  384. [**::models::Organization**](Organization.md)
  385. ### Authorization
  386. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  387. ### HTTP request headers
  388. - **Content-Type**: application/json, text/plain
  389. - **Accept**: application/json
  390. [[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)
  391. # **org_get_hook**
  392. > ::models::Hook org_get_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id)
  393. Get a hook
  394. ### Required Parameters
  395. Name | Type | Description | Notes
  396. ------------- | ------------- | ------------- | -------------
  397. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  398. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  399. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  400. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  401. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  402. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  403. **org** | **String**| name of the organization |
  404. **id** | **i64**| id of the hook to get |
  405. ### Return type
  406. [**::models::Hook**](Hook.md)
  407. ### Authorization
  408. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  409. ### HTTP request headers
  410. - **Content-Type**: application/json, text/plain
  411. - **Accept**: application/json
  412. [[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)
  413. # **org_get_team**
  414. > ::models::Team org_get_team(ctx, ctx, ctx, ctx, ctx, ctx, id)
  415. Get a team
  416. ### Required Parameters
  417. Name | Type | Description | Notes
  418. ------------- | ------------- | ------------- | -------------
  419. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  420. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  421. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  422. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  423. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  424. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  425. **id** | **i64**| id of the team to get |
  426. ### Return type
  427. [**::models::Team**](Team.md)
  428. ### Authorization
  429. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  430. ### HTTP request headers
  431. - **Content-Type**: application/json, text/plain
  432. - **Accept**: application/json
  433. [[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)
  434. # **org_is_member**
  435. > org_is_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
  436. Check if a user is a member of an organization
  437. ### Required Parameters
  438. Name | Type | Description | Notes
  439. ------------- | ------------- | ------------- | -------------
  440. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  441. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  442. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  443. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  444. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  445. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  446. **org** | **String**| name of the organization |
  447. **username** | **String**| username of the user |
  448. ### Return type
  449. (empty response body)
  450. ### Authorization
  451. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  452. ### HTTP request headers
  453. - **Content-Type**: application/json, text/plain
  454. - **Accept**: application/json, text/html
  455. [[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)
  456. # **org_is_public_member**
  457. > org_is_public_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
  458. Check if a user is a public member of an organization
  459. ### Required Parameters
  460. Name | Type | Description | Notes
  461. ------------- | ------------- | ------------- | -------------
  462. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  463. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  464. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  465. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  466. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  467. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  468. **org** | **String**| name of the organization |
  469. **username** | **String**| username of the user |
  470. ### Return type
  471. (empty response body)
  472. ### Authorization
  473. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  474. ### HTTP request headers
  475. - **Content-Type**: application/json, text/plain
  476. - **Accept**: application/json, text/html
  477. [[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)
  478. # **org_list_current_user_orgs**
  479. > Vec<::models::Organization> org_list_current_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, )
  480. List the current user's organizations
  481. ### Required Parameters
  482. This endpoint does not need any parameter.
  483. ### Return type
  484. [**Vec<::models::Organization>**](Organization.md)
  485. ### Authorization
  486. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  487. ### HTTP request headers
  488. - **Content-Type**: application/json, text/plain
  489. - **Accept**: application/json
  490. [[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)
  491. # **org_list_hooks**
  492. > Vec<::models::Hook> org_list_hooks(ctx, ctx, ctx, ctx, ctx, ctx, org)
  493. List an organization's webhooks
  494. ### Required Parameters
  495. Name | Type | Description | Notes
  496. ------------- | ------------- | ------------- | -------------
  497. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  498. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  499. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  500. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  501. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  502. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  503. **org** | **String**| name of the organization |
  504. ### Return type
  505. [**Vec<::models::Hook>**](Hook.md)
  506. ### Authorization
  507. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  508. ### HTTP request headers
  509. - **Content-Type**: application/json, text/plain
  510. - **Accept**: application/json
  511. [[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)
  512. # **org_list_members**
  513. > Vec<::models::User> org_list_members(ctx, ctx, ctx, ctx, ctx, ctx, org)
  514. List an organization's members
  515. ### Required Parameters
  516. Name | Type | Description | Notes
  517. ------------- | ------------- | ------------- | -------------
  518. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  519. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  520. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  521. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  522. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  523. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  524. **org** | **String**| name of the organization |
  525. ### Return type
  526. [**Vec<::models::User>**](User.md)
  527. ### Authorization
  528. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  529. ### HTTP request headers
  530. - **Content-Type**: application/json, text/plain
  531. - **Accept**: application/json
  532. [[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)
  533. # **org_list_public_members**
  534. > Vec<::models::User> org_list_public_members(ctx, ctx, ctx, ctx, ctx, ctx, org)
  535. List an organization's public members
  536. ### Required Parameters
  537. Name | Type | Description | Notes
  538. ------------- | ------------- | ------------- | -------------
  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. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  544. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  545. **org** | **String**| name of the organization |
  546. ### Return type
  547. [**Vec<::models::User>**](User.md)
  548. ### Authorization
  549. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  550. ### HTTP request headers
  551. - **Content-Type**: application/json, text/plain
  552. - **Accept**: application/json
  553. [[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)
  554. # **org_list_repos**
  555. > Vec<::models::Repository> org_list_repos(ctx, ctx, ctx, ctx, ctx, ctx, org)
  556. List an organization's repos
  557. ### Required Parameters
  558. Name | Type | Description | Notes
  559. ------------- | ------------- | ------------- | -------------
  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. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  566. **org** | **String**| name of the organization |
  567. ### Return type
  568. [**Vec<::models::Repository>**](Repository.md)
  569. ### Authorization
  570. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  571. ### HTTP request headers
  572. - **Content-Type**: application/json, text/plain
  573. - **Accept**: application/json
  574. [[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)
  575. # **org_list_team_member**
  576. > ::models::User org_list_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
  577. List a particular member of team
  578. ### Required Parameters
  579. Name | Type | Description | Notes
  580. ------------- | ------------- | ------------- | -------------
  581. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  582. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  583. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  584. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  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. **id** | **i64**| id of the team |
  588. **username** | **String**| username of the member to list |
  589. ### Return type
  590. [**::models::User**](User.md)
  591. ### Authorization
  592. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  593. ### HTTP request headers
  594. - **Content-Type**: application/json, text/plain
  595. - **Accept**: application/json
  596. [[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)
  597. # **org_list_team_members**
  598. > Vec<::models::User> org_list_team_members(ctx, ctx, ctx, ctx, ctx, ctx, id)
  599. List a team's members
  600. ### Required Parameters
  601. Name | Type | Description | Notes
  602. ------------- | ------------- | ------------- | -------------
  603. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  604. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  605. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  606. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  607. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  608. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  609. **id** | **i64**| id of the team |
  610. ### Return type
  611. [**Vec<::models::User>**](User.md)
  612. ### Authorization
  613. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  614. ### HTTP request headers
  615. - **Content-Type**: application/json, text/plain
  616. - **Accept**: application/json
  617. [[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)
  618. # **org_list_team_repos**
  619. > Vec<::models::Repository> org_list_team_repos(ctx, ctx, ctx, ctx, ctx, ctx, id)
  620. List a team's repos
  621. ### Required Parameters
  622. Name | Type | Description | Notes
  623. ------------- | ------------- | ------------- | -------------
  624. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  625. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  626. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  627. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  628. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  629. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  630. **id** | **i64**| id of the team |
  631. ### Return type
  632. [**Vec<::models::Repository>**](Repository.md)
  633. ### Authorization
  634. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  635. ### HTTP request headers
  636. - **Content-Type**: application/json, text/plain
  637. - **Accept**: application/json
  638. [[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)
  639. # **org_list_teams**
  640. > Vec<::models::Team> org_list_teams(ctx, ctx, ctx, ctx, ctx, ctx, org)
  641. List an organization's teams
  642. ### Required Parameters
  643. Name | Type | Description | Notes
  644. ------------- | ------------- | ------------- | -------------
  645. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  646. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  647. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  648. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  649. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  650. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  651. **org** | **String**| name of the organization |
  652. ### Return type
  653. [**Vec<::models::Team>**](Team.md)
  654. ### Authorization
  655. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  656. ### HTTP request headers
  657. - **Content-Type**: application/json, text/plain
  658. - **Accept**: application/json
  659. [[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)
  660. # **org_list_user_orgs**
  661. > Vec<::models::Organization> org_list_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, username)
  662. List a user's organizations
  663. ### Required Parameters
  664. Name | Type | Description | Notes
  665. ------------- | ------------- | ------------- | -------------
  666. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  667. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  668. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  669. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  670. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  671. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  672. **username** | **String**| username of user |
  673. ### Return type
  674. [**Vec<::models::Organization>**](Organization.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. # **org_publicize_member**
  682. > org_publicize_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
  683. Publicize a user's membership
  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. **org** | **String**| name of the organization |
  694. **username** | **String**| username of the user |
  695. ### Return type
  696. (empty response body)
  697. ### Authorization
  698. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  699. ### HTTP request headers
  700. - **Content-Type**: application/json, text/plain
  701. - **Accept**: application/json
  702. [[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)
  703. # **org_remove_team_member**
  704. > org_remove_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
  705. Remove a team member
  706. ### Required Parameters
  707. Name | Type | Description | Notes
  708. ------------- | ------------- | ------------- | -------------
  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. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  715. **id** | **i64**| id of the team |
  716. **username** | **String**| username of the user to remove |
  717. ### Return type
  718. (empty response body)
  719. ### Authorization
  720. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  721. ### HTTP request headers
  722. - **Content-Type**: application/json, text/plain
  723. - **Accept**: application/json
  724. [[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)
  725. # **org_remove_team_repository**
  726. > org_remove_team_repository(ctx, ctx, ctx, ctx, ctx, ctx, id, org, repo)
  727. Remove a repository from a team
  728. This does not delete the repository, it only removes the repository from the team.
  729. ### Required Parameters
  730. Name | Type | Description | Notes
  731. ------------- | ------------- | ------------- | -------------
  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. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  736. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  737. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  738. **id** | **i64**| id of the team |
  739. **org** | **String**| organization that owns the repo to remove |
  740. **repo** | **String**| name of the repo to remove |
  741. ### Return type
  742. (empty response body)
  743. ### Authorization
  744. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  745. ### HTTP request headers
  746. - **Content-Type**: application/json, text/plain
  747. - **Accept**: application/json
  748. [[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)
  749. # **team_search**
  750. > ::models::InlineResponse200 team_search(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
  751. Search for teams within an organization
  752. ### Required Parameters
  753. Name | Type | Description | Notes
  754. ------------- | ------------- | ------------- | -------------
  755. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  756. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  757. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  758. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  759. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  760. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  761. **org** | **String**| name of the organization |
  762. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  763. ### Optional Parameters
  764. Optional parameters are passed through a map[string]interface{}.
  765. Name | Type | Description | Notes
  766. ------------- | ------------- | ------------- | -------------
  767. **org** | **String**| name of the organization |
  768. **q** | **String**| keywords to search |
  769. **include_desc** | **bool**| include search within team description (defaults to true) |
  770. **limit** | **i32**| limit size of results |
  771. **page** | **i32**| page number of results to return (1-based) |
  772. ### Return type
  773. [**::models::InlineResponse200**](inline_response_200.md)
  774. ### Authorization
  775. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  776. ### HTTP request headers
  777. - **Content-Type**: application/json, text/plain
  778. - **Accept**: application/json
  779. [[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)