git-integration
Git Integration

Create Git Repository

Create a new git repository configuration.

Args: repository_data: Repository creation data ctx: Application context with session, user, and company info

Returns: StandardResponse with created repository

post/api/v1/git-repositories/

Request

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

Headers

Authorizationstring

Request body

provider_idstring required

Git provider public ID (UUID)

repository_namestring required

Repository name

repository_urlstring uri required

Full repository URL (e.g., https://github.com/org/repo)

default_branchstring

Default branch name

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

Repository synchronization method.

polling_interval_minutesinteger

Polling interval in minutes (5-1440)

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.