Update a data source
PUT
/api/v1
/datasources/{dataSourceId}
Updates a data source by ID
path Parameters
dataSourceIdstring · requiredID of the data source
Request Body
namestring · requiredExample: My Data Sourcecontentstring · requiredExample: Data source content
Responses
Data source updated successfully
successbooleanExample: truemessagestringExample: Operation completed successfully
Create a project data source
POST
/api/v1
/datasources/projects/{projectId}
Creates a new data source for a specific project
path Parameters
projectIdstring · requiredID of the project
Request Body
namestring · requiredExample: My Data Sourcecontentstring · requiredExample: Data source content
Responses
Project data source created successfully
idstringExample: datasource-123namestringExample: My Data Sourcecontentstring
Update project data source
PUT
/api/v1
/datasources/projects/{projectId}/{dataSourceId}
Updates a data source for a specific project
path Parameters
projectIdstring · requiredID of the project
dataSourceIdstring · requiredID of the data source
Request Body
namestring · requiredExample: My Data Sourcecontentstring · requiredExample: Data source content
Responses
Project data source updated successfully
successbooleanExample: truemessagestringExample: Operation completed successfully