メインコンテンツまでスキップ

Set a GitHub connection's features.

PATCH/api/v1/github-installations/{github_installation_id}/featuresconnectors:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Replaces the connection's enabled features (actions, pull_requests, issues, workflow_files, contents_write; an empty list is the read-only default). The set is saved either way; it is active when GitHub has granted what the features need, else reconsent_url is where the account owner approves the App's permissions.

スコープconnectors:write (機密性の高いスコープ)
非同期いいえ
MCP ツールupdate_github_installation_features
Portal の権限manage_github_installations

パラメーター​

名前場所型必須説明
github_installation_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-Matchheaderstring任意

リクエスト本文​

Content-Type型
application/jsonGitHubInstallationFeaturesPatchInput
application/merge-patch+jsonGitHubInstallationFeaturesPatchInput

応答​

ステータス説明本文
200Success.application/json GitHubInstallationFeatures または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

GitHubInstallationFeatures​

フィールド型必須説明
account_loginstring または null必須
activeboolean または null必須Whether the enabled features are active (GitHub has granted what they need). Null on a read: it is evaluated when the features are set.
enabled_featuresstring の配列必須
github_installation_idstring必須
manage_urlstring必須
reconsent_urlstring または null必須Where the account owner approves the App's permissions, when the features are not active.

GitHubInstallationFeaturesPatchInput​

フィールド型必須説明
account_loginstring または null任意
activeboolean または null任意
enabled_featuresstring の配列 または null任意
github_installation_idstring または null任意
manage_urlstring または null任意
reconsent_urlstring または null任意