Repos

WebService::GitHub::Repos

Check if vulnerability alerts are enabled for a repository

	WebService::GitHub::Repos.check-vulnerability-alerts(  Str $owner
,  Str $repo
 )

Create a repository dispatch event

	WebService::GitHub::Repos.create-dispatch-event(  Str $owner
,  Str $repo
,  Associative :$client-payload
,  Str :$event-type!
 )

Create a repository for the authenticated user

	WebService::GitHub::Repos.create-for-authenticated-user(  Str :$description
,  Str :$homepage
,  Bool :$has-issues
,  Str :$name!
,  Bool :$allow-merge-commit
,  Bool :$allow-squash-merge
,  Str :$license-template
,  Bool :$delete-branch-on-merge
,  Bool :$has-wiki
,  Int(Str) :$team-id
,  Str :$gitignore-template
,  Bool :$auto-init
,  Bool :$private
,  Bool :$has-downloads
,  Bool :$is-template
,  Bool :$allow-rebase-merge
,  Bool :$has-projects
 )

Create an organization repository

	WebService::GitHub::Repos.create-in-org(  Str $org
,  Bool :$allow-squash-merge
,  Bool :$has-issues
,  WebService::GitHub::Repos::CreateInOrgVisibility :$visibility
,  Str :$description
,  Bool :$auto-init
,  Bool :$is-template
,  Str :$license-template
,  Str :$gitignore-template
,  Bool :$has-wiki
,  Bool :$private
,  Bool :$has-projects
,  Str :$name!
,  Bool :$delete-branch-on-merge
,  Bool :$allow-rebase-merge
,  Bool :$allow-merge-commit
,  Str :$homepage
,  Int(Str) :$team-id
 )

Create a repository using a template

	WebService::GitHub::Repos.create-using-template(  Str $template-owner
,  Str $template-repo
,  Str :$description
,  Bool :$private
,  Bool :$include-all-branches
,  Str :$name!
,  Str :$owner
 )

Delete a repository

	WebService::GitHub::Repos.delete(  Str $owner
,  Str $repo
 )

Disable automated security fixes

	WebService::GitHub::Repos.disable-automated-security-fixes(  Str $owner
,  Str $repo
 )

Disable vulnerability alerts

	WebService::GitHub::Repos.disable-vulnerability-alerts(  Str $owner
,  Str $repo
 )

Enable automated security fixes

	WebService::GitHub::Repos.enable-automated-security-fixes(  Str $owner
,  Str $repo
 )

Enable vulnerability alerts

	WebService::GitHub::Repos.enable-vulnerability-alerts(  Str $owner
,  Str $repo
 )

Get a repository

	WebService::GitHub::Repos.get(  Str $owner
,  Str $repo
 )

Get all repository topics

	WebService::GitHub::Repos.get-all-topics(  Str $owner
,  Str $repo
,  Int(Str) :$page
,  Int(Str) :$per-page
 )

