Hi all,
I´m using a kind of authorization based in the Developer Organization Id, and we are injecting this Id in our APIs, but only after the 1º invocation i get this info.
Anyone knows a way to get this ID?
Cheers,
Answer by soaApiDevArch (224) | Sep 25, 2018 at 10:07 AM
Havent tried with new i.e. 2018* version where we have direct API command. On the older versions mysql commands will give you developer org id with some sql statements.
Regards, Salla
Answer by E.Fan (968) | Oct 06, 2018 at 06:21 AM
I assume we are talking about APIC V2018? Where do you want to use Developer Organization ID? What is the purpose for getting this ID?
If its inside the API Assemble, can use the context variable "client.org.id", please refer to the following document: https://www.ibm.com/support/knowledgecenter/en/SSMNED_2018/com.ibm.apic.toolkit.doc/rapim_context_var.html
Another way is to go to API Manager -> Catalogs, there is a page to list all the Developer Organizations. Open browser's Developer's Tool, go to the "Network" tab, refresh the webpage, you should see browser send GET request to retrieve this information, go to its response and should able to find the ID.
Or can use Developer Toolkit CLI "apic consumer-orgs:list": https://www.ibm.com/support/knowledgecenter/en/SSMNED_2018/com.ibm.apic.cliref.doc/apic_consumer-orgs_list.html
I hope this help
A GET operation returns response status code 200 but without a body 2 Answers
Unable to call external URLs from API Connect on premesis 1 Answer
How to get the app name in api connect 1 Answer
Publishing plan with an API results with a duplicate entry in Advanced Developer Portal. 1 Answer
A GET operation returns response status code 200 but without a body 1 Answer