Retrieve the Developer Information along with Apps Information

Not applicable

I am getting all the apps for an organization using management api call http://docs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apps-1, its a long list. I need to get the developer information for each app. Now I am looping through using developer id and making another mgmnt api call to retrieve the developer infirmation.

I have a huge performance impact, is there any way i can pull the developer information also along with get apps call?

for eg : https://enterprise.apigee.com/platform/{org}/apps gets all the infirmation very fast.

Solved Solved
2 1 69
1 ACCEPTED SOLUTION

Yes, you can get the detail information for each developer in a batch, in one HTTP call. This is done using the ids query param. Example:

GET :mgmtserver/v1/o/:orgname/developers?ids=06X0vTL6J33csCl4,ztxozsMfEKjDcMB4,qHG9s089qrDMInpj,IiwTHAerQeO1OAqG,06X0vTL6J33csCl4,f3ki5cQAZjs6TOyq

I don't know the limit of the number of ids you can pass in a single call. I think the number may be 25. So if you have 80 developers, you may need to run 4 calls, each with a different batch of developerIds.

This is how the Edge UI retrieves the information quickly.

View solution in original post

1 REPLY 1

Yes, you can get the detail information for each developer in a batch, in one HTTP call. This is done using the ids query param. Example:

GET :mgmtserver/v1/o/:orgname/developers?ids=06X0vTL6J33csCl4,ztxozsMfEKjDcMB4,qHG9s089qrDMInpj,IiwTHAerQeO1OAqG,06X0vTL6J33csCl4,f3ki5cQAZjs6TOyq

I don't know the limit of the number of ids you can pass in a single call. I think the number may be 25. So if you have 80 developers, you may need to run 4 calls, each with a different batch of developerIds.

This is how the Edge UI retrieves the information quickly.