Skip to content

Cloud Connections

Coming soon; contact us if you need access to this API endpoint.

Create a cloud connection

Request

Create a new Cloud Connections resource to connect to a cloud storage providers and import assets into Dash

Security
bearerToken
Bodyapplication/jsonrequired
typestringrequired
Enum:"GOOGLE""DROPBOX"
Discriminator
authorizationCodestringrequired

The temporary OAuth2 authorization code that Dash can exchange for an access token to a user's Google Cloud

Example:"e2b03444-8c5d-44ed-bd9f-7eee882bdf81"
redirectUristringrequired

The redirect URI that was specified when getting the authorizationCode.

Example:"https://auth.dash.app/cloud-connect"
curl -i -X POST \
  https://api-v2.dash.app/cloud-connections \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "type": "GOOGLE",
    "authorizationCode": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81",
    "redirectUri": "https://auth.dash.app/cloud-connect"
  }'

Responses

Success

Bodyapplication/json
resultanyrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "type": "GOOGLE", "id": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "email": "john.smith@gmail.com", "name": "John Smith", "picture": "https://example.com/john-smith-picture.jpg" }, "permittedActions": [ {} ] }