Skip to main content

repos_for_secrets

Overview

Namerepos_for_secrets
TypeResource
Idgithub.codespaces.repos_for_secrets

Fields

NameDatatypeDescription
idinteger
namestring
descriptionstring
has_downloadsboolean
mirror_urlstring
pulls_urlstring
commits_urlstring
network_countinteger
git_urlstring
git_commits_urlstring
notifications_urlstring
trees_urlstring
deployments_urlstring
permissionsobject
archive_urlstring
teams_urlstring
ssh_urlstring
languagestring
subscribers_urlstring
licenseobject
archivedboolean
forksinteger
git_tags_urlstring
open_issuesinteger
role_namestring
homepagestring
collaborators_urlstring
git_refs_urlstring
is_templateboolean
html_urlstring
clone_urlstring
releases_urlstring
node_idstring
forks_urlstring
delete_branch_on_mergeboolean
code_of_conductobjectCode Of Conduct
events_urlstring
compare_urlstring
stargazers_countinteger
languages_urlstring
subscribers_countinteger
full_namestring
ownerobjectSimple User
stargazers_urlstring
topicsarray
branches_urlstring
visibilitystring
contents_urlstring
has_issuesboolean
hooks_urlstring
watchers_countinteger
comments_urlstring
has_wikiboolean
allow_forkingboolean
disabledboolean
created_atstring
open_issues_countinteger
issue_comment_urlstring
temp_clone_tokenstring
issues_urlstring
blobs_urlstring
privateboolean
assignees_urlstring
urlstring
pushed_atstring
default_branchstring
labels_urlstring
statuses_urlstring
tags_urlstring
sizeinteger
contributors_urlstring
updated_atstring
svn_urlstring
forks_countinteger
watchersinteger
has_projectsboolean
template_repositoryobjectA git repository
downloads_urlstring
subscription_urlstring
milestones_urlstring
issue_events_urlstring
merges_urlstring
forkboolean
has_pagesboolean
keys_urlstring

Methods

NameAccessible byRequired ParamsDescription
list_repositories_for_secret_for_authenticated_userSELECTsecret_nameList the repositories that have been granted the ability to use a user's codespace secret.
You must authenticate using an access token with the user or read:user scope to use this endpoint. User must have Codespaces access to use this endpoint.
add_repository_for_secret_for_authenticated_userINSERTrepository_id, secret_nameAdds a repository to the selected repositories for a user's codespace secret.
You must authenticate using an access token with the user or read:user scope to use this endpoint. User must have Codespaces access to use this endpoint.
remove_repository_for_secret_for_authenticated_userDELETErepository_id, secret_nameRemoves a repository from the selected repositories for a user's codespace secret.
You must authenticate using an access token with the user or read:user scope to use this endpoint. User must have Codespaces access to use this endpoint.
set_repositories_for_secret_for_authenticated_userEXECsecret_name, data__selected_repository_idsSelect the repositories that will use a user's codespace secret.
You must authenticate using an access token with the user or read:user scope to use this endpoint. User must have Codespaces access to use this endpoint.