Viewport daemon, relay, and hosted runtime are available in alpha. Surfaces may change.
VIEWPORT
ReferenceAPI reference

Integrations

4 operations in the Integrations group.

3 of 4 operations on this page are generated contract stubs: the routes are real, the schemas are placeholders pending the owning subsystem's contract pass.

GET /api/integrations/github/repositories

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiIntegrationsGithubRepositories

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

GET /api/integrations/oauth/{provider}/callback

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: getApiIntegrationsOauthProviderCallback

Parameters

NameInRequiredTypeDescription
providerpathyesstring

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/integrations/webhooks/{endpoint}

Generated contract stub — the route is real and served, but its request/response schema has not been hand-tightened yet.

Operation ID: postApiIntegrationsWebhooksEndpoint

Parameters

NameInRequiredTypeDescription
endpointpathyesstring

Request bodyapplication/json · object

Responses

StatusDescriptionSchema
200Successful responseGenericApiResponse
201Successful responseGenericApiResponse
401Authentication is requiredErrorEnvelope
403Permission deniedErrorEnvelope
422Validation failedErrorEnvelope
500Server errorErrorEnvelope

POST /api/resources/{workspace}/provider-oauth/{provider}/start

Operation ID: startProviderOAuth

Parameters

NameInRequiredTypeDescription
workspacepathyesstring
providerpathyesenum(github, slack, linear)

Request bodyapplication/json · ProviderOAuthStartRequest

FieldTypeRequired
return_to`stringnull`

Responses

StatusDescriptionSchema
200Returns a provider authorization URL for a workspace-scoped OAuth or app-install flow. Secrets are never returned.ProviderOAuthStartResponse
409Provider OAuth is not configured for this environment.ProviderOAuthSetupRequiredResponse

On this page