LIST CODESPACES FOR THE AUTHENTICATED USER
Lists the authenticated user's codespaces. OAuth app tokens and personal
access tokens (classic) need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_CODESPACES_FOR_THE_AUTHENTICATED_USER])
CREATE A CODESPACE FOR THE AUTHENTICATED USER
Creates a new codespace, owned by the authenticated user. This endpoint
requires either a `repository_id` OR a `pull_request` but not both. OAuth
app tokens and personal access tokens (classic
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
LIST SECRETS FOR THE AUTHENTICATED USER
Endpoint lists a user's Codespaces development environment secrets without
showing encrypted values. User must have Codespaces access, and OAuth or
personal access tokens require `codespace` o
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_SECRETS_FOR_THE_AUTHENTICATED_USER])
GET PUBLIC KEY FOR THE AUTHENTICATED USER
This endpoint allows users with Codespaces access to encrypt secrets using
a public key. Users must encrypt secrets prior to creation or update. OAuth
app tokens and personal access tokens nee
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_PUBLIC_KEY_FOR_THE_AUTHENTICATED_USER])
GET A SECRET FOR THE AUTHENTICATED USER
This service allows authenticated users with Codespace access to integrate
development environment secrets into codespaces without exposing encrypted
values, requiring `codespace` or `codespac
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_SECRET_FOR_THE_AUTHENTICATED_USER])
CREATE OR UPDATE A SECRET FOR THE AUTHENTICATED USER
This text explains how to create or update a secret for a codespace via
API, using LibSodium for encryption. Users need Codespaces access and appropriate
OAuth scopes (`codespace` or `codespac
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_OR_UPDATE_A_SECRET_FOR_THE_AUTHENTICATED_USER])
DELETE A SECRET FOR THE AUTHENTICATED USER
Deletes a Codespaces development environment secret by name, removing access
from all authorized codespaces. Requires Codespaces access, and OAuth or
personal access tokens with `codespace` or
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_SECRET_FOR_THE_AUTHENTICATED_USER])
LIST SELECTED REPOSITORIES FOR A USER SECRET
To list repositories with access to a user's dev environment secret, the
user must have Codespaces access. OAuth or classic personal tokens with
`codespace` or `codespace:secrets` scope are re
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_SELECTED_REPOSITORIES_FOR_A_USER_SECRET])
SET SELECTED REPOSITORIES FOR A USER SECRET
This endpoint allows selecting repositories for a user's development environment
secret, requiring Codespaces access, OAuth app tokens, or personal access
tokens with `codespace` or `codespace
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_SET_SELECTED_REPOSITORIES_FOR_A_USER_SECRET])
ADD A SELECTED REPOSITORY TO A USER SECRET
This endpoint adds a repository to a user's development environment secret,
requiring Codespaces access and the `codespace` or `codespace:secrets` scope
for OAuth or personal access tokens.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_ADD_A_SELECTED_REPOSITORY_TO_A_USER_SECRET])
REMOVE A SELECTED REPOSITORY FROM A USER SECRET
This endpoint removes a repository from a user's dev environment secret,
requiring Codespaces access, and OAuth or classic tokens with specific scopes.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_REMOVE_A_SELECTED_REPOSITORY_FROM_A_USER_SECRET])
GET A CODESPACE FOR THE AUTHENTICATED USER
Gets information about a user's codespace. OAuth app tokens and personal
access tokens (classic) need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
UPDATE A CODESPACE FOR THE AUTHENTICATED USER
This endpoint updates a user's codespace, modifying its machine type and
recent folders. Changes apply upon next start. OAuth app tokens and personal
access tokens with 'codespace' scope are r
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_UPDATE_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
DELETE A CODESPACE FOR THE AUTHENTICATED USER
Deletes a user's codespace. OAuth app tokens and personal access tokens
(classic) need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_DELETE_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
EXPORT A CODESPACE FOR THE AUTHENTICATED USER
Exports a specified codespace, providing a URL and ID to track its status.
If unable to push to the repository, changes are pushed to a fork. OAuth
and classic tokens require `codespace` scope
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_EXPORT_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
GET DETAILS ABOUT A CODESPACE EXPORT
Gets information about an export of a codespace. OAuth app tokens and personal
access tokens (classic) need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_GET_DETAILS_ABOUT_A_CODESPACE_EXPORT])
LIST MACHINE TYPES FOR A CODESPACE
List the machine types a codespace can transition to use. OAuth app tokens
and personal access tokens (classic) need the `codespace` scope to use this
endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_LIST_MACHINE_TYPES_FOR_A_CODESPACE])
CREATE A REPOSITORY FROM AN UNPUBLISHED CODESPACE
Publishing an unpublished codespace creates a new repository, granting the
codespace's token write permissions. Publishing fails for codespaces already
linked to a repository. OAuth and classi
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_CREATE_A_REPOSITORY_FROM_AN_UNPUBLISHED_CODESPACE])
START A CODESPACE FOR THE AUTHENTICATED USER
Starts a user's codespace. OAuth app tokens and personal access tokens (classic)
need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_START_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])
STOP A CODESPACE FOR THE AUTHENTICATED USER
Stops a user's codespace. OAuth app tokens and personal access tokens (classic)
need the `codespace` scope to use this endpoint.
from composio_langchain import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GITHUB_STOP_A_CODESPACE_FOR_THE_AUTHENTICATED_USER])