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

Update a GitHub repository (JSON Merge Patch).

PATCH/api/v1/github-repositories/{github_repository_id}connectors:write
注記

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

Changes the repository's settings: the owner and name, display name, the GitHub App installation (it must be one of the company's active installations), file and path filters, number prefix, active flag and schedule.

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

パラメーター​

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

リクエスト本文​

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

応答​

ステータス説明本文
200Success.application/json GitHubRepository または 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 のコードです。各コードからそのページに移動できます。

スキーマ​

GitHubRepository​

フィールド型必須説明
auth_typestring必須
created_atstring (date-time) または null必須
display_namestring または null必須
edit_group_idsstring の配列必須Groups that may edit the imported documents.
edit_user_idsstring の配列必須Users that may edit the imported documents.
file_extensionsstring の配列必須
github_account_loginstring または null必須
github_installation_idstring または null必須
github_repository_idstring必須
has_credentialsboolean必須Whether the repository has its GitHub App installation.
is_activeboolean または null必須
last_synced_atstring (date-time) または null必須
number_prefixstring または null必須
path_prefixesstring の配列必須
read_group_idsstring の配列必須Groups that may read the imported documents.
read_user_idsstring の配列必須Users that may read the imported documents.
repo_namestring必須
repo_ownerstring必須
schedule_dayinteger または null必須
schedule_hourinteger または null必須
schedule_typestring または null必須

GitHubRepositoryPatchInput​

フィールド型必須説明
auth_typestring または null任意
created_atstring (date-time) または null任意
display_namestring または null任意
edit_group_idsstring の配列 または null任意
edit_user_idsstring の配列 または null任意
file_extensionsstring の配列 または null任意
github_account_loginstring または null任意
github_installation_idstring または null任意
github_repository_idstring または null任意
has_credentialsboolean または null任意
is_activeboolean または null任意
last_synced_atstring (date-time) または null任意
number_prefixstring または null任意
path_prefixesstring の配列 または null任意
read_group_idsstring の配列 または null任意
read_user_idsstring の配列 または null任意
repo_namestring または null任意
repo_ownerstring または null任意
schedule_dayinteger または null任意
schedule_hourinteger または null任意
schedule_typestring または null任意