admin

Update Public Repo Flags

Changed on

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}

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/admin/repos/{repo_id}
  • Auth: HTTP bearer

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
prose_refresh_blockedstring nullable
prose_compedboolean
repowise_managedboolean
descriptionstring nullable
primary_languagestring nullable
starsinteger nullable
badge_detected_atstring date-time nullable

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      the response's property default value changed from 100 to 200 for the status