Data Source - Entity APIs
Put Data Source entity
Data Source - represents data source for the workspace
put/api/v1/entities/dataSources/{id}
Request
- Base URLhttps://www.gooddata.ai
- Authnone declared
Path parameters
idstring required
Query parameters
filterstring
Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').
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.