api-clients/github-enterprise-cloud

非阻塞首位 GitHub Enterprise Cloud 客户端

v0.1.x-dev 2024-09-18 21:32 UTC

This package is auto-updated.

Last update: 2024-09-19 03:35:02 UTC


README

Continuous Integration Latest Stable Version Total Downloads Code Coverage License

非阻塞首位 GitHub Enterprise Cloud 客户端,这是一个只读的子拆分,有关根包的信息请参阅 github-root

使用方法

use React\Http\Browser;
use ApiClients\Client\GitHubEnterpriseCloud\BearerToken;
use ApiClients\Client\GitHubEnterpriseCloud\Client;

use function React\Async\async;

$client = new Client(new BearerToken('YOUR_TOKEN_HERE'), new Browser());

// The client is using react/async internally to provide a non-promise API.
// As such you're expected to use it inside a fiber, the async call here is
// added to demonstrate and documented that requirement. The rest of the
// examples assume you have already wrapped in a fiber 0 or more levels up
// in your code such as a command bus executer or your HTTP server.
async(static function () {
    // Make API calls using the call method
    $client->call('METHOD /path/to/{the}/operation', ['array' => 'with', 'paramters' => 'for', 'the' => 'operation']);
    // Make API calls using the operations objects
    $client->operations()->group()->operation(array: 'with', paramters: 'for', the: 'operation');
})();

支持的操作

meta/root

GitHub API 根

使用 call 方法

$client->call('GET /');

操作方法

$client->operations()->meta()->root();

您可以在API 方法文档中找到更多关于此操作的信息。

security-advisories/list-global-advisories

列出全局安全公告

使用 call 方法

$client->call('GET /advisories', [
        'ghsa_id' => 'generated',
        'cve_id' => 'generated',
        'ecosystem' => 'generated',
        'severity' => 'generated',
        'cwes' => ,
        'is_withdrawn' => ,
        'affects' => ,
        'published' => 'generated',
        'updated' => 'generated',
        'modified' => 'generated',
        'epss_percentage' => 'generated',
        'epss_percentile' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'sort' => 'generated',
]);

操作方法

