View Source GitHub.Copilot (GitHub REST API Client v0.0.13)

Provides API endpoints related to copilot

Link to this section Summary

Functions

Add teams to the Copilot for Business subscription for an organization

Add users to the Copilot for Business subscription for an organization

Remove teams from the Copilot for Business subscription for an organization

Remove users from the Copilot for Business subscription for an organization

Get Copilot for Business seat information and settings for an organization

Get Copilot for Business seat assignment details for a user

List all Copilot for Business seat assignments for an organization

Link to this section Functions

Link to this function

add_copilot_for_business_seats_for_teams(org, body, opts \\ [])

View Source
@spec add_copilot_for_business_seats_for_teams(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, GitHub.Error.t()}

Add teams to the Copilot for Business subscription for an organization

resources

Resources

Link to this function

add_copilot_for_business_seats_for_users(org, body, opts \\ [])

View Source
@spec add_copilot_for_business_seats_for_users(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, GitHub.Error.t()}

Add users to the Copilot for Business subscription for an organization

resources

Resources

Link to this function

cancel_copilot_seat_assignment_for_teams(org, body, opts \\ [])

View Source
@spec cancel_copilot_seat_assignment_for_teams(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, GitHub.Error.t()}

Remove teams from the Copilot for Business subscription for an organization

resources

Resources

Link to this function

cancel_copilot_seat_assignment_for_users(org, body, opts \\ [])

View Source
@spec cancel_copilot_seat_assignment_for_users(String.t(), map(), keyword()) ::
  {:ok, map()} | {:error, GitHub.Error.t()}

Remove users from the Copilot for Business subscription for an organization

resources

Resources

Link to this function

get_copilot_organization_details(org, opts \\ [])

View Source
@spec get_copilot_organization_details(
  String.t(),
  keyword()
) :: {:ok, GitHub.Copilot.OrganizationDetails.t()} | {:error, GitHub.Error.t()}

Get Copilot for Business seat information and settings for an organization

resources

Resources

Link to this function

get_copilot_seat_assignment_details_for_user(org, username, opts \\ [])

View Source
@spec get_copilot_seat_assignment_details_for_user(String.t(), String.t(), keyword()) ::
  {:ok, GitHub.Copilot.SeatDetails.t()} | {:error, GitHub.Error.t()}

Get Copilot for Business seat assignment details for a user

resources

Resources

Link to this function

list_copilot_seats(org, opts \\ [])

View Source
@spec list_copilot_seats(
  String.t(),
  keyword()
) :: {:ok, map()} | {:error, GitHub.Error.t()}

List all Copilot for Business seat assignments for an organization

options

Options

  • page (integer): Page number of the results to fetch.
  • per_page (integer): The number of results per page (max 100).

resources

Resources