Expand my Community achievements bar.

SOLVED

API call to return Union profile view

Avatar

Community Advisor

Hello

 

Is there a call which can return all of the schemas and profiles attributes ?  I am looking for an single /POST call which mimics the union schema view of Adobe RTCDP > Profiles > Union schema view.  We can request all schemas using schema registry API, but this does not display all attributes.

 

Looking into the UI calls we can see there is a /POST to https://platform.adobe.io/data/xql/graphql.

It appears however the api_key need for this endpoint requires specific authorization.  Is there a API which can be added to a developer project to request this information?

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey @brekrut 

I am trying to look into this endpoint which should give you the union schema https://experienceleague.adobe.com/docs/experience-platform/xdm/api/unions.html#lookup

 

Got it working. 

 

Use the below endpoint:

 

https://platform.adobe.io/data/foundation/schemaregistry/tenant/unions/https%3A%2F%2Fns.adobe.com%2F...

 

with the 'Accept' Header set to: application/vnd.adobe.xed-full+json;version=1

 

This would provide you with all the attributes within the union schema. I just tried it out and got close to 91000 lines of json with all the details of the schema.

 

Cheers,

Abhinav

View solution in original post

3 Replies

Avatar

Community Advisor

Hello @brekrut 

 

If this is a one-time requirement, you can copy the complete request from developer tools and use it in Postman to get the JSON format.


     Manoj
     Find me on LinkedIn

Avatar

Correct answer by
Community Advisor

Hey @brekrut 

I am trying to look into this endpoint which should give you the union schema https://experienceleague.adobe.com/docs/experience-platform/xdm/api/unions.html#lookup

 

Got it working. 

 

Use the below endpoint:

 

https://platform.adobe.io/data/foundation/schemaregistry/tenant/unions/https%3A%2F%2Fns.adobe.com%2F...

 

with the 'Accept' Header set to: application/vnd.adobe.xed-full+json;version=1

 

This would provide you with all the attributes within the union schema. I just tried it out and got close to 91000 lines of json with all the details of the schema.

 

Cheers,

Abhinav

Avatar

Community Advisor

Yes this is the information I am looking for.  Thank you for the feedback.