Data Source - Entity APIs

Post Data Sources

Data Source - represents data source for the workspace

post/api/v1/entities/dataSources

Request

  • Base URL
    https://www.gooddata.ai
  • Auth
    none declared

Query parameters

metaIncludestring[]

Included meta objects

Include Meta objects.

Request body

Example request

{
  "data": {
    "attributes": {
      "alternativeDataSourceId": "pg_local_docker-demo2",
      "cacheRetention": {
        "schedule": {
          "cron": "0 0 5 * * *",
          "timezone": "Europe/Prague"
        }
      }
    },
    "id": "id1",
    "type": "dataSource"
  }
}

Response

Request successfully processed

Example response

{
  "data": {
    "attributes": {
      "alternativeDataSourceId": "pg_local_docker-demo2",
      "cacheRetention": {
        "schedule": {
          "cron": "0 0 5 * * *",
          "timezone": "Europe/Prague"
        }
      }
    },
    "id": "id1",
    "type": "dataSource"
  }
}

Changes

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