$client->operations()->securityAdvisories()->listGlobalAdvisories(        ghsa_id: 'generated',
        cve_id: 'generated',
        ecosystem: 'generated',
        severity: 'generated',
        cwes: ,
        is_withdrawn: ,
        affects: ,
        published: 'generated',
        updated: 'generated',
        modified: 'generated',
        epss_percentage: 'generated',
        epss_percentile: 'generated',
        before: 'generated',
        after: 'generated',
        type: 'generated',
        direction: 'generated',
        per_page: 8,
        sort: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

security-advisories/get-global-advisory

获取全局安全公告

使用 call 方法

$client->call('GET /advisories/{ghsa_id}', [
        'ghsa_id' => 'generated',
]);

操作方法

$client->operations()->securityAdvisories()->getGlobalAdvisory(        ghsa_id: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/get-authenticated

获取已认证的应用

使用 call 方法

$client->call('GET /app');

操作方法

$client->operations()->apps()->getAuthenticated();

您可以在API 方法文档中找到更多关于此操作的信息。

apps/create-from-manifest

从清单创建 GitHub 应用

使用 call 方法

$client->call('POST /app-manifests/{code}/conversions', [
        'code' => 'generated',
]);

操作方法

$client->operations()->apps()->createFromManifest(        code: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/get-webhook-config-for-app

获取应用的网络钩子配置

使用 call 方法

$client->call('GET /app/hook/config');

操作方法

$client->operations()->apps()->getWebhookConfigForApp();

您可以在API 方法文档中找到更多关于此操作的信息。

apps/update-webhook-config-for-app

更新应用的网络钩子配置

使用 call 方法

$client->call('PATCH /app/hook/config');

操作方法

$client->operations()->apps()->updateWebhookConfigForApp();

您可以在API 方法文档中找到更多关于此操作的信息。

apps/list-webhook-deliveries

列出应用网络钩子的投递

使用 call 方法

$client->call('GET /app/hook/deliveries', [
        'cursor' => 'generated',
        'redelivery' => ,
        'per_page' => 8,
]);

操作方法

$client->operations()->apps()->listWebhookDeliveries(        cursor: 'generated',
        redelivery: ,
        per_page: 8,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/get-webhook-delivery

获取应用网络钩子的投递

使用 call 方法

$client->call('GET /app/hook/deliveries/{delivery_id}', [
        'delivery_id' => 11,
]);

操作方法

$client->operations()->apps()->getWebhookDelivery(        delivery_id: 11,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/redeliver-webhook-delivery

重新投递应用网络钩子的投递

使用 call 方法

$client->call('POST /app/hook/deliveries/{delivery_id}/attempts', [
        'delivery_id' => 11,
]);

操作方法

$client->operations()->apps()->redeliverWebhookDelivery(        delivery_id: 11,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/list-installation-requests-for-authenticated-app

列出已认证应用的安装请求

使用 call 方法

$client->call('GET /app/installation-requests', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listInstallationRequestsForAuthenticatedApp(        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/list-installation-requests-for-authenticated-app

列出已认证应用的安装请求

使用 call 方法

$client->call('LIST /app/installation-requests', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listInstallationRequestsForAuthenticatedAppListing(        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/list-installations

列出已认证应用的安装

使用 call 方法

$client->call('GET /app/installations', [
        'since' => '1970-01-01T00:00:00+00:00',
        'outdated' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listInstallations(        since: '1970-01-01T00:00:00+00:00',
        outdated: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/list-installations

列出已认证应用的安装

使用 call 方法

$client->call('LIST /app/installations', [
        'since' => '1970-01-01T00:00:00+00:00',
        'outdated' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listInstallationsListing(        since: '1970-01-01T00:00:00+00:00',
        outdated: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

apps/get-installation

获取已认证应用的安装信息

使用 call 方法

$client->call('GET /app/installations/{installation_id}', [
        'installation_id' => 15,
]);

操作方法

$client->operations()->apps()->getInstallation(        installation_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/delete-installation

删除已认证应用的安装信息

使用 call 方法

$client->call('DELETE /app/installations/{installation_id}', [
        'installation_id' => 15,
]);

操作方法

$client->operations()->apps()->deleteInstallation(        installation_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/create-installation-access-token

为应用创建安装访问令牌

使用 call 方法

$client->call('POST /app/installations/{installation_id}/access_tokens', [
        'installation_id' => 15,
]);

操作方法

$client->operations()->apps()->createInstallationAccessToken(        installation_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/suspend-installation

暂停应用安装

使用 call 方法

$client->call('PUT /app/installations/{installation_id}/suspended', [
        'installation_id' => 15,
]);

操作方法

$client->operations()->apps()->suspendInstallation(        installation_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/unsuspend-installation

恢复应用安装

使用 call 方法

$client->call('DELETE /app/installations/{installation_id}/suspended', [
        'installation_id' => 15,
]);

操作方法

$client->operations()->apps()->unsuspendInstallation(        installation_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/delete-authorization

删除应用授权

使用 call 方法

$client->call('DELETE /applications/{client_id}/grant', [
        'client_id' => 'generated',
]);

操作方法

$client->operations()->apps()->deleteAuthorization(        client_id: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/check-token

检查令牌

使用 call 方法

$client->call('POST /applications/{client_id}/token', [
        'client_id' => 'generated',
]);

操作方法

$client->operations()->apps()->checkToken(        client_id: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/delete-token

删除应用令牌

使用 call 方法

$client->call('DELETE /applications/{client_id}/token', [
        'client_id' => 'generated',
]);

操作方法

$client->operations()->apps()->deleteToken(        client_id: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/reset-token

重置令牌

使用 call 方法

$client->call('PATCH /applications/{client_id}/token', [
        'client_id' => 'generated',
]);

操作方法

$client->operations()->apps()->resetToken(        client_id: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/scope-token

创建受限访问令牌

使用 call 方法

$client->call('POST /applications/{client_id}/token/scoped', [
        'client_id' => 'generated',
]);

操作方法

$client->operations()->apps()->scopeToken(        client_id: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

apps/get-by-slug

获取应用

使用 call 方法

$client->call('GET /apps/{app_slug}', [
        'app_slug' => 'generated',
]);

操作方法

$client->operations()->apps()->getBySlug(        app_slug: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/get-an-assignment

获取作业

使用 call 方法

$client->call('GET /assignments/{assignment_id}', [
        'assignment_id' => 13,
]);

操作方法

$client->operations()->classroom()->getAnAssignment(        assignment_id: 13,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-accepted-assigments-for-an-assignment

列出作业的已接受作业

使用 call 方法

$client->call('GET /assignments/{assignment_id}/accepted_assignments', [
        'assignment_id' => 13,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listAcceptedAssigmentsForAnAssignment(        assignment_id: 13,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-accepted-assigments-for-an-assignment

列出作业的已接受作业

使用 call 方法

$client->call('LIST /assignments/{assignment_id}/accepted_assignments', [
        'assignment_id' => 13,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listAcceptedAssigmentsForAnAssignmentListing(        assignment_id: 13,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/get-assignment-grades

获取作业评分

使用 call 方法

$client->call('GET /assignments/{assignment_id}/grades', [
        'assignment_id' => 13,
]);

操作方法

$client->operations()->classroom()->getAssignmentGrades(        assignment_id: 13,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-classrooms

列出教室

使用 call 方法

$client->call('GET /classrooms', [
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listClassrooms(        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-classrooms

列出教室

使用 call 方法

$client->call('LIST /classrooms', [
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listClassroomsListing(        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/get-a-classroom

获取教室

使用 call 方法

$client->call('GET /classrooms/{classroom_id}', [
        'classroom_id' => 12,
]);

操作方法

$client->operations()->classroom()->getAClassroom(        classroom_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-assignments-for-a-classroom

列出教室的作业

使用 call 方法

$client->call('GET /classrooms/{classroom_id}/assignments', [
        'classroom_id' => 12,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listAssignmentsForAClassroom(        classroom_id: 12,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

classroom/list-assignments-for-a-classroom

列出教室的作业

使用 call 方法

$client->call('LIST /classrooms/{classroom_id}/assignments', [
        'classroom_id' => 12,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->classroom()->listAssignmentsForAClassroomListing(        classroom_id: 12,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

codes-of-conduct/get-all-codes-of-conduct

获取所有行为准则

使用 call 方法

$client->call('GET /codes_of_conduct');

操作方法

$client->operations()->codesOfConduct()->getAllCodesOfConduct();

您可以在API 方法文档中了解更多关于此操作的信息。

codes-of-conduct/get-conduct-code

获取行为准则

使用 call 方法

$client->call('GET /codes_of_conduct/{key}', [
        'key' => 'generated',
]);

操作方法

$client->operations()->codesOfConduct()->getConductCode(        key: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

emojis/get

获取表情符号

使用 call 方法

$client->call('GET /emojis');

操作方法

$client->operations()->emojis()->get();

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/get-server-statistics

获取 GitHub Enterprise Server 统计数据

使用 call 方法

$client->call('GET /enterprise-installation/{enterprise_or_org}/server-statistics', [
        'enterprise_or_org' => 'generated',
        'date_start' => 'generated',
        'date_end' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->getServerStatistics(        enterprise_or_org: 'generated',
        date_start: 'generated',
        date_end: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

actions/get-actions-cache-usage-for-enterprise

获取企业的 GitHub Actions 缓存使用情况

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/cache/usage', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->actions()->getActionsCacheUsageForEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

actions/set-actions-oidc-custom-issuer-policy-for-enterprise

设置企业的 GitHub Actions OIDC 自定义发行者策略

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/oidc/customization/issuer', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->actions()->setActionsOidcCustomIssuerPolicyForEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/get-github-actions-permissions-enterprise

获取企业的 GitHub Actions 权限

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/permissions', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->getGithubActionsPermissionsEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/set-github-actions-permissions-enterprise

设置企业的 GitHub Actions 权限

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/permissions', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->setGithubActionsPermissionsEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise

列出企业中启用了 GitHub Actions 的选定组织

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/permissions/organizations', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->listSelectedOrganizationsEnabledGithubActionsEnterprise(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/set-selected-organizations-enabled-github-actions-enterprise

设置企业中启用了 GitHub Actions 的选定组织

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->setSelectedOrganizationsEnabledGithubActionsEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/enable-selected-organization-github-actions-enterprise

在企业中启用选定组织使用 GitHub Actions

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
        'enterprise' => 'generated',
        'org_id' => 6,
]);

操作方法

$client->operations()->enterpriseAdmin()->enableSelectedOrganizationGithubActionsEnterprise(        enterprise: 'generated',
        org_id: 6,
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/disable-selected-organization-github-actions-enterprise

在企业中禁用选定组织使用 GitHub Actions

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
        'enterprise' => 'generated',
        'org_id' => 6,
]);

操作方法

$client->operations()->enterpriseAdmin()->disableSelectedOrganizationGithubActionsEnterprise(        enterprise: 'generated',
        org_id: 6,
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/get-allowed-actions-enterprise

获取企业的允许动作和可重用工作流程

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/permissions/selected-actions', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->getAllowedActionsEnterprise(        enterprise: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

enterprise-admin/set-allowed-actions-enterprise

设置企业的允许动作和可重用工作流程

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/permissions/selected-actions', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->setAllowedActionsEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-github-actions-default-workflow-permissions-enterprise

获取企业的默认工作流程权限

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/permissions/workflow', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-github-actions-default-workflow-permissions-enterprise

设置企业的默认工作流程权限

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/permissions/workflow', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/list-self-hosted-runner-groups-for-enterprise

列出企业的自托管运行器组

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runner-groups', [
        'enterprise' => 'generated',
        'visible_to_organization' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->listSelfHostedRunnerGroupsForEnterprise(        enterprise: 'generated',
        visible_to_organization: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/create-self-hosted-runner-group-for-enterprise

为企业的自托管运行器组创建

使用 call 方法

$client->call('POST /enterprises/{enterprise}/actions/runner-groups', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->createSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/get-self-hosted-runner-group-for-enterprise

获取企业的自托管运行器组

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->enterpriseAdmin()->getSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/delete-self-hosted-runner-group-from-enterprise

从企业中删除自托管运行器组

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerGroupFromEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/update-self-hosted-runner-group-for-enterprise

更新企业的自托管运行器组

使用 call 方法

$client->call('PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->enterpriseAdmin()->updateSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise

列出企业在自托管运行器组中的组织访问权限

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->listOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise

设置企业在自托管运行器组中的组织访问权限

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->enterpriseAdmin()->setOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise

为企业在自托管运行器组中添加组织访问权限

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'org_id' => 6,
]);

操作方法

$client->operations()->enterpriseAdmin()->addOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        org_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise

从企业在自托管运行器组中删除组织访问权限

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'org_id' => 6,
]);

操作方法

$client->operations()->enterpriseAdmin()->removeOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        org_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/list-self-hosted-runners-in-group-for-enterprise

列出企业组中的自托管运行器

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->listSelfHostedRunnersInGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/set-self-hosted-runners-in-group-for-enterprise

为企业的组设置自托管运行器

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->enterpriseAdmin()->setSelfHostedRunnersInGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/add-self-hosted-runner-to-group-for-enterprise

将自托管运行器添加到企业的组

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->addSelfHostedRunnerToGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise

从企业的组中删除自托管运行器

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->removeSelfHostedRunnerFromGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/list-self-hosted-runners-for-enterprise

列出企业的自托管运行器

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runners', [
        'name' => 'generated',
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->listSelfHostedRunnersForEnterprise(        name: 'generated',
        enterprise: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/list-runner-applications-for-enterprise

列出企业的运行器应用程序

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runners/downloads', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->listRunnerApplicationsForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

actions/generate-runner-jitconfig-for-enterprise

为企业的即时运行器创建配置

使用 call 方法

$client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->actions()->generateRunnerJitconfigForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/create-registration-token-for-enterprise

为企业创建注册令牌

使用 call 方法

$client->call('POST /enterprises/{enterprise}/actions/runners/registration-token', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->createRegistrationTokenForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/create-remove-token-for-enterprise

为企业创建删除令牌

使用 call 方法

$client->call('POST /enterprises/{enterprise}/actions/runners/remove-token', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->createRemoveTokenForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/get-self-hosted-runner-for-enterprise

获取企业的自托管运行器

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->getSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/delete-self-hosted-runner-from-enterprise

从企业中删除自托管运行器

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerFromEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/list-labels-for-self-hosted-runner-for-enterprise

列出企业的自托管运行器的标签

使用 call 方法

$client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->listLabelsForSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/set-custom-labels-for-self-hosted-runner-for-enterprise

为企业自托管运行器设置自定义标签

使用 call 方法

$client->call('PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->setCustomLabelsForSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/add-custom-labels-to-self-hosted-runner-for-enterprise

为企业自托管运行器添加自定义标签

使用 call 方法

$client->call('POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->addCustomLabelsToSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到有关此操作的更多信息。

enterprise-admin/remove-all-custom-labels-from-self-hosted-runner-for-enterprise

从企业自建运行器中删除所有自定义标签

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->enterpriseAdmin()->removeAllCustomLabelsFromSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/remove-custom-label-from-self-hosted-runner-for-enterprise

从企业自建运行器中删除自定义标签

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->removeCustomLabelFromSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/get-announcement-banner-for-enterprise

获取企业的公告横幅

使用 call 方法

$client->call('GET /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->getAnnouncementBannerForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/remove-announcement-banner-for-enterprise

从企业中删除公告横幅

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->removeAnnouncementBannerForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/set-announcement-banner-for-enterprise

为企业设置公告横幅

使用 call 方法

$client->call('PATCH /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->setAnnouncementBannerForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/get-audit-log

获取企业的审计日志

使用 call 方法

$client->call('GET /enterprises/{enterprise}/audit-log', [
        'enterprise' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->enterpriseAdmin()->getAuditLog(        enterprise: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/get-audit-log

获取企业的审计日志

使用 call 方法

$client->call('LIST /enterprises/{enterprise}/audit-log', [
        'enterprise' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->enterpriseAdmin()->getAuditLogListing(        enterprise: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

code-scanning/list-alerts-for-enterprise

列出企业的代码扫描警报

使用 call 方法

$client->call('GET /enterprises/{enterprise}/code-scanning/alerts', [
        'enterprise' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForEnterprise(        enterprise: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

code-scanning/list-alerts-for-enterprise

列出企业的代码扫描警报

使用 call 方法

$client->call('LIST /enterprises/{enterprise}/code-scanning/alerts', [
        'enterprise' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForEnterpriseListing(        enterprise: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/get-security-analysis-settings-for-enterprise

获取企业的代码安全和分析功能

使用 call 方法

$client->call('GET /enterprises/{enterprise}/code_security_and_analysis', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->secretScanning()->getSecurityAnalysisSettingsForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/patch-security-analysis-settings-for-enterprise

更新企业的代码安全和分析功能

使用 call 方法

$client->call('PATCH /enterprises/{enterprise}/code_security_and_analysis', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->secretScanning()->patchSecurityAnalysisSettingsForEnterprise(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/get-consumed-licenses

列出企业消耗的许可证

使用 call 方法

$client->call('GET /enterprises/{enterprise}/consumed-licenses', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->enterpriseAdmin()->getConsumedLicenses(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/list-copilot-seats-for-enterprise

列出企业中所有Copilot座位的分配

使用 call 方法

$client->call('GET /enterprises/{enterprise}/copilot/billing/seats', [
        'enterprise' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->listCopilotSeatsForEnterprise(        enterprise: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-enterprise

获取企业成员的Copilot使用情况的摘要

使用 call 方法

$client->call('GET /enterprises/{enterprise}/copilot/usage', [
        'enterprise' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForEnterprise(        enterprise: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-enterprise

获取企业成员的Copilot使用情况的摘要

使用 call 方法

$client->call('LIST /enterprises/{enterprise}/copilot/usage', [
        'enterprise' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForEnterpriseListing(        enterprise: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/list-alerts-for-enterprise

列出企业的Dependabot警报

使用 call 方法

$client->call('GET /enterprises/{enterprise}/dependabot/alerts', [
        'enterprise' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'first' => 5,
        'per_page' => 8,
]);

操作方法

$client->operations()->dependabot()->listAlertsForEnterprise(        enterprise: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        first: 5,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

enterprise-admin/get-license-sync-status

获取许可证同步状态

使用 call 方法

$client->call('GET /enterprises/{enterprise}/license-sync-status', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->enterpriseAdmin()->getLicenseSyncStatus(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/list-alerts-for-enterprise

列出企业的秘密扫描警报

使用 call 方法

$client->call('GET /enterprises/{enterprise}/secret-scanning/alerts', [
        'enterprise' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->secretScanning()->listAlertsForEnterprise(        enterprise: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-actions-billing-ghe

获取企业的GitHub Actions计费信息

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/actions', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->billing()->getGithubActionsBillingGhe(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-advanced-security-billing-ghe

获取企业的GitHub Advanced Security活跃贡献者

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/advanced-security', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->billing()->getGithubAdvancedSecurityBillingGhe(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-all-cost-centers

获取企业的所有成本中心

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/cost-centers', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->billing()->getAllCostCenters(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/add-resource-to-cost-center

将用户添加到成本中心

使用 call 方法

$client->call('POST /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource', [
        'enterprise' => 'generated',
        'cost_center_id' => 'generated',
]);

操作方法

$client->operations()->billing()->addResourceToCostCenter(        enterprise: 'generated',
        cost_center_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/remove-resource-from-cost-center

从成本中心中移除用户

使用 call 方法

$client->call('DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource', [
        'enterprise' => 'generated',
        'cost_center_id' => 'generated',
]);

操作方法

$client->operations()->billing()->removeResourceFromCostCenter(        enterprise: 'generated',
        cost_center_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-packages-billing-ghe

获取企业的GitHub Packages计费信息

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/packages', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->billing()->getGithubPackagesBillingGhe(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-shared-storage-billing-ghe

获取企业的共享存储计费信息

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/shared-storage', [
        'enterprise' => 'generated',
]);

操作方法

$client->operations()->billing()->getSharedStorageBillingGhe(        enterprise: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-billing-usage-report-ghe

获取企业的计费使用报告

使用 call 方法

$client->call('GET /enterprises/{enterprise}/settings/billing/usage', [
        'enterprise' => 'generated',
        'year' => 4,
        'month' => 5,
        'day' => 3,
        'hour' => 4,
        'cost_center_id' => 'generated',
]);

操作方法

$client->operations()->billing()->getGithubBillingUsageReportGhe(        enterprise: 'generated',
        year: 4,
        month: 5,
        day: 3,
        hour: 4,
        cost_center_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-enterprise-team

获取企业团队Copilot使用情况的摘要

使用 call 方法

$client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/usage', [
        'enterprise' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForEnterpriseTeam(        enterprise: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-enterprise-team

获取企业团队Copilot使用情况的摘要

使用 call 方法

$client->call('LIST /enterprises/{enterprise}/team/{team_slug}/copilot/usage', [
        'enterprise' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForEnterpriseTeamListing(        enterprise: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/post-security-product-enablement-for-enterprise

启用或禁用安全功能

使用 call 方法

$client->call('POST /enterprises/{enterprise}/{security_product}/{enablement}', [
        'enterprise' => 'generated',
        'security_product' => 'generated',
        'enablement' => 'generated',
]);

操作方法

$client->operations()->secretScanning()->postSecurityProductEnablementForEnterprise(        enterprise: 'generated',
        security_product: 'generated',
        enablement: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-events

列出公共事件

使用 call 方法

$client->call('GET /events', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicEvents(        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-events

列出公共事件

使用 call 方法

$client->call('LIST /events', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicEventsListing(        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/get-feeds

获取订阅源

使用 call 方法

$client->call('GET /feeds');

操作方法

$client->operations()->activity()->getFeeds();

您可以在API方法文档中找到更多关于此操作的信息。

gists/list

列出认证用户的gists

使用 call 方法

$client->call('GET /gists', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->list(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list

列出认证用户的gists

使用 call 方法

$client->call('LIST /gists', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/create

创建gists

使用 call 方法

$client->call('POST /gists');

操作方法

$client->operations()->gists()->create();

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-public

列出公共gists

使用 call 方法

$client->call('GET /gists/public', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listPublic(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-public

列出公共gists

使用 call 方法

$client->call('LIST /gists/public', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listPublicListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-starred

列出已收藏的gists

使用 call 方法

$client->call('GET /gists/starred', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listStarred(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-starred

列出已收藏的gists

使用 call 方法

$client->call('LIST /gists/starred', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listStarredListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/get

获取gists

使用 call 方法

$client->call('GET /gists/{gist_id}', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->get(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/delete

删除gists

使用 call 方法

$client->call('DELETE /gists/{gist_id}', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->delete(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/update

更新gists

使用 call 方法

$client->call('PATCH /gists/{gist_id}', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->update(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-comments

列出gists评论

使用 call 方法

$client->call('GET /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listComments(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-comments

列出gists评论

使用 call 方法

$client->call('LIST /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listCommentsListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/create-comment

创建gists评论

使用 call 方法

$client->call('POST /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->createComment(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/get-comment

获取gists评论

使用 call 方法

$client->call('GET /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->gists()->getComment(        gist_id: 'generated',
        comment_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/delete-comment

删除gists评论

使用 call 方法

$client->call('DELETE /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->gists()->deleteComment(        gist_id: 'generated',
        comment_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/update-comment

更新gists评论

使用 call 方法

$client->call('PATCH /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->gists()->updateComment(        gist_id: 'generated',
        comment_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-commits

列出gists提交

使用 call 方法

$client->call('GET /gists/{gist_id}/commits', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listCommits(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-commits

列出gists提交

使用 call 方法

$client->call('LIST /gists/{gist_id}/commits', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listCommitsListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-forks

列出gists分叉

使用 call 方法

$client->call('GET /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listForks(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/list-forks

列出gists分叉

使用 call 方法

$client->call('LIST /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->gists()->listForksListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/fork

分叉gists

使用 call 方法

$client->call('POST /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->fork(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/check-is-starred

检查gists是否被收藏

使用 call 方法

$client->call('GET /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->checkIsStarred(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/star

收藏gists

使用 call 方法

$client->call('PUT /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->star(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/unstar

取消收藏gists

使用 call 方法

$client->call('DELETE /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);

操作方法

$client->operations()->gists()->unstar(        gist_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

gists/get-revision

获取gists版本

使用 call 方法

$client->call('GET /gists/{gist_id}/{sha}', [
        'gist_id' => 'generated',
        'sha' => 'generated',
]);

操作方法

$client->operations()->gists()->getRevision(        gist_id: 'generated',
        sha: 'generated',
);

您可以在API方法文档中了解更多有关此操作的信息。

gitignore/get-all-templates

获取所有gitignore模板

使用 call 方法

$client->call('GET /gitignore/templates');

操作方法

$client->operations()->gitignore()->getAllTemplates();

您可以在API方法文档中了解更多有关此操作的信息。

gitignore/get-template

获取gitignore模板

使用 call 方法

$client->call('GET /gitignore/templates/{name}', [
        'name' => 'generated',
]);

操作方法

$client->operations()->gitignore()->getTemplate(        name: 'generated',
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-repos-accessible-to-installation

列出可由应用程序安装访问的存储库

使用 call 方法

$client->call('GET /installation/repositories', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listReposAccessibleToInstallation(        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/revoke-installation-access-token

撤销安装访问令牌

使用 call 方法

$client->call('DELETE /installation/token');

操作方法

$client->operations()->apps()->revokeInstallationAccessToken();

您可以在API方法文档中了解更多有关此操作的信息。

issues/list

列出分配给认证用户的issue

使用 call 方法

$client->call('GET /issues', [
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'collab' => ,
        'orgs' => ,
        'owned' => ,
        'pulls' => ,
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->list(        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        collab: ,
        orgs: ,
        owned: ,
        pulls: ,
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

issues/list

列出分配给认证用户的issue

使用 call 方法

$client->call('LIST /issues', [
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'collab' => ,
        'orgs' => ,
        'owned' => ,
        'pulls' => ,
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->listListing(        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        collab: ,
        orgs: ,
        owned: ,
        pulls: ,
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

licenses/get-all-commonly-used

获取所有常用许可证

使用 call 方法

$client->call('GET /licenses', [
        'featured' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->licenses()->getAllCommonlyUsed(        featured: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

licenses/get-all-commonly-used

获取所有常用许可证

使用 call 方法

$client->call('LIST /licenses', [
        'featured' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->licenses()->getAllCommonlyUsedListing(        featured: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

licenses/get

获取许可证

使用 call 方法

$client->call('GET /licenses/{license}', [
        'license' => 'generated',
]);

操作方法

$client->operations()->licenses()->get(        license: 'generated',
);

您可以在API方法文档中了解更多有关此操作的信息。

markdown/render

渲染Markdown文档

使用 call 方法

$client->call('POST /markdown');

操作方法

$client->operations()->markdown()->render();

您可以在API方法文档中了解更多有关此操作的信息。

markdown/render-raw

以原始模式渲染Markdown文档

使用 call 方法

$client->call('POST /markdown/raw');

操作方法

$client->operations()->markdown()->renderRaw();

您可以在API方法文档中了解更多有关此操作的信息。

apps/get-subscription-plan-for-account

获取账户的订阅计划

使用 call 方法

$client->call('GET /marketplace_listing/accounts/{account_id}', [
        'account_id' => 10,
]);

操作方法

$client->operations()->apps()->getSubscriptionPlanForAccount(        account_id: 10,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-plans

列出计划

使用 call 方法

$client->call('GET /marketplace_listing/plans', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listPlans(        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-plans

列出计划

使用 call 方法

$client->call('LIST /marketplace_listing/plans', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listPlansListing(        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-accounts-for-plan

列出计划对应的账户

使用 call 方法

$client->call('GET /marketplace_listing/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listAccountsForPlan(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-accounts-for-plan

列出计划对应的账户

使用 call 方法

$client->call('LIST /marketplace_listing/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listAccountsForPlanListing(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/get-subscription-plan-for-account-stubbed

获取账户的订阅计划(模拟)

使用 call 方法

$client->call('GET /marketplace_listing/stubbed/accounts/{account_id}', [
        'account_id' => 10,
]);

操作方法

$client->operations()->apps()->getSubscriptionPlanForAccountStubbed(        account_id: 10,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-plans-stubbed

列出计划(模拟)

使用 call 方法

$client->call('GET /marketplace_listing/stubbed/plans', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listPlansStubbed(        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-plans-stubbed

列出计划(模拟)

使用 call 方法

$client->call('LIST /marketplace_listing/stubbed/plans', [
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listPlansStubbedListing(        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多有关此操作的信息。

apps/list-accounts-for-plan-stubbed

列出计划对应的账户(模拟)

使用 call 方法

$client->call('GET /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listAccountsForPlanStubbed(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

apps/list-accounts-for-plan-stubbed

列出计划对应的账户(模拟)

使用 call 方法

$client->call('LIST /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->apps()->listAccountsForPlanStubbedListing(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

meta/get

获取GitHub企业云元信息

使用 call 方法

$client->call('GET /meta');

操作方法

$client->operations()->meta()->get();

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-events-for-repo-network

列出仓库网络的公共事件

使用 call 方法

$client->call('GET /networks/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicEventsForRepoNetwork(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-events-for-repo-network

列出仓库网络的公共事件

使用 call 方法

$client->call('LIST /networks/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicEventsForRepoNetworkListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-notifications-for-authenticated-user

列出认证用户的通知

使用 call 方法

$client->call('GET /notifications', [
        'since' => '1970-01-01T00:00:00+00:00',
        'before' => '1970-01-01T00:00:00+00:00',
        'all' => ,
        'participating' => ,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->activity()->listNotificationsForAuthenticatedUser(        since: '1970-01-01T00:00:00+00:00',
        before: '1970-01-01T00:00:00+00:00',
        all: ,
        participating: ,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-notifications-for-authenticated-user

列出认证用户的通知

使用 call 方法

$client->call('LIST /notifications', [
        'since' => '1970-01-01T00:00:00+00:00',
        'before' => '1970-01-01T00:00:00+00:00',
        'all' => ,
        'participating' => ,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->activity()->listNotificationsForAuthenticatedUserListing(        since: '1970-01-01T00:00:00+00:00',
        before: '1970-01-01T00:00:00+00:00',
        all: ,
        participating: ,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/mark-notifications-as-read

将通知标记为已读

使用 call 方法

$client->call('PUT /notifications');

操作方法

$client->operations()->activity()->markNotificationsAsRead();

您可以在API方法文档中找到更多关于此操作的信息。

activity/get-thread

获取一个线程

使用 call 方法

$client->call('GET /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->getThread(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/mark-thread-as-done

将线程标记为已完成

使用 call 方法

$client->call('DELETE /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->markThreadAsDone(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/mark-thread-as-read

将线程标记为已读

使用 call 方法

$client->call('PATCH /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->markThreadAsRead(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/get-thread-subscription-for-authenticated-user

获取认证用户的线程订阅

使用 call 方法

$client->call('GET /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->getThreadSubscriptionForAuthenticatedUser(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/set-thread-subscription

设置线程订阅

使用 call 方法

$client->call('PUT /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->setThreadSubscription(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/delete-thread-subscription

删除线程订阅

使用 call 方法

$client->call('DELETE /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);

操作方法

$client->operations()->activity()->deleteThreadSubscription(        thread_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

meta/get-octocat

获取Octocat

使用 call 方法

$client->call('GET /octocat', [
        's' => 'generated',
]);

操作方法

$client->operations()->meta()->getOctocat(        s: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list

列出组织

使用 call 方法

$client->call('GET /organizations', [
        'since' => 5,
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->list(        since: 5,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-custom-roles

已弃用 - 列出组织中的自定义仓库角色

使用 call 方法

$client->call('GET /organizations/{organization_id}/custom_roles', [
        'organization_id' => 'generated',
]);

操作方法

$client->operations()->orgs()->listCustomRoles(        organization_id: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get

获取组织

使用 call 方法

$client->call('GET /orgs/{org}', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->get(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/delete

删除组织

使用 call 方法

$client->call('DELETE /orgs/{org}', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->delete(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/update

更新组织

使用 call 方法

$client->call('PATCH /orgs/{org}', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->update(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-actions-cache-usage-for-org

获取组织的GitHub Actions缓存使用情况

使用 call 方法

$client->call('GET /orgs/{org}/actions/cache/usage', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->getActionsCacheUsageForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-actions-cache-usage-by-repo-for-org

列出组织内具有GitHub Actions缓存使用情况的仓库

使用 call 方法

$client->call('GET /orgs/{org}/actions/cache/usage-by-repository', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->getActionsCacheUsageByRepoForOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

oidc/get-oidc-custom-sub-template-for-org

获取组织OIDC主题声明的自定义模板

使用 call 方法

$client->call('GET /orgs/{org}/actions/oidc/customization/sub', [
        'org' => 'generated',
]);

操作方法

$client->operations()->oidc()->getOidcCustomSubTemplateForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

oidc/update-oidc-custom-sub-template-for-org

设置组织OIDC主题声明的自定义模板

使用 call 方法

$client->call('PUT /orgs/{org}/actions/oidc/customization/sub', [
        'org' => 'generated',
]);

操作方法

$client->operations()->oidc()->updateOidcCustomSubTemplateForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-github-actions-permissions-organization

获取组织的GitHub Actions权限

使用 call 方法

$client->call('GET /orgs/{org}/actions/permissions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->getGithubActionsPermissionsOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-github-actions-permissions-organization

设置组织的GitHub Actions权限

使用 call 方法

$client->call('PUT /orgs/{org}/actions/permissions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->setGithubActionsPermissionsOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-selected-repositories-enabled-github-actions-organization

列出组织中启用了GitHub Actions的选定仓库

使用 call 方法

$client->call('GET /orgs/{org}/actions/permissions/repositories', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listSelectedRepositoriesEnabledGithubActionsOrganization(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-selected-repositories-enabled-github-actions-organization

设置组织中启用了GitHub Actions的选定仓库

使用 call 方法

$client->call('PUT /orgs/{org}/actions/permissions/repositories', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->setSelectedRepositoriesEnabledGithubActionsOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/enable-selected-repository-github-actions-organization

在组织中启用选定仓库的GitHub Actions

使用 call 方法

$client->call('PUT /orgs/{org}/actions/permissions/repositories/{repository_id}', [
        'org' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->enableSelectedRepositoryGithubActionsOrganization(        org: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/disable-selected-repository-github-actions-organization

在组织中禁用选定仓库的GitHub Actions

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}', [
        'org' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->disableSelectedRepositoryGithubActionsOrganization(        org: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-allowed-actions-organization

获取组织的允许的操作和可重用工作流

使用 call 方法

$client->call('GET /orgs/{org}/actions/permissions/selected-actions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->getAllowedActionsOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-allowed-actions-organization

设置组织的允许的操作

使用 call 方法

$client->call('PUT /orgs/{org}/actions/permissions/selected-actions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->setAllowedActionsOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-github-actions-default-workflow-permissions-organization

获取组织的默认工作流程权限

使用 call 方法

$client->call('GET /orgs/{org}/actions/permissions/workflow', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsOrganization(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/set-github-actions-default-workflow-permissions-organization

设置组织的默认工作流程权限

使用 call 方法

$client->call('PUT /orgs/{org}/actions/permissions/workflow', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsOrganization(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-self-hosted-runner-groups-for-org

列出组织的自托管运行器组

使用 call 方法

$client->call('GET /orgs/{org}/actions/runner-groups', [
        'org' => 'generated',
        'visible_to_repository' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listSelfHostedRunnerGroupsForOrg(        org: 'generated',
        visible_to_repository: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/create-self-hosted-runner-group-for-org

为组织创建自托管运行器组

使用 call 方法

$client->call('POST /orgs/{org}/actions/runner-groups', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->createSelfHostedRunnerGroupForOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/get-self-hosted-runner-group-for-org

获取组织的自托管运行器组

使用 call 方法

$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->actions()->getSelfHostedRunnerGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/delete-self-hosted-runner-group-from-org

从组织中删除自托管运行器组

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->actions()->deleteSelfHostedRunnerGroupFromOrg(        org: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/update-self-hosted-runner-group-for-org

更新组织的自托管运行器组

使用 call 方法

$client->call('PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->actions()->updateSelfHostedRunnerGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-repo-access-to-self-hosted-runner-group-in-org

列出组织中自托管运行器组的仓库访问权限

使用 call 方法

$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->actions()->listRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/set-repo-access-to-self-hosted-runner-group-in-org

设置组织中自托管运行器组的仓库访问权限

使用 call 方法

$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->actions()->setRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/add-repo-access-to-self-hosted-runner-group-in-org

为组织中自托管运行器组添加仓库访问权限

使用 call 方法

$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->addRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        repository_id: 13,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/remove-repo-access-to-self-hosted-runner-group-in-org

从组织中自托管运行器组移除仓库访问权限

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->removeRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        repository_id: 13,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-self-hosted-runners-in-group-for-org

列出组织中组内的自托管运行器

使用 call 方法

$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listSelfHostedRunnersInGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/set-self-hosted-runners-in-group-for-org

为组织中组设置自托管运行器

使用 call 方法

$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);

操作方法

$client->operations()->actions()->setSelfHostedRunnersInGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/add-self-hosted-runner-to-group-for-org

为组织添加自托管的运行器到组中

使用 call 方法

$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->addSelfHostedRunnerToGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/remove-self-hosted-runner-from-group-for-org

从组织的组中移除自托管的运行器

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->removeSelfHostedRunnerFromGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-self-hosted-runners-for-org

列出组织的自托管运行器

使用 call 方法

$client->call('GET /orgs/{org}/actions/runners', [
        'name' => 'generated',
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listSelfHostedRunnersForOrg(        name: 'generated',
        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-runner-applications-for-org

列出组织的运行器应用

使用 call 方法

$client->call('GET /orgs/{org}/actions/runners/downloads', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->listRunnerApplicationsForOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/generate-runner-jitconfig-for-org

为组织创建即时运行器的配置

使用 call 方法

$client->call('POST /orgs/{org}/actions/runners/generate-jitconfig', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->generateRunnerJitconfigForOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/create-registration-token-for-org

为组织创建注册令牌

使用 call 方法

$client->call('POST /orgs/{org}/actions/runners/registration-token', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->createRegistrationTokenForOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/create-remove-token-for-org

为组织创建移除令牌

使用 call 方法

$client->call('POST /orgs/{org}/actions/runners/remove-token', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->createRemoveTokenForOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/get-self-hosted-runner-for-org

获取组织的自托管运行器

使用 call 方法

$client->call('GET /orgs/{org}/actions/runners/{runner_id}', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->getSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/delete-self-hosted-runner-from-org

从组织中删除自托管运行器

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->deleteSelfHostedRunnerFromOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-labels-for-self-hosted-runner-for-org

列出组织的自托管运行器的标签

使用 call 方法

$client->call('GET /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->listLabelsForSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/set-custom-labels-for-self-hosted-runner-for-org

为组织的自托管运行器设置自定义标签

使用 call 方法

$client->call('PUT /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/add-custom-labels-to-self-hosted-runner-for-org

为组织的自托管运行器添加自定义标签

使用 call 方法

$client->call('POST /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/remove-all-custom-labels-from-self-hosted-runner-for-org

从组织的自托管运行器中移除所有自定义标签

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/remove-custom-label-from-self-hosted-runner-for-org

从组织的自托管运行器中移除自定义标签

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}', [
        'org' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-org-secrets

列出组织机密

使用 call 方法

$client->call('GET /orgs/{org}/actions/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-org-public-key

获取组织公钥

使用 call 方法

$client->call('GET /orgs/{org}/actions/secrets/public-key', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->getOrgPublicKey(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-org-secret

获取组织机密

使用 call 方法

$client->call('GET /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/create-or-update-org-secret

创建或更新组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-org-secret

删除组织机密

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-selected-repos-for-org-secret

列出组织机密所选的仓库

使用 call 方法

$client->call('GET /orgs/{org}/actions/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->actions()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-selected-repos-for-org-secret

设置组织机密所选的仓库

使用 call 方法

$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/add-selected-repo-to-org-secret

将所选仓库添加到组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/remove-selected-repo-from-org-secret

从组织机密中移除所选仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-org-variables

列出组织变量

使用 call 方法

$client->call('GET /orgs/{org}/actions/variables', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listOrgVariables(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/create-org-variable

创建组织变量

使用 call 方法

$client->call('POST /orgs/{org}/actions/variables', [
        'org' => 'generated',
]);

操作方法

$client->operations()->actions()->createOrgVariable(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-org-variable

获取组织变量

使用 call 方法

$client->call('GET /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->getOrgVariable(        org: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-org-variable

删除组织变量

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteOrgVariable(        org: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/update-org-variable

更新组织变量

使用 call 方法

$client->call('PATCH /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->updateOrgVariable(        org: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-selected-repos-for-org-variable

列出组织变量所选的仓库

使用 call 方法

$client->call('GET /orgs/{org}/actions/variables/{name}/repositories', [
        'org' => 'generated',
        'name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->actions()->listSelectedReposForOrgVariable(        org: 'generated',
        name: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-selected-repos-for-org-variable

设置组织的变量所选仓库

使用 call 方法

$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories', [
        'org' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->setSelectedReposForOrgVariable(        org: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/add-selected-repo-to-org-variable

将所选仓库添加到组织变量

使用 call 方法

$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
        'org' => 'generated',
        'name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->addSelectedRepoToOrgVariable(        org: 'generated',
        name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/remove-selected-repo-from-org-variable

从组织变量中移除所选仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
        'org' => 'generated',
        'name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->actions()->removeSelectedRepoFromOrgVariable(        org: 'generated',
        name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/get-announcement-banner-for-org

获取组织的公告横幅

使用 call 方法

$client->call('GET /orgs/{org}/announcement', [
        'org' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->getAnnouncementBannerForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/remove-announcement-banner-for-org

从组织中移除公告横幅

使用 call 方法

$client->call('DELETE /orgs/{org}/announcement', [
        'org' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->removeAnnouncementBannerForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

announcement-banners/set-announcement-banner-for-org

为组织设置公告横幅

使用 call 方法

$client->call('PATCH /orgs/{org}/announcement', [
        'org' => 'generated',
]);

操作方法

$client->operations()->announcementBanners()->setAnnouncementBannerForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-attestations

列出认证

使用 call 方法

$client->call('GET /orgs/{org}/attestations/{subject_digest}', [
        'before' => 'generated',
        'after' => 'generated',
        'org' => 'generated',
        'subject_digest' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->listAttestations(        before: 'generated',
        after: 'generated',
        org: 'generated',
        subject_digest: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-audit-log

获取组织的审计日志

使用 call 方法

$client->call('GET /orgs/{org}/audit-log', [
        'org' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->getAuditLog(        org: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-blocked-users

列出组织屏蔽的用户

使用 call 方法

$client->call('GET /orgs/{org}/blocks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listBlockedUsers(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-blocked-users

列出组织屏蔽的用户

使用 call 方法

$client->call('LIST /orgs/{org}/blocks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listBlockedUsersListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/check-blocked-user

检查用户是否被组织屏蔽

使用 call 方法

$client->call('GET /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->checkBlockedUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/block-user

从组织中屏蔽用户

使用 call 方法

$client->call('PUT /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->blockUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/unblock-user

从组织中取消屏蔽用户

使用 call 方法

$client->call('DELETE /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->unblockUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

code-scanning/list-alerts-for-org

列出组织的代码扫描警报

使用 call 方法

$client->call('GET /orgs/{org}/code-scanning/alerts', [
        'org' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForOrg(        org: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

code-scanning/list-alerts-for-org

列出组织的代码扫描警报

使用 call 方法

$client->call('LIST /orgs/{org}/code-scanning/alerts', [
        'org' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForOrgListing(        org: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

code-security/get-configurations-for-org

获取组织的代码安全配置

使用 call 方法

$client->call('GET /orgs/{org}/code-security/configurations', [
        'org' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'target_type' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->codeSecurity()->getConfigurationsForOrg(        org: 'generated',
        before: 'generated',
        after: 'generated',
        target_type: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/create-configuration

创建代码安全配置

使用 call 方法

$client->call('POST /orgs/{org}/code-security/configurations', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codeSecurity()->createConfiguration(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/get-default-configurations

获取默认代码安全配置

使用 call 方法

$client->call('GET /orgs/{org}/code-security/configurations/defaults', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codeSecurity()->getDefaultConfigurations(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/detach-configuration

从仓库中分离配置

使用 call 方法

$client->call('DELETE /orgs/{org}/code-security/configurations/detach', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codeSecurity()->detachConfiguration(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/get-configuration

获取代码安全配置

使用 call 方法

$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);

操作方法

$client->operations()->codeSecurity()->getConfiguration(        org: 'generated',
        configuration_id: 16,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/delete-configuration

删除代码安全配置

使用 call 方法

$client->call('DELETE /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);

操作方法

$client->operations()->codeSecurity()->deleteConfiguration(        org: 'generated',
        configuration_id: 16,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/update-configuration

更新代码安全配置

使用 call 方法

$client->call('PATCH /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);

操作方法

$client->operations()->codeSecurity()->updateConfiguration(        org: 'generated',
        configuration_id: 16,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/attach-configuration

将配置附加到仓库

使用 call 方法

$client->call('POST /orgs/{org}/code-security/configurations/{configuration_id}/attach', [
        'org' => 'generated',
        'configuration_id' => 16,
]);

操作方法

$client->operations()->codeSecurity()->attachConfiguration(        org: 'generated',
        configuration_id: 16,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/set-configuration-as-default

将代码安全配置设置为组织的默认配置

使用 call 方法

$client->call('PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults', [
        'org' => 'generated',
        'configuration_id' => 16,
]);

操作方法

$client->operations()->codeSecurity()->setConfigurationAsDefault(        org: 'generated',
        configuration_id: 16,
);

您可以在API方法文档中找到有关此操作的更多信息。

code-security/get-repositories-for-configuration

获取与代码安全配置关联的仓库

使用 call 方法

$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories', [
        'org' => 'generated',
        'configuration_id' => 16,
        'before' => 'generated',
        'after' => 'generated',
        'per_page' => 8,
        'status' => 'generated',
]);

操作方法

$client->operations()->codeSecurity()->getRepositoriesForConfiguration(        org: 'generated',
        configuration_id: 16,
        before: 'generated',
        after: 'generated',
        per_page: 8,
        status: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

codespaces/list-in-organization

列出组织的codespaces

使用 call 方法

$client->call('GET /orgs/{org}/codespaces', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->listInOrganization(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到有关此操作的更多信息。

codespaces/set-codespaces-access

管理组织codespaces的访问控制

使用 call 方法

$client->call('PUT /orgs/{org}/codespaces/access', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codespaces()->setCodespacesAccess(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

codespaces/set-codespaces-access-users

将用户添加到组织的Codespaces访问

使用 call 方法

$client->call('POST /orgs/{org}/codespaces/access/selected_users', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codespaces()->setCodespacesAccessUsers(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

codespaces/delete-codespaces-access-users

从组织的Codespaces访问中删除用户

使用 call 方法

$client->call('DELETE /orgs/{org}/codespaces/access/selected_users', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codespaces()->deleteCodespacesAccessUsers(        org: 'generated',
);

您可以在API方法文档中找到有关此操作的更多信息。

codespaces/list-org-secrets

列出组织机密

使用 call 方法

$client->call('GET /orgs/{org}/codespaces/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/get-org-public-key

获取组织公钥

使用 call 方法

$client->call('GET /orgs/{org}/codespaces/secrets/public-key', [
        'org' => 'generated',
]);

操作方法

$client->operations()->codespaces()->getOrgPublicKey(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/get-org-secret

获取组织机密

使用 call 方法

$client->call('GET /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/create-or-update-org-secret

创建或更新组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/delete-org-secret

删除组织机密

使用 call 方法

$client->call('DELETE /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/list-selected-repos-for-org-secret

列出组织机密所选的仓库

使用 call 方法

$client->call('GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->codespaces()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/set-selected-repos-for-org-secret

设置组织机密所选的仓库

使用 call 方法

$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/add-selected-repo-to-org-secret

将所选仓库添加到组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->codespaces()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API 方法文档中找到更多关于此操作的信息。

codespaces/remove-selected-repo-from-org-secret

从组织机密中移除所选仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->codespaces()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/get-copilot-organization-details

获取组织的 Copilot 座位信息和设置

使用 call 方法

$client->call('GET /orgs/{org}/copilot/billing', [
        'org' => 'generated',
]);

操作方法

$client->operations()->copilot()->getCopilotOrganizationDetails(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/list-copilot-seats

列出组织的所有 Copilot 座位分配

使用 call 方法

$client->call('GET /orgs/{org}/copilot/billing/seats', [
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->listCopilotSeats(        org: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/add-copilot-seats-for-teams

为组织的 Copilot 订阅添加团队

使用 call 方法

$client->call('POST /orgs/{org}/copilot/billing/selected_teams', [
        'org' => 'generated',
]);

操作方法

$client->operations()->copilot()->addCopilotSeatsForTeams(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/cancel-copilot-seat-assignment-for-teams

从组织的 Copilot 订阅中删除团队

使用 call 方法

$client->call('DELETE /orgs/{org}/copilot/billing/selected_teams', [
        'org' => 'generated',
]);

操作方法

$client->operations()->copilot()->cancelCopilotSeatAssignmentForTeams(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/add-copilot-seats-for-users

将用户添加到组织的 Copilot 订阅中

使用 call 方法

$client->call('POST /orgs/{org}/copilot/billing/selected_users', [
        'org' => 'generated',
]);

操作方法

$client->operations()->copilot()->addCopilotSeatsForUsers(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/cancel-copilot-seat-assignment-for-users

从组织的 Copilot 订阅中删除用户

使用 call 方法

$client->call('DELETE /orgs/{org}/copilot/billing/selected_users', [
        'org' => 'generated',
]);

操作方法

$client->operations()->copilot()->cancelCopilotSeatAssignmentForUsers(        org: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-org

获取组织成员的 Copilot 使用情况的摘要

使用 call 方法

$client->call('GET /orgs/{org}/copilot/usage', [
        'org' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForOrg(        org: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API 方法文档中找到有关此操作的更多信息。

copilot/usage-metrics-for-org

获取组织成员的 Copilot 使用情况的摘要

使用 call 方法

$client->call('LIST /orgs/{org}/copilot/usage', [
        'org' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForOrgListing(        org: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/list-saml-sso-authorizations

列出组织的SAML SSO授权

使用 call 方法

$client->call('GET /orgs/{org}/credential-authorizations', [
        'org' => 'generated',
        'page' => 1,
        'login' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->listSamlSsoAuthorizations(        org: 'generated',
        page: 1,
        login: 'generated',
        per_page: 8,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/list-saml-sso-authorizations

列出组织的SAML SSO授权

使用 call 方法

$client->call('LIST /orgs/{org}/credential-authorizations', [
        'org' => 'generated',
        'page' => 1,
        'login' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->listSamlSsoAuthorizationsListing(        org: 'generated',
        page: 1,
        login: 'generated',
        per_page: 8,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/remove-saml-sso-authorization

移除组织的SAML SSO授权

使用 call 方法

$client->call('DELETE /orgs/{org}/credential-authorizations/{credential_id}', [
        'org' => 'generated',
        'credential_id' => 13,
]);

操作方法

$client->operations()->orgs()->removeSamlSsoAuthorization(        org: 'generated',
        credential_id: 13,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/list-custom-repo-roles

列出组织中的自定义仓库角色

使用 call 方法

$client->call('GET /orgs/{org}/custom-repository-roles', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listCustomRepoRoles(        org: 'generated',
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/create-custom-repo-role

创建自定义仓库角色

使用 call 方法

$client->call('POST /orgs/{org}/custom-repository-roles', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createCustomRepoRole(        org: 'generated',
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/get-custom-repo-role

获取自定义仓库角色

使用 call 方法

$client->call('GET /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->getCustomRepoRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/delete-custom-repo-role

删除自定义仓库角色

使用 call 方法

$client->call('DELETE /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->deleteCustomRepoRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/update-custom-repo-role

更新自定义仓库角色

使用 call 方法

$client->call('PATCH /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->updateCustomRepoRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/create-custom-role

已弃用 - 创建自定义角色

使用 call 方法

$client->call('POST /orgs/{org}/custom_roles', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createCustomRole(        org: 'generated',
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/get-custom-role

已弃用 - 获取自定义角色

使用 call 方法

$client->call('GET /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->getCustomRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/delete-custom-role

已弃用 - 删除自定义角色

使用 call 方法

$client->call('DELETE /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->deleteCustomRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

orgs/update-custom-role

已弃用 - 更新自定义角色

使用 call 方法

$client->call('PATCH /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->updateCustomRole(        org: 'generated',
        role_id: 7,
);

您可以在API 方法文档中找到有关此操作的更多信息。

dependabot/list-alerts-for-org

列出组织的Dependabot警报

使用 call 方法

$client->call('GET /orgs/{org}/dependabot/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'first' => 5,
        'per_page' => 8,
]);

操作方法

$client->operations()->dependabot()->listAlertsForOrg(        org: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        first: 5,
        per_page: 8,
);

您可以在API 方法文档中找到有关此操作的更多信息。

dependabot/list-org-secrets

列出组织机密

使用 call 方法

$client->call('GET /orgs/{org}/dependabot/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->dependabot()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到有关此操作的更多信息。

dependabot/get-org-public-key

获取组织公钥

使用 call 方法

$client->call('GET /orgs/{org}/dependabot/secrets/public-key', [
        'org' => 'generated',
]);

操作方法

$client->operations()->dependabot()->getOrgPublicKey(        org: 'generated',
);

您可以在API 方法文档中找到有关此操作的更多信息。

dependabot/get-org-secret

获取组织机密

使用 call 方法

$client->call('GET /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中找到有关此操作的更多信息。

dependabot/create-or-update-org-secret

创建或更新组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/delete-org-secret

删除组织机密

使用 call 方法

$client->call('DELETE /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/list-selected-repos-for-org-secret

列出组织机密所选的仓库

使用 call 方法

$client->call('GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->dependabot()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/set-selected-repos-for-org-secret

设置组织机密所选的仓库

使用 call 方法

$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/add-selected-repo-to-org-secret

将所选仓库添加到组织机密

使用 call 方法

$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->dependabot()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/remove-selected-repo-from-org-secret

从组织机密中移除所选仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);

操作方法

$client->operations()->dependabot()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/list-docker-migration-conflicting-packages-for-organization

获取组织在Docker迁移过程中冲突的包列表

使用 call 方法

$client->call('GET /orgs/{org}/docker/conflicts', [
        'org' => 'generated',
]);

操作方法

$client->operations()->packages()->listDockerMigrationConflictingPackagesForOrganization(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-org-events

列出公共组织事件

使用 call 方法

$client->call('GET /orgs/{org}/events', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicOrgEvents(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

activity/list-public-org-events

列出公共组织事件

使用 call 方法

$client->call('LIST /orgs/{org}/events', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listPublicOrgEventsListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/external-idp-group-info-for-org

获取外部组

使用 call 方法

$client->call('GET /orgs/{org}/external-group/{group_id}', [
        'org' => 'generated',
        'group_id' => 8,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->externalIdpGroupInfoForOrg(        org: 'generated',
        group_id: 8,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-external-idp-groups-for-org

列出组织中的外部组

使用 call 方法

$client->call('GET /orgs/{org}/external-groups', [
        'org' => 'generated',
        'page' => 1,
        'display_name' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->teams()->listExternalIdpGroupsForOrg(        org: 'generated',
        page: 1,
        display_name: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-failed-invitations

列出失败的组织邀请

使用 call 方法

$client->call('GET /orgs/{org}/failed_invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listFailedInvitations(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-failed-invitations

列出失败的组织邀请

使用 call 方法

$client->call('LIST /orgs/{org}/failed_invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listFailedInvitationsListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-fine-grained-permissions

已弃用 - 列出组织的细粒度权限

使用 call 方法

$client->call('GET /orgs/{org}/fine_grained_permissions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listFineGrainedPermissions(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-webhooks

列出组织webhook

使用 call 方法

$client->call('GET /orgs/{org}/hooks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listWebhooks(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-webhooks

列出组织webhook

使用 call 方法

$client->call('LIST /orgs/{org}/hooks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listWebhooksListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/create-webhook

创建组织webhook

使用 call 方法

$client->call('POST /orgs/{org}/hooks', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createWebhook(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-webhook

获取组织webhook

使用 call 方法

$client->call('GET /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->getWebhook(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/delete-webhook

删除组织webhook

使用 call 方法

$client->call('DELETE /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->deleteWebhook(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/update-webhook

更新组织webhook

使用 call 方法

$client->call('PATCH /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->updateWebhook(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-webhook-config-for-org

获取组织的webhook配置

使用 call 方法

$client->call('GET /orgs/{org}/hooks/{hook_id}/config', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->getWebhookConfigForOrg(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/update-webhook-config-for-org

更新组织的webhook配置

使用 call 方法

$client->call('PATCH /orgs/{org}/hooks/{hook_id}/config', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->updateWebhookConfigForOrg(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-webhook-deliveries

列出组织webhook的投递

使用 call 方法

$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries', [
        'org' => 'generated',
        'hook_id' => 7,
        'cursor' => 'generated',
        'redelivery' => ,
        'per_page' => 8,
]);

操作方法

$client->operations()->orgs()->listWebhookDeliveries(        org: 'generated',
        hook_id: 7,
        cursor: 'generated',
        redelivery: ,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-webhook-delivery

获取组织webhook的投递

使用 call 方法

$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}', [
        'org' => 'generated',
        'hook_id' => 7,
        'delivery_id' => 11,
]);

操作方法

$client->operations()->orgs()->getWebhookDelivery(        org: 'generated',
        hook_id: 7,
        delivery_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/redeliver-webhook-delivery

重新投递组织webhook的投递

使用 call 方法

$client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', [
        'org' => 'generated',
        'hook_id' => 7,
        'delivery_id' => 11,
]);

操作方法

$client->operations()->orgs()->redeliverWebhookDelivery(        org: 'generated',
        hook_id: 7,
        delivery_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/ping-webhook

ping组织webhook

使用 call 方法

$client->call('POST /orgs/{org}/hooks/{hook_id}/pings', [
        'org' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->orgs()->pingWebhook(        org: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

apps/get-org-installation

获取认证应用的组织安装

使用 call 方法

$client->call('GET /orgs/{org}/installation', [
        'org' => 'generated',
]);

操作方法

$client->operations()->apps()->getOrgInstallation(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-app-installations

列出组织的应用安装

使用 call 方法

$client->call('GET /orgs/{org}/installations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listAppInstallations(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

interactions/get-restrictions-for-org

获取组织的交互限制

使用 call 方法

$client->call('GET /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);

操作方法

$client->operations()->interactions()->getRestrictionsForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

interactions/set-restrictions-for-org

设置组织的交互限制

使用 call 方法

$client->call('PUT /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);

操作方法

$client->operations()->interactions()->setRestrictionsForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

interactions/remove-restrictions-for-org

移除组织的交互限制

使用 call 方法

$client->call('DELETE /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);

操作方法

$client->operations()->interactions()->removeRestrictionsForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pending-invitations

列出待处理的组织邀请

使用 call 方法

$client->call('GET /orgs/{org}/invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'role' => 'generated',
        'invitation_source' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPendingInvitations(        org: 'generated',
        per_page: 8,
        page: 1,
        role: 'generated',
        invitation_source: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pending-invitations

列出待处理的组织邀请

使用 call 方法

$client->call('LIST /orgs/{org}/invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'role' => 'generated',
        'invitation_source' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPendingInvitationsListing(        org: 'generated',
        per_page: 8,
        page: 1,
        role: 'generated',
        invitation_source: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/create-invitation

创建组织邀请

使用 call 方法

$client->call('POST /orgs/{org}/invitations', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createInvitation(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/cancel-invitation

取消组织邀请

使用 call 方法

$client->call('DELETE /orgs/{org}/invitations/{invitation_id}', [
        'org' => 'generated',
        'invitation_id' => 13,
]);

操作方法

$client->operations()->orgs()->cancelInvitation(        org: 'generated',
        invitation_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-invitation-teams

列出组织邀请团队

使用 call 方法

$client->call('GET /orgs/{org}/invitations/{invitation_id}/teams', [
        'org' => 'generated',
        'invitation_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listInvitationTeams(        org: 'generated',
        invitation_id: 13,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-invitation-teams

列出组织邀请团队

使用 call 方法

$client->call('LIST /orgs/{org}/invitations/{invitation_id}/teams', [
        'org' => 'generated',
        'invitation_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listInvitationTeamsListing(        org: 'generated',
        invitation_id: 13,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

issues/list-for-org

列出分配给认证用户的组织问题

使用 call 方法

$client->call('GET /orgs/{org}/issues', [
        'org' => 'generated',
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->listForOrg(        org: 'generated',
        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

issues/list-for-org

列出分配给认证用户的组织问题

使用 call 方法

$client->call('LIST /orgs/{org}/issues', [
        'org' => 'generated',
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->listForOrgListing(        org: 'generated',
        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-members

列出组织成员

使用 call 方法

$client->call('GET /orgs/{org}/members', [
        'org' => 'generated',
        'filter' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listMembers(        org: 'generated',
        filter: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-members

列出组织成员

使用 call 方法

$client->call('LIST /orgs/{org}/members', [
        'org' => 'generated',
        'filter' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listMembersListing(        org: 'generated',
        filter: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/check-membership-for-user

检查用户的组织成员资格

使用 call 方法

$client->call('GET /orgs/{org}/members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->checkMembershipForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/remove-member

移除组织成员

使用 call 方法

$client->call('DELETE /orgs/{org}/members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->removeMember(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

codespaces/get-codespaces-for-user-in-org

列出组织中用户的codespaces

使用 call 方法

$client->call('GET /orgs/{org}/members/{username}/codespaces', [
        'org' => 'generated',
        'username' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->getCodespacesForUserInOrg(        org: 'generated',
        username: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

codespaces/delete-from-organization

从组织中删除codespace

使用 call 方法

$client->call('DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}', [
        'org' => 'generated',
        'username' => 'generated',
        'codespace_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->deleteFromOrganization(        org: 'generated',
        username: 'generated',
        codespace_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

codespaces/stop-in-organization

为组织用户停止codespace

使用 call 方法

$client->call('POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop', [
        'org' => 'generated',
        'username' => 'generated',
        'codespace_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->stopInOrganization(        org: 'generated',
        username: 'generated',
        codespace_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/get-copilot-seat-details-for-user

获取用户的Copilot座位分配详情

使用 call 方法

$client->call('GET /orgs/{org}/members/{username}/copilot', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->copilot()->getCopilotSeatDetailsForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-membership-for-user

获取用户的组织成员资格

使用 call 方法

$client->call('GET /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->getMembershipForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/set-membership-for-user

设置用户的组织成员资格

使用 call 方法

$client->call('PUT /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->setMembershipForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/remove-membership-for-user

移除用户的组织成员资格

使用 call 方法

$client->call('DELETE /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->removeMembershipForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

migrations/list-for-org

列出组织的迁移

使用 call 方法

$client->call('GET /orgs/{org}/migrations', [
        'org' => 'generated',
        'exclude' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->migrations()->listForOrg(        org: 'generated',
        exclude: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

migrations/list-for-org

列出组织的迁移

使用 call 方法

$client->call('LIST /orgs/{org}/migrations', [
        'org' => 'generated',
        'exclude' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->migrations()->listForOrgListing(        org: 'generated',
        exclude: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

migrations/start-for-org

启动组织的迁移

使用 call 方法

$client->call('POST /orgs/{org}/migrations', [
        'org' => 'generated',
]);

操作方法

$client->operations()->migrations()->startForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

migrations/get-status-for-org

获取组织的迁移状态

使用 call 方法

$client->call('GET /orgs/{org}/migrations/{migration_id}', [
        'org' => 'generated',
        'migration_id' => 12,
        'exclude' => ,
]);

操作方法

$client->operations()->migrations()->getStatusForOrg(        org: 'generated',
        migration_id: 12,
        exclude: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

migrations/download-archive-for-org

下载组织的迁移存档

使用 call 方法

$client->call('GET /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);

操作方法

$client->operations()->migrations()->downloadArchiveForOrg(        org: 'generated',
        migration_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

migrations/download-archive-for-org

下载组织的迁移存档

使用 call 方法

$client->call('STREAM /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);

操作方法

$client->operations()->migrations()->downloadArchiveForOrgStreaming(        org: 'generated',
        migration_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

migrations/delete-archive-for-org

删除组织迁移归档

使用 call 方法

$client->call('DELETE /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);

操作方法

$client->operations()->migrations()->deleteArchiveForOrg(        org: 'generated',
        migration_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

migrations/unlock-repo-for-org

解锁组织仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock', [
        'org' => 'generated',
        'migration_id' => 12,
        'repo_name' => 'generated',
]);

操作方法

$client->operations()->migrations()->unlockRepoForOrg(        org: 'generated',
        migration_id: 12,
        repo_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

migrations/list-repos-for-org

列出组织迁移中的仓库

使用 call 方法

$client->call('GET /orgs/{org}/migrations/{migration_id}/repositories', [
        'org' => 'generated',
        'migration_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->migrations()->listReposForOrg(        org: 'generated',
        migration_id: 12,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

migrations/list-repos-for-org

列出组织迁移中的仓库

使用 call 方法

$client->call('LIST /orgs/{org}/migrations/{migration_id}/repositories', [
        'org' => 'generated',
        'migration_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->migrations()->listReposForOrgListing(        org: 'generated',
        migration_id: 12,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-organization-fine-grained-permissions

列出组织的细粒度权限

使用 call 方法

$client->call('GET /orgs/{org}/organization-fine-grained-permissions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listOrganizationFineGrainedPermissions(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-org-roles

获取组织的所有角色

使用 call 方法

$client->call('GET /orgs/{org}/organization-roles', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listOrgRoles(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/create-custom-organization-role

创建自定义组织角色

使用 call 方法

$client->call('POST /orgs/{org}/organization-roles', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createCustomOrganizationRole(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/revoke-all-org-roles-team

移除团队的所有组织角色

使用 call 方法

$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->orgs()->revokeAllOrgRolesTeam(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/assign-team-to-org-role

将组织角色分配给团队

使用 call 方法

$client->call('PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->assignTeamToOrgRole(        org: 'generated',
        team_slug: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/revoke-org-role-team

从团队中移除组织角色

使用 call 方法

$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->revokeOrgRoleTeam(        org: 'generated',
        team_slug: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/revoke-all-org-roles-user

移除用户的所有组织角色

使用 call 方法

$client->call('DELETE /orgs/{org}/organization-roles/users/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->revokeAllOrgRolesUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/assign-user-to-org-role

将组织角色分配给用户

使用 call 方法

$client->call('PUT /orgs/{org}/organization-roles/users/{username}/{role_id}', [
        'org' => 'generated',
        'username' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->assignUserToOrgRole(        org: 'generated',
        username: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/revoke-org-role-user

从用户中移除组织角色

使用 call 方法

$client->call('DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}', [
        'org' => 'generated',
        'username' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->revokeOrgRoleUser(        org: 'generated',
        username: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/get-org-role

获取组织角色

使用 call 方法

$client->call('GET /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->getOrgRole(        org: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/delete-custom-organization-role

删除自定义组织角色。

使用 call 方法

$client->call('DELETE /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->deleteCustomOrganizationRole(        org: 'generated',
        role_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/patch-custom-organization-role

更新自定义组织角色

使用 call 方法

$client->call('PATCH /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);

操作方法

$client->operations()->orgs()->patchCustomOrganizationRole(        org: 'generated',
        role_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-org-role-teams

列出分配给组织角色的团队

使用 call 方法

$client->call('GET /orgs/{org}/organization-roles/{role_id}/teams', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOrgRoleTeams(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-org-role-teams

列出分配给组织角色的团队

使用 call 方法

$client->call('LIST /orgs/{org}/organization-roles/{role_id}/teams', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOrgRoleTeamsListing(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-org-role-users

列出分配给组织角色的用户

使用 call 方法

$client->call('GET /orgs/{org}/organization-roles/{role_id}/users', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOrgRoleUsers(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-org-role-users

列出分配给组织角色的用户

使用 call 方法

$client->call('LIST /orgs/{org}/organization-roles/{role_id}/users', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOrgRoleUsersListing(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-outside-collaborators

列出组织的外部协作者

使用 call 方法

$client->call('GET /orgs/{org}/outside_collaborators', [
        'org' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOutsideCollaborators(        org: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-outside-collaborators

列出组织的外部协作者

使用 call 方法

$client->call('LIST /orgs/{org}/outside_collaborators', [
        'org' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listOutsideCollaboratorsListing(        org: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/convert-member-to-outside-collaborator

将组织成员转换为外部协作者

使用 call 方法

$client->call('PUT /orgs/{org}/outside_collaborators/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->convertMemberToOutsideCollaborator(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/remove-outside-collaborator

从组织中移除外部协作者

使用 call 方法

$client->call('DELETE /orgs/{org}/outside_collaborators/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->removeOutsideCollaborator(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/list-packages-for-organization

列出组织的包

使用 call 方法

$client->call('GET /orgs/{org}/packages', [
        'package_type' => 'generated',
        'org' => 'generated',
        'visibility' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->packages()->listPackagesForOrganization(        package_type: 'generated',
        org: 'generated',
        visibility: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/list-packages-for-organization

列出组织的包

使用 call 方法

$client->call('LIST /orgs/{org}/packages', [
        'package_type' => 'generated',
        'org' => 'generated',
        'visibility' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->packages()->listPackagesForOrganizationListing(        package_type: 'generated',
        org: 'generated',
        visibility: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/get-package-for-organization

获取组织的包

使用 call 方法

$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
]);

操作方法

$client->operations()->packages()->getPackageForOrganization(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/delete-package-for-org

删除组织的包

使用 call 方法

$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
]);

操作方法

$client->operations()->packages()->deletePackageForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/restore-package-for-org

恢复组织的包

使用 call 方法

$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/restore', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'token' => 'generated',
]);

操作方法

$client->operations()->packages()->restorePackageForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        token: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/get-all-package-versions-for-package-owned-by-org

列出由组织拥有的包的版本

使用 call 方法

$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'state' => 'generated',
]);

操作方法

$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        page: 1,
        per_page: 8,
        state: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/get-all-package-versions-for-package-owned-by-org

列出由组织拥有的包的版本

使用 call 方法

$client->call('LIST /orgs/{org}/packages/{package_type}/{package_name}/versions', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'state' => 'generated',
]);

操作方法

$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrgListing(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        page: 1,
        per_page: 8,
        state: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/get-package-version-for-organization

获取组织的包版本

使用 call 方法

$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);

操作方法

$client->operations()->packages()->getPackageVersionForOrganization(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/delete-package-version-for-org

删除组织的包版本

使用 call 方法

$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);

操作方法

$client->operations()->packages()->deletePackageVersionForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);

您可以在API方法文档中找到更多关于此操作的信息。

packages/restore-package-version-for-org

恢复组织的包版本

使用 call 方法

$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);

操作方法

$client->operations()->packages()->restorePackageVersionForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-requests

列出使用精细粒度个人访问令牌访问组织资源的请求

使用 call 方法

$client->call('GET /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPatGrantRequests(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-requests

列出使用精细粒度个人访问令牌访问组织资源的请求

使用 call 方法

$client->call('LIST /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPatGrantRequestsListing(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/review-pat-grant-requests-in-bulk

审查对具有细粒度个人访问令牌的组织资源的访问请求

使用 call 方法

$client->call('POST /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->reviewPatGrantRequestsInBulk(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/review-pat-grant-request

审查使用细粒度个人访问令牌访问组织资源的请求

使用 call 方法

$client->call('POST /orgs/{org}/personal-access-token-requests/{pat_request_id}', [
        'org' => 'generated',
        'pat_request_id' => 14,
]);

操作方法

$client->operations()->orgs()->reviewPatGrantRequest(        org: 'generated',
        pat_request_id: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-request-repositories

列出请求使用细粒度个人访问令牌访问的仓库

使用 call 方法

$client->call('GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
        'org' => 'generated',
        'pat_request_id' => 14,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPatGrantRequestRepositories(        org: 'generated',
        pat_request_id: 14,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-request-repositories

列出请求使用细粒度个人访问令牌访问的仓库

使用 call 方法

$client->call('LIST /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
        'org' => 'generated',
        'pat_request_id' => 14,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPatGrantRequestRepositoriesListing(        org: 'generated',
        pat_request_id: 14,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grants

列出具有访问组织资源权限的细粒度个人访问令牌

使用 call 方法

$client->call('GET /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPatGrants(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grants

列出具有访问组织资源权限的细粒度个人访问令牌

使用 call 方法

$client->call('LIST /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);

操作方法

$client->operations()->orgs()->listPatGrantsListing(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/update-pat-accesses

通过细粒度个人访问令牌更新对组织资源的访问

使用 call 方法

$client->call('POST /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->updatePatAccesses(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/update-pat-access

更新细粒度个人访问令牌对组织资源的访问权限

使用 call 方法

$client->call('POST /orgs/{org}/personal-access-tokens/{pat_id}', [
        'org' => 'generated',
        'pat_id' => 6,
]);

操作方法

$client->operations()->orgs()->updatePatAccess(        org: 'generated',
        pat_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-repositories

列出细粒度个人访问令牌可以访问的仓库

使用 call 方法

$client->call('GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
        'org' => 'generated',
        'pat_id' => 6,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPatGrantRepositories(        org: 'generated',
        pat_id: 6,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-pat-grant-repositories

列出细粒度个人访问令牌可以访问的仓库

使用 call 方法

$client->call('LIST /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
        'org' => 'generated',
        'pat_id' => 6,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPatGrantRepositoriesListing(        org: 'generated',
        pat_id: 6,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-for-org

列出组织项目

使用 call 方法

$client->call('GET /orgs/{org}/projects', [
        'org' => 'generated',
        'state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listForOrg(        org: 'generated',
        state: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-for-org

列出组织项目

使用 call 方法

$client->call('LIST /orgs/{org}/projects', [
        'org' => 'generated',
        'state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listForOrgListing(        org: 'generated',
        state: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/create-for-org

创建组织项目

使用 call 方法

$client->call('POST /orgs/{org}/projects', [
        'org' => 'generated',
]);

操作方法

$client->operations()->projects()->createForOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-all-custom-properties

获取组织的所有自定义属性

使用 call 方法

$client->call('GET /orgs/{org}/properties/schema', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->getAllCustomProperties(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/create-or-update-custom-properties

创建或更新组织的自定义属性

使用 call 方法

$client->call('PATCH /orgs/{org}/properties/schema', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createOrUpdateCustomProperties(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/get-custom-property

获取组织的自定义属性

使用 call 方法

$client->call('GET /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);

操作方法

$client->operations()->orgs()->getCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/create-or-update-custom-property

创建或更新组织的自定义属性

使用 call 方法

$client->call('PUT /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);

操作方法

$client->operations()->orgs()->createOrUpdateCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/remove-custom-property

删除组织的自定义属性

使用 call 方法

$client->call('DELETE /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);

操作方法

$client->operations()->orgs()->removeCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-custom-properties-values-for-repos

列出组织仓库的自定义属性值

使用 call 方法

$client->call('GET /orgs/{org}/properties/values', [
        'org' => 'generated',
        'repository_query' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listCustomPropertiesValuesForRepos(        org: 'generated',
        repository_query: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-custom-properties-values-for-repos

列出组织仓库的自定义属性值

使用 call 方法

$client->call('LIST /orgs/{org}/properties/values', [
        'org' => 'generated',
        'repository_query' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listCustomPropertiesValuesForReposListing(        org: 'generated',
        repository_query: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/create-or-update-custom-properties-values-for-repos

创建或更新组织仓库的自定义属性值

使用 call 方法

$client->call('PATCH /orgs/{org}/properties/values', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->createOrUpdateCustomPropertiesValuesForRepos(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-public-members

列出公共组织成员

使用 call 方法

$client->call('GET /orgs/{org}/public_members', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPublicMembers(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-public-members

列出公共组织成员

使用 call 方法

$client->call('LIST /orgs/{org}/public_members', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->orgs()->listPublicMembersListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/check-public-membership-for-user

检查用户的公共组织成员资格

使用 call 方法

$client->call('GET /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->checkPublicMembershipForUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/set-public-membership-for-authenticated-user

为认证用户设置公共组织成员资格

使用 call 方法

$client->call('PUT /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->setPublicMembershipForAuthenticatedUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/remove-public-membership-for-authenticated-user

从认证用户移除公共组织成员资格

使用 call 方法

$client->call('DELETE /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->orgs()->removePublicMembershipForAuthenticatedUser(        org: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-for-org

列出组织仓库

使用 call 方法

$client->call('GET /orgs/{org}/repos', [
        'org' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listForOrg(        org: 'generated',
        type: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-for-org

列出组织仓库

使用 call 方法

$client->call('LIST /orgs/{org}/repos', [
        'org' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listForOrgListing(        org: 'generated',
        type: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/create-in-org

在组织中创建仓库

使用 call 方法

$client->call('POST /orgs/{org}/repos', [
        'org' => 'generated',
]);

操作方法

$client->operations()->repos()->createInOrg(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

orgs/list-repo-fine-grained-permissions

列出组织仓库的细粒度权限

使用 call 方法

$client->call('GET /orgs/{org}/repository-fine-grained-permissions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listRepoFineGrainedPermissions(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-rulesets

获取所有组织仓库规则集

使用 call 方法

$client->call('GET /orgs/{org}/rulesets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getOrgRulesets(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-rulesets

获取所有组织仓库规则集

使用 call 方法

$client->call('LIST /orgs/{org}/rulesets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getOrgRulesetsListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/create-org-ruleset

创建组织仓库规则集

使用 call 方法

$client->call('POST /orgs/{org}/rulesets', [
        'org' => 'generated',
]);

操作方法

$client->operations()->repos()->createOrgRuleset(        org: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-rule-suites

列出组织规则套件

使用 call 方法

$client->call('GET /orgs/{org}/rulesets/rule-suites', [
        'org' => 'generated',
        'ref' => 'generated',
        'repository_name' => 15,
        'actor_name' => 'generated',
        'time_period' => 'generated',
        'rule_suite_result' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getOrgRuleSuites(        org: 'generated',
        ref: 'generated',
        repository_name: 15,
        actor_name: 'generated',
        time_period: 'generated',
        rule_suite_result: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-rule-suites

列出组织规则套件

使用 call 方法

$client->call('LIST /orgs/{org}/rulesets/rule-suites', [
        'org' => 'generated',
        'ref' => 'generated',
        'repository_name' => 15,
        'actor_name' => 'generated',
        'time_period' => 'generated',
        'rule_suite_result' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getOrgRuleSuitesListing(        org: 'generated',
        ref: 'generated',
        repository_name: 15,
        actor_name: 'generated',
        time_period: 'generated',
        rule_suite_result: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-rule-suite

获取组织规则套件

使用 call 方法

$client->call('GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}', [
        'org' => 'generated',
        'rule_suite_id' => 13,
]);

操作方法

$client->operations()->repos()->getOrgRuleSuite(        org: 'generated',
        rule_suite_id: 13,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-org-ruleset

获取组织仓库规则集

使用 call 方法

$client->call('GET /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);

操作方法

$client->operations()->repos()->getOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/update-org-ruleset

更新组织仓库规则集

使用 call 方法

$client->call('PUT /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);

操作方法

$client->operations()->repos()->updateOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-org-ruleset

删除组织仓库规则集

使用 call 方法

$client->call('DELETE /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);

操作方法

$client->operations()->repos()->deleteOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/list-alerts-for-org

列出组织的密钥扫描警报

使用 call 方法

$client->call('GET /orgs/{org}/secret-scanning/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->secretScanning()->listAlertsForOrg(        org: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

secret-scanning/list-alerts-for-org

列出组织的密钥扫描警报

使用 call 方法

$client->call('LIST /orgs/{org}/secret-scanning/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->secretScanning()->listAlertsForOrgListing(        org: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

security-advisories/list-org-repository-advisories

列出组织的仓库安全建议

使用 call 方法

$client->call('GET /orgs/{org}/security-advisories', [
        'org' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->securityAdvisories()->listOrgRepositoryAdvisories(        org: 'generated',
        before: 'generated',
        after: 'generated',
        state: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/list-security-manager-teams

列出安全经理团队

使用 call 方法

$client->call('GET /orgs/{org}/security-managers', [
        'org' => 'generated',
]);

操作方法

$client->operations()->orgs()->listSecurityManagerTeams(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/add-security-manager-team

添加安全经理团队

使用 call 方法

$client->call('PUT /orgs/{org}/security-managers/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->orgs()->addSecurityManagerTeam(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/remove-security-manager-team

删除安全经理团队

使用 call 方法

$client->call('DELETE /orgs/{org}/security-managers/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->orgs()->removeSecurityManagerTeam(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-actions-billing-org

获取组织的GitHub Actions账单

使用 call 方法

$client->call('GET /orgs/{org}/settings/billing/actions', [
        'org' => 'generated',
]);

操作方法

$client->operations()->billing()->getGithubActionsBillingOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-advanced-security-billing-org

获取组织的GitHub Advanced Security活跃贡献者

使用 call 方法

$client->call('GET /orgs/{org}/settings/billing/advanced-security', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->billing()->getGithubAdvancedSecurityBillingOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-github-packages-billing-org

获取组织的GitHub Packages账单

使用 call 方法

$client->call('GET /orgs/{org}/settings/billing/packages', [
        'org' => 'generated',
]);

操作方法

$client->operations()->billing()->getGithubPackagesBillingOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

billing/get-shared-storage-billing-org

获取组织的共享存储账单

使用 call 方法

$client->call('GET /orgs/{org}/settings/billing/shared-storage', [
        'org' => 'generated',
]);

操作方法

$client->operations()->billing()->getSharedStorageBillingOrg(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-idp-groups-for-org

列出组织的IdP组

使用 call 方法

$client->call('GET /orgs/{org}/team-sync/groups', [
        'org' => 'generated',
        'page' => 'generated',
        'q' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->teams()->listIdpGroupsForOrg(        org: 'generated',
        page: 'generated',
        q: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-team

获取团队Copilot使用摘要

使用 call 方法

$client->call('GET /orgs/{org}/team/{team_slug}/copilot/usage', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForTeam(        org: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

copilot/usage-metrics-for-team

获取团队Copilot使用摘要

使用 call 方法

$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/usage', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->copilot()->usageMetricsForTeamListing(        org: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list

列出团队

使用 call 方法

$client->call('GET /orgs/{org}/teams', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->list(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list

列出团队

使用 call 方法

$client->call('LIST /orgs/{org}/teams', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listListing(        org: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/create

创建团队

使用 call 方法

$client->call('POST /orgs/{org}/teams', [
        'org' => 'generated',
]);

操作方法

$client->operations()->teams()->create(        org: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/get-by-name

通过名称获取团队

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->getByName(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/delete-in-org

删除团队

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->deleteInOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/update-in-org

更新团队

使用 call 方法

$client->call('PATCH /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->updateInOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-discussions-in-org

列出讨论

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'pinned' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listDiscussionsInOrg(        org: 'generated',
        team_slug: 'generated',
        pinned: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-discussions-in-org

列出讨论

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'pinned' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listDiscussionsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        pinned: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/create-discussion-in-org

创建讨论

使用 call 方法

$client->call('POST /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->createDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/get-discussion-in-org

获取讨论

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);

操作方法

$client->operations()->teams()->getDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/delete-discussion-in-org

删除讨论

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);

操作方法

$client->operations()->teams()->deleteDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/update-discussion-in-org

更新讨论

使用 call 方法

$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);

操作方法

$client->operations()->teams()->updateDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-discussion-comments-in-org

列出讨论评论

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listDiscussionCommentsInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-discussion-comments-in-org

列出讨论评论

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listDiscussionCommentsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        direction: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/create-discussion-comment-in-org

创建讨论评论

使用 call 方法

$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);

操作方法

$client->operations()->teams()->createDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/get-discussion-comment-in-org

获取讨论评论

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);

操作方法

$client->operations()->teams()->getDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/delete-discussion-comment-in-org

删除讨论评论

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);

操作方法

$client->operations()->teams()->deleteDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/update-discussion-comment-in-org

更新讨论评论

使用 call 方法

$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);

操作方法

$client->operations()->teams()->updateDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

reactions/list-for-team-discussion-comment-in-org

列出团队讨论评论的反应

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForTeamDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

reactions/list-for-team-discussion-comment-in-org

列出团队讨论评论的反应

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForTeamDiscussionCommentInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

reactions/create-for-team-discussion-comment-in-org

为团队讨论评论创建反应

使用 call 方法

$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);

操作方法

$client->operations()->reactions()->createForTeamDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

reactions/delete-for-team-discussion-comment

删除团队讨论评论的反应

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'reaction_id' => 11,
]);

操作方法

$client->operations()->reactions()->deleteForTeamDiscussionComment(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        reaction_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

reactions/list-for-team-discussion-in-org

列出团队讨论的反应

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForTeamDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

reactions/list-for-team-discussion-in-org

列出团队讨论的反应

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForTeamDiscussionInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

reactions/create-for-team-discussion-in-org

创建团队讨论的反应

使用 call 方法

$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);

操作方法

$client->operations()->reactions()->createForTeamDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);

您可以在API方法文档中了解更多关于此操作的信息。

reactions/delete-for-team-discussion

删除团队讨论的反应

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'reaction_id' => 11,
]);

操作方法

$client->operations()->reactions()->deleteForTeamDiscussion(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        reaction_id: 11,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-linked-external-idp-groups-to-team-for-org

列出外部组和团队之间的连接

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->listLinkedExternalIdpGroupsToTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/unlink-external-idp-group-from-team-for-org

从团队中移除外部组连接

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->unlinkExternalIdpGroupFromTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/link-external-idp-group-to-team-for-org

更新外部组和团队之间的连接

使用 call 方法

$client->call('PATCH /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->linkExternalIdpGroupToTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-pending-invitations-in-org

列出待处理的团队邀请

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/invitations', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listPendingInvitationsInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-pending-invitations-in-org

列出待处理的团队邀请

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/invitations', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listPendingInvitationsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-members-in-org

列出团队成员

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/members', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listMembersInOrg(        org: 'generated',
        team_slug: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-members-in-org

列出团队成员

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/members', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listMembersInOrgListing(        org: 'generated',
        team_slug: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/get-membership-for-user-in-org

获取用户的团队成员资格

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->teams()->getMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/add-or-update-membership-for-user-in-org

添加或更新用户的团队成员资格

使用 call 方法

$client->call('PUT /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->teams()->addOrUpdateMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/remove-membership-for-user-in-org

移除用户的团队成员资格

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->teams()->removeMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-projects-in-org

列出团队项目

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/projects', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listProjectsInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/list-projects-in-org

列出团队项目

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/projects', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listProjectsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/check-permissions-for-project-in-org

检查团队项目的权限

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);

操作方法

$client->operations()->teams()->checkPermissionsForProjectInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/add-or-update-project-permissions-in-org

添加或更新团队项目的权限

使用 call 方法

$client->call('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);

操作方法

$client->operations()->teams()->addOrUpdateProjectPermissionsInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);

您可以在API方法文档中了解更多关于此操作的信息。

teams/remove-project-in-org

从团队中移除项目

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);

操作方法

$client->operations()->teams()->removeProjectInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-repos-in-org

列出团队仓库

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/repos', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listReposInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-repos-in-org

列出团队仓库

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/repos', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listReposInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/check-permissions-for-repo-in-org

检查仓库的团队权限

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->teams()->checkPermissionsForRepoInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/add-or-update-repo-permissions-in-org

添加或更新团队仓库权限

使用 call 方法

$client->call('PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->teams()->addOrUpdateRepoPermissionsInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/remove-repo-in-org

从团队中删除仓库

使用 call 方法

$client->call('DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->teams()->removeRepoInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-idp-groups-in-org

列出团队的IdP组

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->listIdpGroupsInOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/create-or-update-idp-group-connections-in-org

创建或更新IdP组连接

使用 call 方法

$client->call('PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);

操作方法

$client->operations()->teams()->createOrUpdateIdpGroupConnectionsInOrg(        org: 'generated',
        team_slug: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-child-in-org

列出子团队

使用 call 方法

$client->call('GET /orgs/{org}/teams/{team_slug}/teams', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listChildInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

teams/list-child-in-org

列出子团队

使用 call 方法

$client->call('LIST /orgs/{org}/teams/{team_slug}/teams', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->teams()->listChildInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

orgs/enable-or-disable-security-product-on-all-org-repos

为组织启用或禁用安全功能

使用 call 方法

$client->call('POST /orgs/{org}/{security_product}/{enablement}', [
        'org' => 'generated',
        'security_product' => 'generated',
        'enablement' => 'generated',
]);

操作方法

$client->operations()->orgs()->enableOrDisableSecurityProductOnAllOrgRepos(        org: 'generated',
        security_product: 'generated',
        enablement: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/get-card

获取项目卡片

使用 call 方法

$client->call('GET /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);

操作方法

$client->operations()->projects()->getCard(        card_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/delete-card

删除项目卡片

使用 call 方法

$client->call('DELETE /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);

操作方法

$client->operations()->projects()->deleteCard(        card_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/update-card

更新现有项目卡片

使用 call 方法

$client->call('PATCH /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);

操作方法

$client->operations()->projects()->updateCard(        card_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/move-card

移动项目卡片

使用 call 方法

$client->call('POST /projects/columns/cards/{card_id}/moves', [
        'card_id' => 7,
]);

操作方法

$client->operations()->projects()->moveCard(        card_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/get-column

获取项目列

使用 call 方法

$client->call('GET /projects/columns/{column_id}', [
        'column_id' => 9,
]);

操作方法

$client->operations()->projects()->getColumn(        column_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/delete-column

删除项目列

使用 call 方法

$client->call('DELETE /projects/columns/{column_id}', [
        'column_id' => 9,
]);

操作方法

$client->operations()->projects()->deleteColumn(        column_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/update-column

更新现有项目列

使用 call 方法

$client->call('PATCH /projects/columns/{column_id}', [
        'column_id' => 9,
]);

操作方法

$client->operations()->projects()->updateColumn(        column_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-cards

列出项目卡片

使用 call 方法

$client->call('GET /projects/columns/{column_id}/cards', [
        'column_id' => 9,
        'archived_state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listCards(        column_id: 9,
        archived_state: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-cards

列出项目卡片

使用 call 方法

$client->call('LIST /projects/columns/{column_id}/cards', [
        'column_id' => 9,
        'archived_state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listCardsListing(        column_id: 9,
        archived_state: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/create-card

创建项目卡片

使用 call 方法

$client->call('POST /projects/columns/{column_id}/cards', [
        'column_id' => 9,
]);

操作方法

$client->operations()->projects()->createCard(        column_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/move-column

移动项目列

使用 call 方法

$client->call('POST /projects/columns/{column_id}/moves', [
        'column_id' => 9,
]);

操作方法

$client->operations()->projects()->moveColumn(        column_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/get

获取项目

使用 call 方法

$client->call('GET /projects/{project_id}', [
        'project_id' => 10,
]);

操作方法

$client->operations()->projects()->get(        project_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/delete

删除项目

使用 call 方法

$client->call('DELETE /projects/{project_id}', [
        'project_id' => 10,
]);

操作方法

$client->operations()->projects()->delete(        project_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/update

更新项目

使用 call 方法

$client->call('PATCH /projects/{project_id}', [
        'project_id' => 10,
]);

操作方法

$client->operations()->projects()->update(        project_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-collaborators

列出项目协作者

使用 call 方法

$client->call('GET /projects/{project_id}/collaborators', [
        'project_id' => 10,
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listCollaborators(        project_id: 10,
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-collaborators

列出项目协作者

使用 call 方法

$client->call('LIST /projects/{project_id}/collaborators', [
        'project_id' => 10,
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listCollaboratorsListing(        project_id: 10,
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/add-collaborator

添加项目协作者

使用 call 方法

$client->call('PUT /projects/{project_id}/collaborators/{username}', [
        'project_id' => 10,
        'username' => 'generated',
]);

操作方法

$client->operations()->projects()->addCollaborator(        project_id: 10,
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/remove-collaborator

移除用户作为协作者

使用 call 方法

$client->call('DELETE /projects/{project_id}/collaborators/{username}', [
        'project_id' => 10,
        'username' => 'generated',
]);

操作方法

$client->operations()->projects()->removeCollaborator(        project_id: 10,
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/get-permission-for-user

获取用户的项目权限

使用 call 方法

$client->call('GET /projects/{project_id}/collaborators/{username}/permission', [
        'project_id' => 10,
        'username' => 'generated',
]);

操作方法

$client->operations()->projects()->getPermissionForUser(        project_id: 10,
        username: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-columns

列出项目列

使用 call 方法

$client->call('GET /projects/{project_id}/columns', [
        'project_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listColumns(        project_id: 10,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/list-columns

列出项目列

使用 call 方法

$client->call('LIST /projects/{project_id}/columns', [
        'project_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->projects()->listColumnsListing(        project_id: 10,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

projects/create-column

创建项目列

使用 call 方法

$client->call('POST /projects/{project_id}/columns', [
        'project_id' => 10,
]);

操作方法

$client->operations()->projects()->createColumn(        project_id: 10,
);

您可以在API方法文档中找到更多关于此操作的信息。

rate-limit/get

获取认证用户的速率限制状态

使用 call 方法

$client->call('GET /rate_limit');

操作方法

$client->operations()->rateLimit()->get();

您可以在API方法文档中找到更多关于此操作的信息。

repos/get

获取存储库

使用 call 方法

$client->call('GET /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->get(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete

删除存储库

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->delete(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/update

更新存储库

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->update(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-artifacts-for-repo

列出存储库的工件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/artifacts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listArtifactsForRepo(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-artifact

获取工件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
]);

操作方法

$client->operations()->actions()->getArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-artifact

删除工件

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
]);

操作方法

$client->operations()->actions()->deleteArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/download-artifact

下载工件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
        'archive_format' => 'generated',
]);

操作方法

$client->operations()->actions()->downloadArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
        archive_format: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/download-artifact

下载工件

使用 call 方法

$client->call('STREAM /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
        'archive_format' => 'generated',
]);

操作方法

$client->operations()->actions()->downloadArtifactStreaming(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
        archive_format: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-actions-cache-usage

获取仓库的 GitHub Actions 缓存使用情况

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/cache/usage', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getActionsCacheUsage(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-actions-cache-list

列出仓库的 GitHub Actions 缓存

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/caches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'key' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);

操作方法

$client->operations()->actions()->getActionsCacheList(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        key: 'generated',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/delete-actions-cache-by-key

使用缓存键删除仓库的 GitHub Actions 缓存

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/caches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'key' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteActionsCacheByKey(        owner: 'generated',
        repo: 'generated',
        key: 'generated',
        ref: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/delete-actions-cache-by-id

使用缓存 ID 删除仓库的 GitHub Actions 缓存

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'cache_id' => 8,
]);

操作方法

$client->operations()->actions()->deleteActionsCacheById(        owner: 'generated',
        repo: 'generated',
        cache_id: 8,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-job-for-workflow-run

获取工作流程运行的作业

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);

操作方法

$client->operations()->actions()->getJobForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/download-job-logs-for-workflow-run

下载工作流程运行的作业日志

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);

操作方法

$client->operations()->actions()->downloadJobLogsForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/download-job-logs-for-workflow-run

下载工作流程运行的作业日志

使用 call 方法

$client->call('STREAM /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);

操作方法

$client->operations()->actions()->downloadJobLogsForWorkflowRunStreaming(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/re-run-job-for-workflow-run

从工作流程运行中重新运行作业

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);

操作方法

$client->operations()->actions()->reRunJobForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-custom-oidc-sub-claim-for-repo

获取仓库的 OIDC 主题声明的自定义模板

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/oidc/customization/sub', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getCustomOidcSubClaimForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/set-custom-oidc-sub-claim-for-repo

设置仓库的 OIDC 主题声明的自定义模板

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/oidc/customization/sub', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->setCustomOidcSubClaimForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/list-repo-organization-secrets

列出仓库组织的机密

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/organization-secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listRepoOrganizationSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/list-repo-organization-variables

列出仓库组织的变量

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/organization-variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listRepoOrganizationVariables(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-github-actions-permissions-repository

获取仓库的 GitHub Actions 权限

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/permissions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getGithubActionsPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/set-github-actions-permissions-repository

设置仓库的 GitHub Actions 权限

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/permissions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->setGithubActionsPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中找到更多关于此操作的信息。

actions/get-workflow-access-to-repository

获取存储库外工作流的访问级别

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/permissions/access', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getWorkflowAccessToRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/set-workflow-access-to-repository

设置存储库外工作流的访问级别

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/permissions/access', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->setWorkflowAccessToRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/get-allowed-actions-repository

获取存储库允许的操作和可重用工作流

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/permissions/selected-actions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getAllowedActionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/set-allowed-actions-repository

设置存储库的允许操作

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/permissions/selected-actions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->setAllowedActionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/get-github-actions-default-workflow-permissions-repository

获取存储库的默认工作流权限

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/permissions/workflow', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/set-github-actions-default-workflow-permissions-repository

设置存储库的默认工作流权限

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/list-self-hosted-runners-for-repo

列出存储库的自托管运行器

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runners', [
        'name' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listSelfHostedRunnersForRepo(        name: 'generated',
        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/list-runner-applications-for-repo

列出存储库的运行器应用程序

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runners/downloads', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->listRunnerApplicationsForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/generate-runner-jitconfig-for-repo

为存储库创建即时运行器的配置

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->generateRunnerJitconfigForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/create-registration-token-for-repo

为存储库创建注册令牌

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->createRegistrationTokenForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/create-remove-token-for-repo

为存储库创建移除令牌

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->createRemoveTokenForRepo(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/get-self-hosted-runner-for-repo

获取存储库的自托管运行器

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->getSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/delete-self-hosted-runner-from-repo

从存储库中删除自托管运行器

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->deleteSelfHostedRunnerFromRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的详细信息。

actions/list-labels-for-self-hosted-runner-for-repo

为仓库自托管运行器列出标签

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->listLabelsForSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/set-custom-labels-for-self-hosted-runner-for-repo

为仓库自托管运行器设置自定义标签

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/add-custom-labels-to-self-hosted-runner-for-repo

为仓库自托管运行器添加自定义标签

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/remove-all-custom-labels-from-self-hosted-runner-for-repo

从仓库自托管运行器中移除所有自定义标签

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);

操作方法

$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/remove-custom-label-from-self-hosted-runner-for-repo

从仓库自托管运行器中移除自定义标签

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-workflow-runs-for-repo

列出仓库的工作流运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'actor' => 'generated',
        'branch' => 'generated',
        'event' => 'generated',
        'status' => 'generated',
        'created' => '1970-01-01T00:00:00+00:00',
        'check_suite_id' => 14,
        'head_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'exclude_pull_requests' => ,
]);

操作方法

$client->operations()->actions()->listWorkflowRunsForRepo(        owner: 'generated',
        repo: 'generated',
        actor: 'generated',
        branch: 'generated',
        event: 'generated',
        status: 'generated',
        created: '1970-01-01T00:00:00+00:00',
        check_suite_id: 14,
        head_sha: 'generated',
        per_page: 8,
        page: 1,
        exclude_pull_requests: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-workflow-run

获取工作流运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'exclude_pull_requests' => ,
]);

操作方法

$client->operations()->actions()->getWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        exclude_pull_requests: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-workflow-run

删除工作流运行

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->deleteWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-reviews-for-run

获取工作流运行的审查历史

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->getReviewsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/approve-workflow-run

批准分叉拉取请求的工作流运行

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->approveWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-workflow-run-artifacts

列出工作流运行的工件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listWorkflowRunArtifacts(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-workflow-run-attempt

获取工作流运行尝试

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
        'exclude_pull_requests' => ,
]);

操作方法

$client->operations()->actions()->getWorkflowRunAttempt(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
        exclude_pull_requests: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-jobs-for-workflow-run-attempt

列出工作流运行尝试的作业

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listJobsForWorkflowRunAttempt(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/download-workflow-run-attempt-logs

下载工作流运行尝试日志

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
]);

操作方法

$client->operations()->actions()->downloadWorkflowRunAttemptLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/download-workflow-run-attempt-logs

下载工作流运行尝试日志

使用 call 方法

$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
]);

操作方法

$client->operations()->actions()->downloadWorkflowRunAttemptLogsStreaming(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/cancel-workflow-run

取消工作流运行

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->cancelWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/review-custom-gates-for-run

审查工作流运行的自定义部署保护规则

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->reviewCustomGatesForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/force-cancel-workflow-run

强制取消工作流运行

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->forceCancelWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-jobs-for-workflow-run

列出工作流运行的工作

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listJobsForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        filter: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/download-workflow-run-logs

下载工作流运行日志

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->downloadWorkflowRunLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/download-workflow-run-logs

下载工作流运行日志

使用 call 方法

$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->downloadWorkflowRunLogsStreaming(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-workflow-run-logs

删除工作流运行日志

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->deleteWorkflowRunLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-pending-deployments-for-run

获取工作流运行的挂起部署

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->getPendingDeploymentsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/review-pending-deployments-for-run

审查工作流运行的挂起部署

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->reviewPendingDeploymentsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/re-run-workflow

重新运行工作流

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->reRunWorkflow(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/re-run-workflow-failed-jobs

从工作流运行中重新运行失败的工作

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->reRunWorkflowFailedJobs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-workflow-run-usage

获取工作流运行使用情况

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);

操作方法

$client->operations()->actions()->getWorkflowRunUsage(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-repo-secrets

列出仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listRepoSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-repo-public-key

获取仓库公钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/secrets/public-key', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->getRepoPublicKey(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-repo-secret

获取仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->getRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/create-or-update-repo-secret

创建或更新仓库密钥

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->createOrUpdateRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-repo-secret

删除仓库密钥

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-repo-variables

列出仓库变量

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listRepoVariables(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/create-repo-variable

创建仓库变量

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->actions()->createRepoVariable(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-repo-variable

获取仓库变量

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->getRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/delete-repo-variable

删除仓库变量

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/update-repo-variable

更新仓库变量

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->updateRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-repo-workflows

列出仓库工作流程

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/workflows', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listRepoWorkflows(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-workflow

获取工作流程

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);

操作方法

$client->operations()->actions()->getWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/disable-workflow

禁用工作流程

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);

操作方法

$client->operations()->actions()->disableWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/create-workflow-dispatch

创建工作流程分发事件

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);

操作方法

$client->operations()->actions()->createWorkflowDispatch(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/enable-workflow

启用工作流程

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);

操作方法

$client->operations()->actions()->enableWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/list-workflow-runs

列出工作流程运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
        'actor' => 'generated',
        'branch' => 'generated',
        'event' => 'generated',
        'status' => 'generated',
        'created' => '1970-01-01T00:00:00+00:00',
        'check_suite_id' => 14,
        'head_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'exclude_pull_requests' => ,
]);

操作方法

$client->operations()->actions()->listWorkflowRuns(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
        actor: 'generated',
        branch: 'generated',
        event: 'generated',
        status: 'generated',
        created: '1970-01-01T00:00:00+00:00',
        check_suite_id: 14,
        head_sha: 'generated',
        per_page: 8,
        page: 1,
        exclude_pull_requests: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

actions/get-workflow-usage

获取工作流程使用情况

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);

操作方法

$client->operations()->actions()->getWorkflowUsage(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-activities

列出仓库活动

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/activity', [
        'owner' => 'generated',
        'repo' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'ref' => 'generated',
        'actor' => 'generated',
        'time_period' => 'generated',
        'activity_type' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->repos()->listActivities(        owner: 'generated',
        repo: 'generated',
        before: 'generated',
        after: 'generated',
        ref: 'generated',
        actor: 'generated',
        time_period: 'generated',
        activity_type: 'generated',
        direction: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

issues/list-assignees

列出分配者

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/assignees', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->listAssignees(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

issues/list-assignees

列出分配者

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/assignees', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->issues()->listAssigneesListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

issues/check-user-can-be-assigned

检查用户是否可以被分配

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/assignees/{assignee}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'assignee' => 'generated',
]);

操作方法

$client->operations()->issues()->checkUserCanBeAssigned(        owner: 'generated',
        repo: 'generated',
        assignee: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-attestation

创建证明

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/attestations', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createAttestation(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-attestations

列出认证

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'subject_digest' => 'generated',
        'per_page' => 8,
]);

操作方法

$client->operations()->repos()->listAttestations(        owner: 'generated',
        repo: 'generated',
        before: 'generated',
        after: 'generated',
        subject_digest: 'generated',
        per_page: 8,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-autolinks

获取存储库的所有自动链接

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/autolinks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->listAutolinks(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-autolink

为存储库创建自动链接引用

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/autolinks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createAutolink(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-autolink

获取存储库的自动链接引用

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/autolinks/{autolink_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'autolink_id' => 11,
]);

操作方法

$client->operations()->repos()->getAutolink(        owner: 'generated',
        repo: 'generated',
        autolink_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-autolink

从存储库中删除自动链接引用

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'autolink_id' => 11,
]);

操作方法

$client->operations()->repos()->deleteAutolink(        owner: 'generated',
        repo: 'generated',
        autolink_id: 11,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/check-automated-security-fixes

检查存储库是否启用了自动安全修复

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->checkAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/enable-automated-security-fixes

启用自动安全修复

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->enableAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/disable-automated-security-fixes

禁用自动安全修复

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->disableAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-branches

列出分支

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'protected' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listBranches(        owner: 'generated',
        repo: 'generated',
        protected: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-branches

列出分支

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/branches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'protected' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listBranchesListing(        owner: 'generated',
        repo: 'generated',
        protected: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-branch

获取分支

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-branch-protection

获取分支保护

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/update-branch-protection

更新分支保护

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->updateBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-branch-protection

删除分支保护

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-admin-branch-protection

获取管理员分支保护

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/set-admin-branch-protection

设置管理员分支保护

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->setAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-admin-branch-protection

删除管理员分支保护

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-pull-request-review-protection

获取拉取请求审查保护

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getPullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/delete-pull-request-review-protection

删除拉取请求审查保护

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->deletePullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/update-pull-request-review-protection

更新拉取请求审查保护

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->updatePullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-commit-signature-protection

获取提交签名保护

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/create-commit-signature-protection

创建提交签名保护

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->createCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/delete-commit-signature-protection

删除提交签名保护

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-status-checks-protection

获取状态检查保护

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getStatusChecksProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/remove-status-check-protection

移除状态检查保护

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->removeStatusCheckProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/update-status-check-protection

更新状态检查保护

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->updateStatusCheckProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-all-status-check-contexts

获取所有状态检查上下文

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getAllStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/set-status-check-contexts

设置状态检查上下文

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->setStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/add-status-check-contexts

添加状态检查上下文

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->addStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/remove-status-check-contexts

移除状态检查上下文

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->removeStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-access-restrictions

获取访问限制

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/delete-access-restrictions

删除访问限制

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-apps-with-access-to-protected-branch

获取有权访问受保护分支的应用程序

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getAppsWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/set-app-access-restrictions

设置应用访问限制

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->setAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/add-app-access-restrictions

添加应用访问限制

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->addAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/remove-app-access-restrictions

移除应用访问限制

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->removeAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-teams-with-access-to-protected-branch

获取可以访问受保护分支的团队

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getTeamsWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/set-team-access-restrictions

设置团队访问限制

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->setTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/add-team-access-restrictions

添加团队访问限制

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->addTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/remove-team-access-restrictions

移除团队访问限制

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->removeTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-users-with-access-to-protected-branch

获取可以访问受保护分支的用户

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->getUsersWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/set-user-access-restrictions

设置用户访问限制

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->setUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/add-user-access-restrictions

添加用户访问限制

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->addUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/remove-user-access-restrictions

移除用户访问限制

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->removeUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/rename-branch

重命名分支

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/branches/{branch}/rename', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);

操作方法

$client->operations()->repos()->renameBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/create

创建检查运行

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/check-runs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->checks()->create(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/get

获取检查运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);

操作方法

$client->operations()->checks()->get(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/update

更新检查运行

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);

操作方法

$client->operations()->checks()->update(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/list-annotations

列出检查运行注解

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->checks()->listAnnotations(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/list-annotations

列出检查运行注解

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->checks()->listAnnotationsListing(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/rerequest-run

重新请求检查运行

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);

操作方法

$client->operations()->checks()->rerequestRun(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/create-suite

创建检查套件

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/check-suites', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->checks()->createSuite(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/set-suites-preferences

更新检查套件的存储库首选项

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/check-suites/preferences', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->checks()->setSuitesPreferences(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/get-suite

获取检查套件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
]);

操作方法

$client->operations()->checks()->getSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/list-for-suite

列出检查套件中的检查运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
        'check_name' => 'generated',
        'status' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->checks()->listForSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
        check_name: 'generated',
        status: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/rerequest-suite

重新请求检查套件

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
]);

操作方法

$client->operations()->checks()->rerequestSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-alerts-for-repo

列出存储库中的代码扫描警报

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForRepo(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-alerts-for-repo

列出存储库中的代码扫描警报

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listAlertsForRepoListing(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/get-alert

获取代码扫描警报

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);

操作方法

$client->operations()->codeScanning()->getAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/update-alert

更新代码扫描警报

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);

操作方法

$client->operations()->codeScanning()->updateAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-alert-instances

列出代码扫描警报的实例

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
        'ref' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->codeScanning()->listAlertInstances(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
        ref: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-alert-instances

列出代码扫描警报的实例

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
        'ref' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->codeScanning()->listAlertInstancesListing(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
        ref: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-recent-analyses

列出存储库中的代码扫描分析

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'sarif_id' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listRecentAnalyses(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        sarif_id: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-recent-analyses

列出存储库中的代码扫描分析

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/code-scanning/analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'sarif_id' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listRecentAnalysesListing(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        sarif_id: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/get-analysis

获取存储库中的代码扫描分析

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'analysis_id' => 11,
]);

操作方法

$client->operations()->codeScanning()->getAnalysis(        owner: 'generated',
        repo: 'generated',
        analysis_id: 11,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/delete-analysis

从存储库中删除代码扫描分析

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'analysis_id' => 11,
        'confirm_delete' => ,
]);

操作方法

$client->operations()->codeScanning()->deleteAnalysis(        owner: 'generated',
        repo: 'generated',
        analysis_id: 11,
        confirm_delete: ,
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/list-codeql-databases

列出存储库中的CodeQL数据库

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->listCodeqlDatabases(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/get-codeql-database

获取存储库中的CodeQL数据库

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'language' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->getCodeqlDatabase(        owner: 'generated',
        repo: 'generated',
        language: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

code-scanning/create-variant-analysis

创建 CodeQL 变体分析

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->createVariantAnalysis(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/get-variant-analysis

获取 CodeQL 变体分析的摘要

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'codeql_variant_analysis_id' => 26,
]);

操作方法

$client->operations()->codeScanning()->getVariantAnalysis(        owner: 'generated',
        repo: 'generated',
        codeql_variant_analysis_id: 26,
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/get-variant-analysis-repo-task

获取 CodeQL 变体分析中仓库的分析状态

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'codeql_variant_analysis_id' => 26,
        'repo_owner' => 'generated',
        'repo_name' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->getVariantAnalysisRepoTask(        owner: 'generated',
        repo: 'generated',
        codeql_variant_analysis_id: 26,
        repo_owner: 'generated',
        repo_name: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/get-default-setup

获取代码扫描默认设置配置

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/default-setup', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->getDefaultSetup(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/update-default-setup

更新代码扫描默认设置配置

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/code-scanning/default-setup', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->updateDefaultSetup(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/upload-sarif

将分析数据作为 SARIF 数据上传

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/code-scanning/sarifs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->uploadSarif(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-scanning/get-sarif

获取 SARIF 上传的信息

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sarif_id' => 'generated',
]);

操作方法

$client->operations()->codeScanning()->getSarif(        owner: 'generated',
        repo: 'generated',
        sarif_id: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

code-security/get-configuration-for-repository

获取与仓库关联的代码安全配置

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/code-security-configuration', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codeSecurity()->getConfigurationForRepository(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/codeowners-errors

列出 CODEOWNERS 错误

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codeowners/errors', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->repos()->codeownersErrors(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/list-in-repository-for-authenticated-user

列出认证用户在仓库中的 codespaces

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->listInRepositoryForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/create-with-repo-for-authenticated-user

在仓库中创建 codespace

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/codespaces', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codespaces()->createWithRepoForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/list-devcontainers-in-repository-for-authenticated-user

列出认证用户在仓库中的 devcontainer 配置

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/devcontainers', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->listDevcontainersInRepositoryForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/repo-machines-for-authenticated-user

列出仓库可用的机器类型

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/machines', [
        'owner' => 'generated',
        'repo' => 'generated',
        'location' => 'generated',
        'client_ip' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->codespaces()->repoMachinesForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        location: 'generated',
        client_ip: 'generated',
        ref: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/pre-flight-with-repo-for-authenticated-user

获取 codespace 的默认属性

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/new', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'client_ip' => 'generated',
]);

操作方法

$client->operations()->codespaces()->preFlightWithRepoForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        client_ip: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/check-permissions-for-devcontainer

检查由 devcontainer 定义的权限是否已被认证用户接受

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/permissions_check', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'devcontainer_path' => 'generated',
]);

操作方法

$client->operations()->codespaces()->checkPermissionsForDevcontainer(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        devcontainer_path: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/list-repo-secrets

列出仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->codespaces()->listRepoSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/get-repo-public-key

获取仓库公钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/secrets/public-key', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->codespaces()->getRepoPublicKey(        owner: 'generated',
        repo: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/get-repo-secret

获取仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->getRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/create-or-update-repo-secret

创建或更新仓库密钥

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->createOrUpdateRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

codespaces/delete-repo-secret

删除仓库密钥

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->codespaces()->deleteRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/list-collaborators

列出仓库协作者

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/collaborators', [
        'owner' => 'generated',
        'repo' => 'generated',
        'permission' => 'generated',
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCollaborators(        owner: 'generated',
        repo: 'generated',
        permission: 'generated',
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/list-collaborators

列出仓库协作者

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/collaborators', [
        'owner' => 'generated',
        'repo' => 'generated',
        'permission' => 'generated',
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCollaboratorsListing(        owner: 'generated',
        repo: 'generated',
        permission: 'generated',
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/check-collaborator

检查用户是否是仓库协作者

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/collaborators/{username}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->repos()->checkCollaborator(        owner: 'generated',
        repo: 'generated',
        username: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/add-collaborator

添加仓库协作者

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/collaborators/{username}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->repos()->addCollaborator(        owner: 'generated',
        repo: 'generated',
        username: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/remove-collaborator

移除仓库协作者

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/collaborators/{username}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->repos()->removeCollaborator(        owner: 'generated',
        repo: 'generated',
        username: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/get-collaborator-permission-level

获取用户的仓库权限

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/collaborators/{username}/permission', [
        'owner' => 'generated',
        'repo' => 'generated',
        'username' => 'generated',
]);

操作方法

$client->operations()->repos()->getCollaboratorPermissionLevel(        owner: 'generated',
        repo: 'generated',
        username: 'generated',
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/list-commit-comments-for-repo

列出仓库的提交评论

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/comments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommitCommentsForRepo(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/list-commit-comments-for-repo

列出仓库的提交评论

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/comments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommitCommentsForRepoListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/get-commit-comment

获取提交评论

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/comments/{comment_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->repos()->getCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/delete-commit-comment

删除提交评论

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/comments/{comment_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->repos()->deleteCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
);

您可以在API 方法文档中了解更多关于此操作的信息。

repos/update-commit-comment

更新提交评论

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/comments/{comment_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->repos()->updateCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
);

您可以在API 方法文档中了解更多关于此操作的信息。

reactions/list-for-commit-comment

列出提交评论的反应

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

reactions/list-for-commit-comment

列出提交评论的反应

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->reactions()->listForCommitCommentListing(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
        content: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API 方法文档中了解更多关于此操作的信息。

reactions/create-for-commit-comment

为提交评论创建反应

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
]);

操作方法

$client->operations()->reactions()->createForCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
);

您可以在API方法文档中了解更多关于此操作的信息。

reactions/delete-for-commit-comment

删除提交评论反应

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'comment_id' => 10,
        'reaction_id' => 11,
]);

操作方法

$client->operations()->reactions()->deleteForCommitComment(        owner: 'generated',
        repo: 'generated',
        comment_id: 10,
        reaction_id: 11,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-commits

列出提交

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sha' => 'generated',
        'path' => 'generated',
        'author' => 'generated',
        'committer' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'until' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommits(        owner: 'generated',
        repo: 'generated',
        sha: 'generated',
        path: 'generated',
        author: 'generated',
        committer: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        until: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-commits

列出提交

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/commits', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sha' => 'generated',
        'path' => 'generated',
        'author' => 'generated',
        'committer' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'until' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommitsListing(        owner: 'generated',
        repo: 'generated',
        sha: 'generated',
        path: 'generated',
        author: 'generated',
        committer: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        until: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-branches-for-head-commit

列出HEAD提交的分支

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
]);

操作方法

$client->operations()->repos()->listBranchesForHeadCommit(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-comments-for-commit

列出提交评论

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommentsForCommit(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-comments-for-commit

列出提交评论

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommentsForCommitListing(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/create-commit-comment

创建提交评论

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
]);

操作方法

$client->operations()->repos()->createCommitComment(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-pull-requests-associated-with-commit

列出与提交关联的拉取请求

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listPullRequestsAssociatedWithCommit(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-pull-requests-associated-with-commit

列出与提交关联的拉取请求

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/pulls', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listPullRequestsAssociatedWithCommitListing(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-commit

获取提交

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{ref}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->repos()->getCommit(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/list-for-ref

列出Git引用的检查运行

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'check_name' => 'generated',
        'status' => 'generated',
        'app_id' => 6,
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->checks()->listForRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        check_name: 'generated',
        status: 'generated',
        app_id: 6,
        filter: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

checks/list-suites-for-ref

列出Git引用的检查套件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-suites', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'app_id' => 6,
        'check_name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->checks()->listSuitesForRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        app_id: 6,
        check_name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-combined-status-for-ref

获取特定引用的合并状态

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{ref}/status', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getCombinedStatusForRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-commit-statuses-for-ref

列出引用的提交状态

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/commits/{ref}/statuses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommitStatusesForRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-commit-statuses-for-ref

列出引用的提交状态

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/commits/{ref}/statuses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listCommitStatusesForRefListing(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-community-profile-metrics

获取社区配置文件指标

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/community/profile', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->getCommunityProfileMetrics(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/compare-commits

比较两个提交

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/compare/{basehead}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'basehead' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->repos()->compareCommits(        owner: 'generated',
        repo: 'generated',
        basehead: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-content

获取存储库内容

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/contents/{path}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'path' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->repos()->getContent(        owner: 'generated',
        repo: 'generated',
        path: 'generated',
        ref: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/create-or-update-file-contents

创建或更新文件内容

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/contents/{path}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'path' => 'generated',
]);

操作方法

$client->operations()->repos()->createOrUpdateFileContents(        owner: 'generated',
        repo: 'generated',
        path: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/delete-file

删除文件

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/contents/{path}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'path' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteFile(        owner: 'generated',
        repo: 'generated',
        path: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-contributors

列出仓库贡献者

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/contributors', [
        'owner' => 'generated',
        'repo' => 'generated',
        'anon' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listContributors(        owner: 'generated',
        repo: 'generated',
        anon: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-contributors

列出仓库贡献者

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/contributors', [
        'owner' => 'generated',
        'repo' => 'generated',
        'anon' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listContributorsListing(        owner: 'generated',
        repo: 'generated',
        anon: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/list-alerts-for-repo

列出仓库的Dependabot警报

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependabot/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'manifest' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'first' => 5,
]);

操作方法

$client->operations()->dependabot()->listAlertsForRepo(        owner: 'generated',
        repo: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        manifest: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
        first: 5,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/list-alerts-for-repo

列出仓库的Dependabot警报

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/dependabot/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'manifest' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'first' => 5,
]);

操作方法

$client->operations()->dependabot()->listAlertsForRepoListing(        owner: 'generated',
        repo: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        manifest: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
        first: 5,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/get-alert

获取Dependabot警报

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);

操作方法

$client->operations()->dependabot()->getAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/update-alert

更新Dependabot警报

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);

操作方法

$client->operations()->dependabot()->updateAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/list-repo-secrets

列出仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependabot/secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->dependabot()->listRepoSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/get-repo-public-key

获取仓库公钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependabot/secrets/public-key', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->dependabot()->getRepoPublicKey(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/get-repo-secret

获取仓库密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->getRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/create-or-update-repo-secret

创建或更新仓库密钥

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->createOrUpdateRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependabot/delete-repo-secret

删除仓库密钥

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->dependabot()->deleteRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependency-graph/diff-range

获取提交之间依赖项的差异

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'basehead' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->dependencyGraph()->diffRange(        owner: 'generated',
        repo: 'generated',
        basehead: 'generated',
        name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependency-graph/export-sbom

为仓库导出软件物料清单(SBOM)。

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/dependency-graph/sbom', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->dependencyGraph()->exportSbom(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

dependency-graph/create-repository-snapshot

为仓库创建依赖项快照

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/dependency-graph/snapshots', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->dependencyGraph()->createRepositorySnapshot(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-deployments

列出部署

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sha' => 'generated',
        'ref' => 'generated',
        'task' => 'generated',
        'environment' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listDeployments(        owner: 'generated',
        repo: 'generated',
        sha: 'generated',
        ref: 'generated',
        task: 'generated',
        environment: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-deployments

列出部署

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sha' => 'generated',
        'ref' => 'generated',
        'task' => 'generated',
        'environment' => ,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listDeploymentsListing(        owner: 'generated',
        repo: 'generated',
        sha: 'generated',
        ref: 'generated',
        task: 'generated',
        environment: ,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-deployment

创建部署

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createDeployment(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-deployment

获取部署

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
]);

操作方法

$client->operations()->repos()->getDeployment(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-deployment

删除部署

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/deployments/{deployment_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
]);

操作方法

$client->operations()->repos()->deleteDeployment(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-deployment-statuses

列出部署状态

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listDeploymentStatuses(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-deployment-statuses

列出部署状态

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listDeploymentStatusesListing(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-deployment-status

创建部署状态

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
]);

操作方法

$client->operations()->repos()->createDeploymentStatus(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-deployment-status

获取部署状态

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'deployment_id' => 13,
        'status_id' => 9,
]);

操作方法

$client->operations()->repos()->getDeploymentStatus(        owner: 'generated',
        repo: 'generated',
        deployment_id: 13,
        status_id: 9,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-dispatch-event

创建仓库分发事件

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/dispatches', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createDispatchEvent(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-all-environments

列出环境

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->getAllEnvironments(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-environment

获取环境

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->repos()->getEnvironment(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-or-update-environment

创建或更新环境

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->repos()->createOrUpdateEnvironment(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-an-environment

删除环境

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->repos()->deleteAnEnvironment(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-deployment-branch-policies

列出部署分支策略

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listDeploymentBranchPolicies(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-deployment-branch-policy

创建部署分支策略

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->repos()->createDeploymentBranchPolicy(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-deployment-branch-policy

获取部署分支策略

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'branch_policy_id' => 16,
]);

操作方法

$client->operations()->repos()->getDeploymentBranchPolicy(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        branch_policy_id: 16,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/update-deployment-branch-policy

更新部署分支策略

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'branch_policy_id' => 16,
]);

操作方法

$client->operations()->repos()->updateDeploymentBranchPolicy(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        branch_policy_id: 16,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-deployment-branch-policy

删除部署分支策略

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'branch_policy_id' => 16,
]);

操作方法

$client->operations()->repos()->deleteDeploymentBranchPolicy(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        branch_policy_id: 16,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-all-deployment-protection-rules

获取环境的所有部署保护规则

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules', [
        'environment_name' => 'generated',
        'repo' => 'generated',
        'owner' => 'generated',
]);

操作方法

$client->operations()->repos()->getAllDeploymentProtectionRules(        environment_name: 'generated',
        repo: 'generated',
        owner: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-deployment-protection-rule

在环境中创建自定义部署保护规则

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules', [
        'environment_name' => 'generated',
        'repo' => 'generated',
        'owner' => 'generated',
]);

操作方法

$client->operations()->repos()->createDeploymentProtectionRule(        environment_name: 'generated',
        repo: 'generated',
        owner: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-custom-deployment-rule-integrations

列出环境中可用的自定义部署规则集成

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps', [
        'environment_name' => 'generated',
        'repo' => 'generated',
        'owner' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);

操作方法

$client->operations()->repos()->listCustomDeploymentRuleIntegrations(        environment_name: 'generated',
        repo: 'generated',
        owner: 'generated',
        page: 1,
        per_page: 8,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-custom-deployment-protection-rule

获取自定义部署保护规则

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'protection_rule_id' => 18,
]);

操作方法

$client->operations()->repos()->getCustomDeploymentProtectionRule(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        protection_rule_id: 18,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/disable-deployment-protection-rule

禁用环境中自定义保护规则

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}', [
        'environment_name' => 'generated',
        'repo' => 'generated',
        'owner' => 'generated',
        'protection_rule_id' => 18,
]);

操作方法

$client->operations()->repos()->disableDeploymentProtectionRule(        environment_name: 'generated',
        repo: 'generated',
        owner: 'generated',
        protection_rule_id: 18,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-environment-secrets

列出环境密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listEnvironmentSecrets(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/get-environment-public-key

获取环境公钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->actions()->getEnvironmentPublicKey(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/get-environment-secret

获取环境密钥

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->getEnvironmentSecret(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/create-or-update-environment-secret

创建或更新环境密钥

使用 call 方法

$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->createOrUpdateEnvironmentSecret(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/delete-environment-secret

删除环境密钥

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'secret_name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteEnvironmentSecret(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        secret_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/list-environment-variables

列出环境变量

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->actions()->listEnvironmentVariables(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/create-environment-variable

创建环境变量

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->actions()->createEnvironmentVariable(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/get-environment-variable

获取环境变量

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'environment_name' => 'generated',
        'name' => 'generated',
]);

操作方法

$client->operations()->actions()->getEnvironmentVariable(        owner: 'generated',
        repo: 'generated',
        environment_name: 'generated',
        name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/delete-environment-variable

删除环境变量

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->actions()->deleteEnvironmentVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

actions/update-environment-variable

更新环境变量

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
        'environment_name' => 'generated',
]);

操作方法

$client->operations()->actions()->updateEnvironmentVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
        environment_name: 'generated',
);

您可以在API方法文档中了解更多关于此操作的信息。

activity/list-repo-events

列出仓库事件

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listRepoEvents(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

activity/list-repo-events

列出仓库事件

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->activity()->listRepoEventsListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/list-forks

列出分叉

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/forks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listForks(        owner: 'generated',
        repo: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-forks

列出分叉

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/forks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listForksListing(        owner: 'generated',
        repo: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-fork

创建分支

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/forks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createFork(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/create-blob

创建blob

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/git/blobs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->git()->createBlob(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/get-blob

获取blob

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/blobs/{file_sha}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'file_sha' => 'generated',
]);

操作方法

$client->operations()->git()->getBlob(        owner: 'generated',
        repo: 'generated',
        file_sha: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/create-commit

创建提交

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/git/commits', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->git()->createCommit(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/get-commit

获取提交对象

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/commits/{commit_sha}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'commit_sha' => 'generated',
]);

操作方法

$client->operations()->git()->getCommit(        owner: 'generated',
        repo: 'generated',
        commit_sha: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/list-matching-refs

列出匹配的引用

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/matching-refs/{ref}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->git()->listMatchingRefs(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/get-ref

获取引用

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/ref/{ref}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->git()->getRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/create-ref

创建引用

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/git/refs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->git()->createRef(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/delete-ref

删除引用

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/git/refs/{ref}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->git()->deleteRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/update-ref

更新引用

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/git/refs/{ref}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);

操作方法

$client->operations()->git()->updateRef(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/create-tag

创建标签对象

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/git/tags', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->git()->createTag(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/get-tag

获取标签

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/tags/{tag_sha}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tag_sha' => 'generated',
]);

操作方法

$client->operations()->git()->getTag(        owner: 'generated',
        repo: 'generated',
        tag_sha: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/create-tree

创建树

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/git/trees', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->git()->createTree(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

git/get-tree

获取树

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/git/trees/{tree_sha}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tree_sha' => 'generated',
        'recursive' => 'generated',
]);

操作方法

$client->operations()->git()->getTree(        owner: 'generated',
        repo: 'generated',
        tree_sha: 'generated',
        recursive: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-webhooks

列出仓库webhook

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/hooks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listWebhooks(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/list-webhooks

列出仓库webhook

使用 call 方法

$client->call('LIST /repos/{owner}/{repo}/hooks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);

操作方法

$client->operations()->repos()->listWebhooksListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/create-webhook

创建仓库webhook

使用 call 方法

$client->call('POST /repos/{owner}/{repo}/hooks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);

操作方法

$client->operations()->repos()->createWebhook(        owner: 'generated',
        repo: 'generated',
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/get-webhook

获取仓库webhook

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->repos()->getWebhook(        owner: 'generated',
        repo: 'generated',
        hook_id: 7,
);

您可以在API方法文档中找到更多关于此操作的信息。

repos/delete-webhook

删除仓库webhook

使用 call 方法

$client->call('DELETE /repos/{owner}/{repo}/hooks/{hook_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->repos()->deleteWebhook(        owner: 'generated',
        repo: 'generated',
        hook_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/update-webhook

更新仓库的webhook

使用 call 方法

$client->call('PATCH /repos/{owner}/{repo}/hooks/{hook_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->repos()->updateWebhook(        owner: 'generated',
        repo: 'generated',
        hook_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/get-webhook-config-for-repo

获取仓库的webhook配置

使用 call 方法

$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}/config', [
        'owner' => 'generated',
        'repo' => 'generated',
        'hook_id' => 7,
]);

操作方法

$client->operations()->repos()->getWebhookConfigForRepo(        owner: 'generated',
        repo: 'generated',
        hook_id: 7,
);

您可以在API方法文档中了解更多关于此操作的信息。

repos/update-webhook-config-for-repo

更新webhook