1 of 1 people found this helpful
you can use /2/catalog/models/classes - it will return all classes from all models. you can use the offset and pageSize parameters to process the resultset in chunks
Thank u for the quick reply, so let's say I show all this to User and allow him to see data for any of these provided a resource is created for that class
If user let's say select JsonFile class, which Api can I use where I pass this class as input and get all the attributes related to Jsonfile for e.g attributes in Json file and System attributes defined for json file etc
Hey I figured it out, we can pass the class name received from /2/catalog/models/classes to object info api and it will provide all object belonging to this class, now the issue that I have is 2/catalog/models/classes api provides 1265 classes where as in my Edc on left hand panel in Asset Type I could only see 100.
I guess it is based on Edc resources created rather than showing all, is there a way I can access only those Asset types for which resources are present in Edc
you can use facets to get a count/filter for the class-types that are in use (have objects).
if you are using EDC v10.2.2hf1+ use = :-
- 2/catalog/data/search - passing q=*&facet=true&defaultFacets=false&facetId=core.classType&highlight=false&offset=0&pageSize=1
for versions before 10.2.2hf1
either of those will return a count of all instances of all classtypes.
but it will not filter out any detailed lineage types, like com.infa.ldm.etl.pc.OutputTransformationPort
We are using 10.2.1, and I cant see this API not even in documentation
I am getting these message when I hit this api even with only single q parameter
No API path found that matches request '/2/catalog/data/search