All URIs are relative to http://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
create_org_repo | Post /org/{org}/repos | Create a repository in an organization |
org_add_team_member | Put /teams/{id}/members/{username} | Add a team member |
org_add_team_repository | Put /teams/{id}/repos/{org}/{repo} | Add a repository to a team |
org_conceal_member | Delete /orgs/{org}/public_members/{username} | Conceal a user's membership |
org_create | Post /orgs | Create an organization |
org_create_hook | Post /orgs/{org}/hooks/ | Create a hook |
org_create_team | Post /orgs/{org}/teams | Create a team |
org_delete | Delete /orgs/{org} | Delete an organization |
org_delete_hook | Delete /orgs/{org}/hooks/{id} | Delete a hook |
org_delete_member | Delete /orgs/{org}/members/{username} | Remove a member from an organization |
org_delete_team | Delete /teams/{id} | Delete a team |
org_edit | Patch /orgs/{org} | Edit an organization |
org_edit_hook | Patch /orgs/{org}/hooks/{id} | Update a hook |
org_edit_team | Patch /teams/{id} | Edit a team |
org_get | Get /orgs/{org} | Get an organization |
org_get_hook | Get /orgs/{org}/hooks/{id} | Get a hook |
org_get_team | Get /teams/{id} | Get a team |
org_is_member | Get /orgs/{org}/members/{username} | Check if a user is a member of an organization |
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 | Get /user/orgs | List the current user's organizations |
org_list_hooks | Get /orgs/{org}/hooks | List an organization's webhooks |
org_list_members | Get /orgs/{org}/members | List an organization's members |
org_list_public_members | Get /orgs/{org}/public_members | List an organization's public members |
org_list_repos | Get /orgs/{org}/repos | List an organization's repos |
org_list_team_member | Get /teams/{id}/members/{username} | List a particular member of team |
org_list_team_members | Get /teams/{id}/members | List a team's members |
org_list_team_repos | Get /teams/{id}/repos | List a team's repos |
org_list_teams | Get /orgs/{org}/teams | List an organization's teams |
org_list_user_orgs | Get /users/{username}/orgs | List a user's organizations |
org_publicize_member | Put /orgs/{org}/public_members/{username} | Publicize a user's membership |
org_remove_team_member | Delete /teams/{id}/members/{username} | Remove a team member |
org_remove_team_repository | Delete /teams/{id}/repos/{org}/{repo} | Remove a repository from a team |
team_search | Get /orgs/{org}/teams/search | Search for teams within an organization |
::models::Repository create_org_repo(ctx, ctx, ctx, ctx, ctx, ctx, org, optional) Create a repository in an organization
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 are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
org | String | name of organization | |
body | CreateRepoOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_add_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username) Add a team member
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_add_team_repository(ctx, ctx, ctx, ctx, ctx, ctx, id, org, repo) Add a repository to a team
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_conceal_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username) Conceal a user's membership
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Organization org_create(ctx, ctx, ctx, ctx, ctx, ctx, organization) Create an organization
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook org_create_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, body) Create a hook
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Team org_create_team(ctx, ctx, ctx, ctx, ctx, ctx, org, optional) Create a team
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 are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
org | String | name of the organization | |
body | CreateTeamOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_delete(ctx, ctx, ctx, ctx, ctx, ctx, org) Delete an organization
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_delete_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id) Delete a hook
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_delete_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username) Remove a member from an organization
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_delete_team(ctx, ctx, ctx, ctx, ctx, ctx, id) Delete a team
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Organization org_edit(ctx, ctx, ctx, ctx, ctx, ctx, org, body) Edit an organization
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook org_edit_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id, optional) Update a hook
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 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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Team org_edit_team(ctx, ctx, ctx, ctx, ctx, ctx, id, optional) Edit a team
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 are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
id | i32 | id of the team to edit | |
body | EditTeamOption |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Organization org_get(ctx, ctx, ctx, ctx, ctx, ctx, org) Get an organization
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Hook org_get_hook(ctx, ctx, ctx, ctx, ctx, ctx, org, id) Get a hook
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::Team org_get_team(ctx, ctx, ctx, ctx, ctx, ctx, id) Get a team
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_is_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username) Check if a user is a member of an organization
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_is_public_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username) Check if a user is a public member of an organization
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Organization> org_list_current_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, ) List the current user's organizations
This endpoint does not need any parameter.
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Hook> org_list_hooks(ctx, ctx, ctx, ctx, ctx, ctx, org) List an organization's webhooks
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> org_list_members(ctx, ctx, ctx, ctx, ctx, ctx, org) List an organization's members
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> org_list_public_members(ctx, ctx, ctx, ctx, ctx, ctx, org) List an organization's public members
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Repository> org_list_repos(ctx, ctx, ctx, ctx, ctx, ctx, org) List an organization's repos
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::User org_list_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username) List a particular member of team
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::User> org_list_team_members(ctx, ctx, ctx, ctx, ctx, ctx, id) List a team's members
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Repository> org_list_team_repos(ctx, ctx, ctx, ctx, ctx, ctx, id) List a team's repos
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Team> org_list_teams(ctx, ctx, ctx, ctx, ctx, ctx, org) List an organization's teams
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Vec<::models::Organization> org_list_user_orgs(ctx, ctx, ctx, ctx, ctx, ctx, username) List a user's organizations
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 |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_publicize_member(ctx, ctx, ctx, ctx, ctx, ctx, org, username) Publicize a user's membership
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
org_remove_team_member(ctx, ctx, ctx, ctx, ctx, ctx, id, username) Remove a team member
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
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.
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 |
(empty response body)
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]
::models::InlineResponse200 team_search(ctx, ctx, ctx, ctx, ctx, ctx, org, optional) Search for teams within an organization
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 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) |
AccessToken, AuthorizationHeaderToken, BasicAuth, SudoHeader, SudoParam, Token
[Back to top] [Back to API list] [Back to Model list] [Back to README]