Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

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/re...

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...

 

 

View solution in original post

3 Replies

Avatar

Level 2

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.

Avatar

Correct answer by
Level 2

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/re...

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...