Is there a way to get the Schema Payload of a Dataflow via API? | Community
Skip to main content
New Participant
October 25, 2023
Solved

Is there a way to get the Schema Payload of a Dataflow via API?

  • October 25, 2023
  • 2 replies
  • 1134 views

As you may know, when you create an HTTP API connection account and a Dataflow, in the UI you can click on an option called Copy Schema Payload, which allows you to copy to the clipboard all the information needed to ingest data using that Dataflow via API, such as the endpoint link, the request body, etc.

 

Is there a way to get that same information using the API? I was checking the documentation, specifically the documentation related to the Flow Service API and found no help on that.

 

Thank you in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by sreeCharan81

There is a 2 step process via API.

1. Retrieve the Flow details using below API.

https://developer.adobe.com/experience-platform-apis/references/flow-service/#tag/Flows/operation/retrieveFlow

2. Take the targetConnectionID and call the below API, to get the relevant datasetID and schema details.

https://developer.adobe.com/experience-platform-apis/references/flow-service/#tag/Target-connections/operation/retrieveTargetConnection

 

 

2 replies

sreeCharan81Accepted solution
New Participant
October 27, 2023

There is a 2 step process via API.

1. Retrieve the Flow details using below API.

https://developer.adobe.com/experience-platform-apis/references/flow-service/#tag/Flows/operation/retrieveFlow

2. Take the targetConnectionID and call the below API, to get the relevant datasetID and schema details.

https://developer.adobe.com/experience-platform-apis/references/flow-service/#tag/Target-connections/operation/retrieveTargetConnection

 

 

New Participant
October 25, 2023
New Participant
October 25, 2023

Since I have the payload, how can I know that this schema, related to this RESOURCE_ID, is associated to a dataflow?

 

Because this resource helps me, but now I need to know which schema (or failing that, which dataset) is associated to that dataflow. The idea of the exercise is to know the relationship between the schema and the dataflow.