[Synthetics] Shared api query schema - Remove fields
from QuerySchema
#153472
Labels
Team:Uptime - DEPRECATED
Synthetics & RUM sub-team of Application Observability
QuerySchema
in https://github.com/elastic/kibana/blob/main/x-pack/plugins/synthetics/server/routes/common.ts#L29 is shared by a few Synthetics HTTP apis.To prepare for serverless, we must isolate SO attributes from HTTP interfaces.
To account for this change, we should remove
fields
which directly references SO fields, from this QuerySchema.Helper functions that rely on
fields
should have their fields passed server-side. We should not depend on fields being passed from the client, or allow the client to pass arbitraryfields
.The text was updated successfully, but these errors were encountered: