Skip to content

Link a GitHub repo for this workspace's apps

POST
/api/workspaces/{workspaceId}/apps-v2/link
workspaceId
required
string
object
owner
required
string
>= 1 characters
repo
required
string
>= 1 characters
defaultBranch
string
subdirectory
string
installationId
integer

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