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

List what stops a GitHub repository being deleted.

GET/api/v1/github-repositories/{github_repository_id}/removal-blockersconnectors:read
注記

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

The active workflow templates whose latest version uses the repository (type workflow_template) and the open workflows running on a version that uses it (type workflow). Delete is refused with 409 in_use while any exists. Needs View Github Repositories. A workflow's subject is shown only with View All Workflows.

スコープconnectors:read (機密性の高いスコープ)
非同期いいえ
MCP ツールlist_github_repository_removal_blockers
Portal の権限view_github_repositories
ページングsnapshot
既定の並び順templates first, then workflows by workflow_id

パラメーター​

名前場所型必須説明
github_repository_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsGitHubRemovalBlocker の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

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

スキーマ​

GitHubRemovalBlocker​

フィールド型必須説明
started_atstring (date-time) または null必須When the workflow started; null for a template.
subjectstring または null必須The workflow's subject; null unless you hold View All Workflows.
typestring必須workflow_template (an active template whose latest version uses a repository) or workflow (an open workflow running on a version that uses one) (open).
workflow_idstring または null必須Set for type workflow.
workflow_template_idstring必須The template's root; for a workflow, the template it runs.
workflow_template_namestring または null必須