Eoghan Bonass
07/10/2024, 2:13 PM{
"data": {
"attributes": {
"areRelationsValid": true,
"content": {
"url": "url-to-hosted-plugin",
"version": "2"
},
"description": "some description",
"tags": [
"string"
],
"title": "plugin-title"
},
"id": "plugin_id",
"type": "dashboardPlugin"
}
}
However, neither the GoodData OpenAPI spec nor the Python SDK types include the version
property for the attributes.content
object, i.e. you have to know that the content needs both a url
and the version
to be valid.
I think the OpenAPI spec/Python SDK/GoodData UI documentation should be updated to reflect this and help us avoid accidentally setting customer dashboards as unavailable - the dashboards won’t load if a workspace plugin reference omits the content version
property, which I learned today but thankfully was able to quickly rectify.Eoghan Bonass
07/10/2024, 2:18 PMProductboard
07/10/2024, 2:22 PMProductboard
07/10/2024, 2:22 PMMichael Ullock
07/10/2024, 2:24 PMversion
property in the attributes.content
object when adding a plugin to a workspace.Eoghan Bonass
07/10/2024, 2:24 PM