git-integration
Git Integration

Update Git Repository

Update a git repository.

Args: repository_id: Repository public ID (UUID) repository_data: Repository update data ctx: Application context with session, user, and company info

Returns: StandardResponse with success message

patch/api/v1/git-repositories/{repository_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/git-repositories/{repository_id}
  • Auth: none declared

Path parameters

repository_idstring required

Headers

Authorizationstring

Request body

repository_namestring nullable

Repository name

repository_urlstring uri nullable

Repository URL

default_branchstring nullable

Default branch name

is_activeboolean nullable

Whether repository is active

sync_method'webhook' | 'polling' | 'manual'

Repository synchronization method.

polling_interval_minutesinteger nullable

Polling interval in minutes

webhook_enabledboolean nullable

Enable webhook sync

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

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