admin

Update Public Repo Flags

Set the curation / auto-sync flags on a public repo.

Shares repo_flags.apply_flags with PATCH /repos/{id}/managed so the "curating a repo turns auto-sync on" rule has one implementation.

patch/admin/repos/{repo_id}

Path parameters

repo_idstring required

Request body

repowise_managedboolean nullable
auto_sync_enabledboolean nullable

Response

Successful Response

idstring required
canonical_urlstring required
ownerstring required
namestring required
default_branchstring required
latest_known_head_shastring nullable
is_publicboolean required
file_countinteger nullable
last_checked_atstring date-time nullable
auto_sync_enabledboolean
github_checks_enabledboolean
last_webhook_atstring date-time nullable
last_polled_atstring date-time nullable
exclude_patternsstring[]
max_file_pagesinteger nullable
prose_refreshstring
prose_daily_cap_centsinteger
repowise_managedboolean
descriptionstring nullable
primary_languagestring nullable
starsinteger nullable
badge_detected_atstring date-time nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.