Skip to content

Branch names of a GitHub repo (connect/link UI)

GET
/api/workspaces/{workspaceId}/repo/github/branches
workspaceId
required
string
owner
required
string
>= 1 characters
repo
required
string
>= 1 characters
installationId
integer
> 0

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message