|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123 |
- # \OrganizationApi
-
- All URIs are relative to *http://localhost/api/v1*
-
- Method | HTTP request | Description
- ------------- | ------------- | -------------
- [**create_org_repo**](OrganizationApi.md#create_org_repo) | **Post** /org/{org}/repos | Create a repository in an organization
- [**org_add_team_member**](OrganizationApi.md#org_add_team_member) | **Put** /teams/{id}/members/{username} | Add a team member
- [**org_add_team_repository**](OrganizationApi.md#org_add_team_repository) | **Put** /teams/{id}/repos/{org}/{repo} | Add a repository to a team
- [**org_conceal_member**](OrganizationApi.md#org_conceal_member) | **Delete** /orgs/{org}/public_members/{username} | Conceal a user's membership
- [**org_create**](OrganizationApi.md#org_create) | **Post** /orgs | Create an organization
- [**org_create_hook**](OrganizationApi.md#org_create_hook) | **Post** /orgs/{org}/hooks/ | Create a hook
- [**org_create_team**](OrganizationApi.md#org_create_team) | **Post** /orgs/{org}/teams | Create a team
- [**org_delete**](OrganizationApi.md#org_delete) | **Delete** /orgs/{org} | Delete an organization
- [**org_delete_hook**](OrganizationApi.md#org_delete_hook) | **Delete** /orgs/{org}/hooks/{id} | Delete a hook
- [**org_delete_member**](OrganizationApi.md#org_delete_member) | **Delete** /orgs/{org}/members/{username} | Remove a member from an organization
- [**org_delete_team**](OrganizationApi.md#org_delete_team) | **Delete** /teams/{id} | Delete a team
- [**org_edit**](OrganizationApi.md#org_edit) | **Patch** /orgs/{org} | Edit an organization
- [**org_edit_hook**](OrganizationApi.md#org_edit_hook) | **Patch** /orgs/{org}/hooks/{id} | Update a hook
- [**org_edit_team**](OrganizationApi.md#org_edit_team) | **Patch** /teams/{id} | Edit a team
- [**org_get**](OrganizationApi.md#org_get) | **Get** /orgs/{org} | Get an organization
- [**org_get_hook**](OrganizationApi.md#org_get_hook) | **Get** /orgs/{org}/hooks/{id} | Get a hook
- [**org_get_team**](OrganizationApi.md#org_get_team) | **Get** /teams/{id} | Get a team
- [**org_is_member**](OrganizationApi.md#org_is_member) | **Get** /orgs/{org}/members/{username} | Check if a user is a member of an organization
- [**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
- [**org_list_current_user_orgs**](OrganizationApi.md#org_list_current_user_orgs) | **Get** /user/orgs | List the current user's organizations
- [**org_list_hooks**](OrganizationApi.md#org_list_hooks) | **Get** /orgs/{org}/hooks | List an organization's webhooks
- [**org_list_members**](OrganizationApi.md#org_list_members) | **Get** /orgs/{org}/members | List an organization's members
- [**org_list_public_members**](OrganizationApi.md#org_list_public_members) | **Get** /orgs/{org}/public_members | List an organization's public members
- [**org_list_repos**](OrganizationApi.md#org_list_repos) | **Get** /orgs/{org}/repos | List an organization's repos
- [**org_list_team_member**](OrganizationApi.md#org_list_team_member) | **Get** /teams/{id}/members/{username} | List a particular member of team
- [**org_list_team_members**](OrganizationApi.md#org_list_team_members) | **Get** /teams/{id}/members | List a team's members
- [**org_list_team_repos**](OrganizationApi.md#org_list_team_repos) | **Get** /teams/{id}/repos | List a team's repos
- [**org_list_teams**](OrganizationApi.md#org_list_teams) | **Get** /orgs/{org}/teams | List an organization's teams
- [**org_list_user_orgs**](OrganizationApi.md#org_list_user_orgs) | **Get** /users/{username}/orgs | List a user's organizations
- [**org_publicize_member**](OrganizationApi.md#org_publicize_member) | **Put** /orgs/{org}/public_members/{username} | Publicize a user's membership
- [**org_remove_team_member**](OrganizationApi.md#org_remove_team_member) | **Delete** /teams/{id}/members/{username} | Remove a team member
- [**org_remove_team_repository**](OrganizationApi.md#org_remove_team_repository) | **Delete** /teams/{id}/repos/{org}/{repo} | Remove a repository from a team
- [**team_search**](OrganizationApi.md#team_search) | **Get** /orgs/{org}/teams/search | Search for teams within an organization
-
-
- # **create_org_repo**
- > ::models::Repository create_org_repo(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
- Create a repository in an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of organization |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **org** | **String**| name of organization |
- **body** | [**CreateRepoOption**](CreateRepoOption.md)| |
-
- ### Return type
-
- [**::models::Repository**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_add_team_member**
- > org_add_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
- Add a team member
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
- **username** | **String**| username of the user to add |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_add_team_repository**
- > org_add_team_repository(ctx, ctx, ctx, ctx, ctx, ctx, id, org, repo)
- Add a repository to a team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
- **org** | **String**| organization that owns the repo to add |
- **repo** | **String**| name of the repo to add |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_conceal_member**
- > org_conceal_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
- Conceal a user's membership
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **username** | **String**| username of the user |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_create**
- > ::models::Organization org_create(ctx, ctx, ctx, ctx, ctx, ctx, organization)
- Create an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **organization** | [**CreateOrgOption**](CreateOrgOption.md)| |
-
- ### Return type
-
- [**::models::Organization**](Organization.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_create_hook**
- > ::models::Hook org_create_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, body)
- Create a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **body** | [**CreateHookOption**](CreateHookOption.md)| |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_create_team**
- > ::models::Team org_create_team(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
- Create a team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **org** | **String**| name of the organization |
- **body** | [**CreateTeamOption**](CreateTeamOption.md)| |
-
- ### Return type
-
- [**::models::Team**](Team.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_delete**
- > org_delete(ctx, ctx, ctx, ctx, ctx, ctx, org)
- Delete an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| organization that is to be deleted |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_delete_hook**
- > org_delete_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id)
- Delete a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **id** | **i64**| id of the hook to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_delete_member**
- > org_delete_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
- Remove a member from an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **username** | **String**| username of the user |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_delete_team**
- > org_delete_team(ctx, ctx, ctx, ctx, ctx, ctx, id)
- Delete a team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team to delete |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[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)
-
- # **org_edit**
- > ::models::Organization org_edit(ctx, ctx, ctx, ctx, ctx, ctx, org, body)
- Edit an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization to edit |
- **body** | [**EditOrgOption**](EditOrgOption.md)| |
-
- ### Return type
-
- [**::models::Organization**](Organization.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_edit_hook**
- > ::models::Hook org_edit_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id, optional)
- Update a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **id** | **i64**| id of the hook to update |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **org** | **String**| name of the organization |
- **id** | **i64**| id of the hook to update |
- **body** | [**EditHookOption**](EditHookOption.md)| |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_edit_team**
- > ::models::Team org_edit_team(ctx, ctx, ctx, ctx, ctx, ctx, id, optional)
- Edit a team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i32**| id of the team to edit |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **id** | **i32**| id of the team to edit |
- **body** | [**EditTeamOption**](EditTeamOption.md)| |
-
- ### Return type
-
- [**::models::Team**](Team.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
- [[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)
-
- # **org_get**
- > ::models::Organization org_get(ctx, ctx, ctx, ctx, ctx, ctx, org)
- Get an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization to get |
-
- ### Return type
-
- [**::models::Organization**](Organization.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_get_hook**
- > ::models::Hook org_get_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id)
- Get a hook
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **id** | **i64**| id of the hook to get |
-
- ### Return type
-
- [**::models::Hook**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_get_team**
- > ::models::Team org_get_team(ctx, ctx, ctx, ctx, ctx, ctx, id)
- Get a team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team to get |
-
- ### Return type
-
- [**::models::Team**](Team.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_is_member**
- > org_is_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
- Check if a user is a member of an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **username** | **String**| username of the user |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[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)
-
- # **org_is_public_member**
- > org_is_public_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
- Check if a user is a public member of an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **username** | **String**| username of the user |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json, text/html
-
- [[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)
-
- # **org_list_current_user_orgs**
- > Vec<::models::Organization> org_list_current_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, )
- List the current user's organizations
-
- ### Required Parameters
- This endpoint does not need any parameter.
-
- ### Return type
-
- [**Vec<::models::Organization>**](Organization.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_hooks**
- > Vec<::models::Hook> org_list_hooks(ctx, ctx, ctx, ctx, ctx, ctx, org)
- List an organization's webhooks
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
-
- ### Return type
-
- [**Vec<::models::Hook>**](Hook.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_members**
- > Vec<::models::User> org_list_members(ctx, ctx, ctx, ctx, ctx, ctx, org)
- List an organization's members
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_public_members**
- > Vec<::models::User> org_list_public_members(ctx, ctx, ctx, ctx, ctx, ctx, org)
- List an organization's public members
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_repos**
- > Vec<::models::Repository> org_list_repos(ctx, ctx, ctx, ctx, ctx, ctx, org)
- List an organization's repos
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
-
- ### Return type
-
- [**Vec<::models::Repository>**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_team_member**
- > ::models::User org_list_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
- List a particular member of team
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
- **username** | **String**| username of the member to list |
-
- ### Return type
-
- [**::models::User**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_team_members**
- > Vec<::models::User> org_list_team_members(ctx, ctx, ctx, ctx, ctx, ctx, id)
- List a team's members
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
-
- ### Return type
-
- [**Vec<::models::User>**](User.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_team_repos**
- > Vec<::models::Repository> org_list_team_repos(ctx, ctx, ctx, ctx, ctx, ctx, id)
- List a team's repos
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
-
- ### Return type
-
- [**Vec<::models::Repository>**](Repository.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_teams**
- > Vec<::models::Team> org_list_teams(ctx, ctx, ctx, ctx, ctx, ctx, org)
- List an organization's teams
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
-
- ### Return type
-
- [**Vec<::models::Team>**](Team.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_list_user_orgs**
- > Vec<::models::Organization> org_list_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, username)
- List a user's organizations
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **username** | **String**| username of user |
-
- ### Return type
-
- [**Vec<::models::Organization>**](Organization.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_publicize_member**
- > org_publicize_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username)
- Publicize a user's membership
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **username** | **String**| username of the user |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_remove_team_member**
- > org_remove_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username)
- Remove a team member
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
- **username** | **String**| username of the user to remove |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **org_remove_team_repository**
- > org_remove_team_repository(ctx, ctx, ctx, ctx, ctx, ctx, id, org, repo)
- Remove a repository from a team
-
- This does not delete the repository, it only removes the repository from the team.
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **id** | **i64**| id of the team |
- **org** | **String**| organization that owns the repo to remove |
- **repo** | **String**| name of the repo to remove |
-
- ### Return type
-
- (empty response body)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
- # **team_search**
- > ::models::InlineResponse200 team_search(ctx, ctx, ctx, ctx, ctx, ctx, org, optional)
- Search for teams within an organization
-
- ### Required Parameters
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **ctx** | **context.Context** | context containing the authentication | nil if no authentication
- **org** | **String**| name of the organization |
- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
-
- ### Optional Parameters
- Optional parameters are passed through a map[string]interface{}.
-
- Name | Type | Description | Notes
- ------------- | ------------- | ------------- | -------------
- **org** | **String**| name of the organization |
- **q** | **String**| keywords to search |
- **include_desc** | **bool**| include search within team description (defaults to true) |
- **limit** | **i32**| limit size of results |
- **page** | **i32**| page number of results to return (1-based) |
-
- ### Return type
-
- [**::models::InlineResponse200**](inline_response_200.md)
-
- ### Authorization
-
- [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
-
- ### HTTP request headers
-
- - **Content-Type**: application/json, text/plain
- - **Accept**: application/json
-
- [[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)
-
|