elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.8k stars 8.19k forks source link

[Dashboards][Discuss] Returning saved object properties in responses from API #196609

Open nickpeihl opened 4 hours ago

nickpeihl commented 4 hours ago

There are several saved object metadata properties that we return in the API response. We should decide if/how we want to expose these properties. Because these properties are automatically updated by the saved objects client we only expose these in the response. These properties can not be created or modified by API consumers in requests. The only exception is id which can be optionally specified in the Create endpoint.

elasticmachine commented 4 hours ago

Pinging @elastic/kibana-presentation (Team:Presentation)

thomasneirynck commented 4 hours ago

See https://github.com/elastic/kibana/issues/158277.

The created/updatesBy properties, while useful in the API should not just bleed through without an explicit mapping.