Skip to main content
brekrut
Employee
Jan 26, 2024 6:39 PM UTC
Solved

API call to return Union profile view

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
abhinavbalooni
abhinavbalooniAccepted solution
New Participant
Jan 29, 2024 4:57 AM UTC

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%2Fxdm%2Fcontext%2Fprofile__union

 

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

3 replies

abhinavbalooni
abhinavbalooniAccepted solution
New Participant
Jan 29, 2024 4:57 AM UTC

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%2Fxdm%2Fcontext%2Fprofile__union

 

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

Translate
brekrut
brekrutAuthor
Employee
Jan 29, 2024 2:46 PM UTC

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

Translate
_Manoj_Kumar_
New Participant
Jan 29, 2024 4:10 AM UTC

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.

Translate
     Manoj     Find me on LinkedIn