Get component keys for a given project

Hi,

I am trying to find which project names have multiple component keys.

I plan to use the following API and I guess I have to loop all the project names to get a dump of all the projects with keys. I have to find all the project names that has more than one key from this dump.

api/projects/search?q=17171 Innovation Center

Is this correct way or is there an easier way to complete this task? Please help.

Thanks,
Vijay

Hi Vijay,

It’s not clear to me what you’re after. Every project has multiple keys; each file is a component and has its own key.

Are you trying to find which projects exist multiple times in your instance? If so, you can do that fairly easily in any of the places you can search for projects…

 
Ann

Hi Ann,

Thanks for the response.

I am indeed trying to find the projects that occur multiple times. I believe they have different project keys but same project name, right?

Does this API give me the dump of that list?
api/components/search?qualifiers=TRK&p=20&ps=500

Thanks,
Vijay

Hi Vijay,

It certainly looks like a list of projects…

 
Ann