Tomáš Kačur
03/16/2023, 1:22 PMworkspaceDataFilterSettings
via gdcn rest api? Currently only GET /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilterSettings/{objectId}) is possible, so we have to use declarative api via PUT api/v1/layout/workspaceDataFilters where we might run into race conditions because we do GET layout and PUT layout.
I tried to do it via PUT /api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId} but failed.Jan Rehanek
03/17/2023, 7:17 AM/api/v1/entities/workspaces/{workspaceId}/workspaceDataFilters/{objectId}
fail for you?Tomáš Kačur
03/20/2023, 3:50 PM/api/v1/entities/workspaces/embed_telemetry_payg/workspaceDataFilters/kbc-project-id
• body:
{
"data": {
"id": "kbc-project-id",
"type": "workspaceDataFilter",
"relationships": {
"filterSettings": {
"data": [
{
"id": "kacurez_test_filter",
"type": "workspaceDataFilterSetting",
"attributes": {
"title": "KACUREZ TEST",
"filterValues": [
"1616_com-keboola-azure-north-europe"
],
"workspace": {
"id": "1616_com-keboola-azure-north-europe_workspace",
"type": "workspace"
}
}
}
]
}
}
}
}
where:
• embed_telemetry_payg
- is parent workspace
• 1616_com-keboola-azure-north-europe
- is child workspace of embed_telemetry_payg
• workspace filter kbc-project-id
is associated with the parent workspace embed_telemetry_payg
So I’m trying to add filter setting kacurez_test_filter
under kbc-project-id
workspace filter. Please note that there can be multiple filter settings associated with the workspace filter - as many as there are parent workspace -> child workspace relations. Now I’m trying it and it fails on internal error.
Let me know if it is not clear for you and I will dig into it more and hopefully provide better info.Jan Rehanek
03/21/2023, 7:59 AMJan Rehanek
03/21/2023, 8:48 AMTomáš Kačur
03/21/2023, 10:09 AMJan Rehanek
03/21/2023, 11:08 AMTomáš Kačur
03/22/2023, 8:32 AMJan Rehanek
03/22/2023, 3:23 PMTomas Netrval
03/24/2023, 9:47 AMVaclav Malek
03/24/2023, 10:18 AMTomas Netrval
03/24/2023, 10:18 AMProductboard
03/24/2023, 11:48 AMTomáš Kačur
06/02/2023, 11:20 AMJan Rehanek
06/02/2023, 11:24 AMPetr Šimeček
06/05/2023, 9:38 AMJan Rehanek
06/05/2023, 9:45 AMJan Rehanek
06/05/2023, 9:52 AMVaclav Malek
06/05/2023, 2:57 PMJan Soubusta
06/05/2023, 3:43 PM