Cloud

Get Data Source

Gets a specific existing data source. If the creator of the data source is the user making the request, the link parameters will be returned with the data source.

get/v1/dataSources/{dataSourceId}

Request

  • Base URL: https://api.lucid.co
  • URL: https://api.lucid.co/v1/dataSources/{dataSourceId}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://lucid.app/oauth2/authorize, token URL https://api.lucid.co/oauth2/token, scopes: cloud.datasource:readonly)

Path parameters

dataSourceIdstring required

Cloud data source ID

Example:awsds_12345

The ID of the data source to retrieve

Response

OK. Returns the specified data source.

OR
OR

Example response

{
  "dataSourceId": "awsds_12345",
  "params": {
    "name": "Example AWS Data Source",
    "importType": "crossAccount",
    "awsAccountId": "123456789012",
    "regions": [
      "us-east-1",
      "us-west-2"
    ],
    "resourceSelection": [
      "AWS::EC2::Instance",
      "AWS::S3::Bucket"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.