registry-repositories

Sync Registry Repository

Sync an org-scoped registry repository.

For platform registries (base registry), use the admin API at /admin/registry/sync.

Args: repository_id: The ID of the repository to sync sync_params: Optional sync parameters, including target commit SHA and force flag

Raises: 422: If there is an error syncing the repository (validation error) 404: If the repository is not found 400: If there is an error syncing the repository

post/registry/repos/{repository_id}/sync

Request

  • Base URL
    https://platform.tracecat.com/api
  • Auth
    • API key in cookie fastapiusersauth
    • or HTTP bearer

Path parameters

repository_idstring uuid required

Request body

target_commit_shastring nullable

The specific commit SHA to sync to. If None, syncs to HEAD.

forceboolean

Force sync by deleting the existing version first, allowing re-sync.

Response

Successful Response

successboolean required
repository_idstring uuid required
originstring required
versionstring nullable
commit_shastring nullable
actions_countinteger nullable
forcedboolean

Changes

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