How to validate json while creating a pipeline on azure synapse using REST API?

Prashant Rewatkar 96 Reputation points
2022-05-05T09:27:38.2+00:00

Please suggest ways to validate JSON for the azure synapse pipeline.
For creating a pipeline on azure synapse environment using REST API we have following POST API URL and using this API we can create a pipeline.

{endpoint}/pipelines/{pipelineName}/createRun?api-version=2020-12-01

but this API is returning ok/success type response without checking JSON is valid or not. If you use the same JSON and try to create a pipeline on synapse env this will validate JSON first and then will create a pipeline. It will check provided sources / linked services are present on the server or not. This feature is missing for an API which is available.

We are looking for a such validate method for creating a pipeline. If the above API is returning success response then pipeline should be created there else should return proper error message .

If someone knows how to manage this then please suggest a way to do this.

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,671 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,135 questions
{count} votes