List repository contributors

	WebService::GitHub::Repos.list-contributors(  Str $owner
,  Str $repo
,  Str :$anon
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

List repositories for the authenticated user

	WebService::GitHub::Repos.list-for-authenticated-user(  WebService::GitHub::Repos::ListForAuthenticatedUserVisibility :$visibility
,  Str :$affiliation
,  WebService::GitHub::Repos::ListForAuthenticatedUserType :$type
,  WebService::GitHub::Repos::ListForAuthenticatedUserSort :$sort
,  WebService::GitHub::Repos::ListForAuthenticatedUserDirection :$direction
,  Int(Str) :$per-page
,  Int(Str) :$page
,  Str :$since
,  Str :$before
 )

List organization repositories

	WebService::GitHub::Repos.list-for-org(  Str $org
,  WebService::GitHub::Repos::ListForOrgType :$type
,  WebService::GitHub::Repos::ListForOrgSort :$sort
,  WebService::GitHub::Repos::ListForOrgDirection :$direction
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

List repositories for a user

	WebService::GitHub::Repos.list-for-user(  Str $username
,  WebService::GitHub::Repos::ListForUserType :$type
,  WebService::GitHub::Repos::ListForUserSort :$sort
,  WebService::GitHub::Repos::ListForUserDirection :$direction
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

List repository languages

	WebService::GitHub::Repos.list-languages(  Str $owner
,  Str $repo
 )

List public repositories

	WebService::GitHub::Repos.list-public(  Int(Str) :$since
 )

List repository tags

	WebService::GitHub::Repos.list-tags(  Str $owner
,  Str $repo
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

List repository teams

	WebService::GitHub::Repos.list-teams(  Str $owner
,  Str $repo
,  Int(Str) :$per-page
,  Int(Str) :$page
 )

Replace all repository topics

	WebService::GitHub::Repos.replace-all-topics(  Str $owner
,  Str $repo
,  Positional :$names!
 )

Transfer a repository

	WebService::GitHub::Repos.transfer(  Str $owner
,  Str $repo
,  Str :$new-owner!
,  Positional :$team-ids
 )

Update a repository

	WebService::GitHub::Repos.update(  Str $owner
,  Str $repo
,  Bool :$has-issues
,  Str :$default-branch
,  Bool :$allow-rebase-merge
,  Bool :$private
,  Bool :$delete-branch-on-merge
,  WebService::GitHub::Repos::UpdateVisibility :$visibility
,  Bool :$archived
,  Str :$homepage
,  Bool :$has-projects
,  Bool :$allow-squash-merge
,  Bool :$is-template
,  Str :$name
,  Bool :$allow-merge-commit
,  Bool :$has-wiki
,  Str :$description
 )

WebService::GitHub v0.2.0

GitHub API

Authors

  • Fayland Lam
  • Khalid Mohamed Elborai
  • Patrick Böker

License

Artistic-2.0

Dependencies

MIME::Base64:ver<1.2.3>:auth<zef:raku-community-modules>URI:ver<0.3.5>HTTP::UserAgent:ver<1.1.51>:auth<github:sergot>JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>Cache::LRU:ver<0.1.0>Subset::Helper:ver<1.001002>:auth<zef:raku-community-modules>

Provides

  • WebService::GitHub
  • WebService::GitHub::Actions::Artifacts
  • WebService::GitHub::Actions::Permissions
  • WebService::GitHub::Actions::Secrets
  • WebService::GitHub::Actions::SelfHostedRunnerGroups
  • WebService::GitHub::Actions::SelfHostedRunners
  • WebService::GitHub::Actions::WorkflowJobs
  • WebService::GitHub::Actions::WorkflowRuns
  • WebService::GitHub::Actions::Workflows
  • WebService::GitHub::Activity::Events
  • WebService::GitHub::Activity::Feeds
  • WebService::GitHub::Activity::Notifications
  • WebService::GitHub::Activity::Starring
  • WebService::GitHub::Activity::Watching
  • WebService::GitHub::AppAuth
  • WebService::GitHub::Apps
  • WebService::GitHub::Apps::Installations
  • WebService::GitHub::Apps::Marketplace
  • WebService::GitHub::Apps::OauthApplications
  • WebService::GitHub::Apps::Webhooks
  • WebService::GitHub::Billing
  • WebService::GitHub::Checks::Runs
  • WebService::GitHub::Checks::Suites
  • WebService::GitHub::CodeScanning
  • WebService::GitHub::CodesOfConduct
  • WebService::GitHub::Emojis
  • WebService::GitHub::EnterpriseAdmin::Actions
  • WebService::GitHub::EnterpriseAdmin::AuditLog
  • WebService::GitHub::EnterpriseAdmin::Billing
  • WebService::GitHub::EnterpriseAdmin::Scim
  • WebService::GitHub::Gists
  • WebService::GitHub::Gists::Comments
  • WebService::GitHub::Git::Blobs
  • WebService::GitHub::Git::Commits
  • WebService::GitHub::Git::Refs
  • WebService::GitHub::Git::Tags
  • WebService::GitHub::Git::Trees
  • WebService::GitHub::Gitignore
  • WebService::GitHub::GraphQL
  • WebService::GitHub::Interactions::Orgs
  • WebService::GitHub::Interactions::Repos
  • WebService::GitHub::Interactions::User
  • WebService::GitHub::Issues
  • WebService::GitHub::Issues::Assignees
  • WebService::GitHub::Issues::Comments
  • WebService::GitHub::Issues::Events
  • WebService::GitHub::Issues::Labels
  • WebService::GitHub::Issues::Milestones
  • WebService::GitHub::Issues::Timeline
  • WebService::GitHub::Licenses
  • WebService::GitHub::Markdown
  • WebService::GitHub::Meta
  • WebService::GitHub::Migrations::Orgs
  • WebService::GitHub::Migrations::SourceImports
  • WebService::GitHub::Migrations::Users
  • WebService::GitHub::OauthAuthorizations
  • WebService::GitHub::Orgs
  • WebService::GitHub::Orgs::Blocking
  • WebService::GitHub::Orgs::Members
  • WebService::GitHub::Orgs::OutsideCollaborators
  • WebService::GitHub::Orgs::Webhooks
  • WebService::GitHub::Packages
  • WebService::GitHub::Projects
  • WebService::GitHub::Projects::Cards
  • WebService::GitHub::Projects::Collaborators
  • WebService::GitHub::Projects::Columns
  • WebService::GitHub::Pulls
  • WebService::GitHub::Pulls::Comments
  • WebService::GitHub::Pulls::ReviewRequests
  • WebService::GitHub::Pulls::Reviews
  • WebService::GitHub::RateLimit
  • WebService::GitHub::Reactions
  • WebService::GitHub::Repos
  • WebService::GitHub::Repos::Branches
  • WebService::GitHub::Repos::Collaborators
  • WebService::GitHub::Repos::Comments
  • WebService::GitHub::Repos::Commits
  • WebService::GitHub::Repos::Community
  • WebService::GitHub::Repos::Contents
  • WebService::GitHub::Repos::Deployments
  • WebService::GitHub::Repos::Environments
  • WebService::GitHub::Repos::Forks
  • WebService::GitHub::Repos::Invitations
  • WebService::GitHub::Repos::Keys
  • WebService::GitHub::Repos::Merging
  • WebService::GitHub::Repos::Pages
  • WebService::GitHub::Repos::Releases
  • WebService::GitHub::Repos::Statistics
  • WebService::GitHub::Repos::Statuses
  • WebService::GitHub::Repos::Traffic
  • WebService::GitHub::Repos::Webhooks
  • WebService::GitHub::Response
  • WebService::GitHub::Role
  • WebService::GitHub::Role::CustomUserAgent
  • WebService::GitHub::Role::Debug
  • WebService::GitHub::Scim
  • WebService::GitHub::Search
  • WebService::GitHub::SecretScanning
  • WebService::GitHub::Teams
  • WebService::GitHub::Teams::DiscussionComments
  • WebService::GitHub::Teams::Discussions
  • WebService::GitHub::Teams::Members
  • WebService::GitHub::Teams::TeamSync
  • WebService::GitHub::Users
  • WebService::GitHub::Users::Blocking
  • WebService::GitHub::Users::Emails
  • WebService::GitHub::Users::Followers
  • WebService::GitHub::Users::GpgKeys
  • WebService::GitHub::Users::Keys

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.