solved Proxima Bridge: getting data from specific module

amartins
@amartins
8 years ago
48 posts
Let's say that I have a module called "myJrModule" with some fields that I need to retrieve to my mobile app, like a list. How can I link bridge to use it? What is the url structure?
Can you help me with this?
updated by @amartins: 08/08/16 07:08:02AM
brian
@brian
8 years ago
10,148 posts
amartins:
Let's say that I have a module called "myJrModule" with some fields that I need to retrieve to my mobile app, like a list. How can I link bridge to use it? What is the url structure?
Can you help me with this?

The URL structure is like:

yoursite.com/api/bridge/[module_url]

So if you wanted to GET audio items it would be a GET request to:

yoursite.com/api/bridge/audio

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
amartins
@amartins
8 years ago
48 posts
Is it normal to get 404 with note "invalid module" when GET "yoursite.com/api/bridge"?
michael
@michael
8 years ago
7,714 posts
What that's saying is the BRIDGE module isn't installed. Its still listed as a beta module in the marketplace so it needs to be installed.

Go to:
ACP -> CORE -> MARKETPLACE -> TOOLS -> MARKETPLACE SYSTEMS

and make sure your license details are there, if they're not click MODIFY. You get your marketplace license details from here:
TOP RIGHT MENU ON THIS PAGE -> YOUR LICENSES
https://www.jamroom.net/networklicense/licenses/profile_id=3029/user_id=3023

Once you can connect to the marketplace, turn on the BETA channel.
ACP -> CORE -> MARKETPLACE -> TOOLS -> RELEASE CHANNELS -> BETA (activate)

Then it will be visible in the marketplace:
ACP -> CORE -> MARKETPLACE -> MARKETPLACE -> (install proxima bridge)

Then that url will work from your rest client.
michael
@michael
8 years ago
7,714 posts
of the modules active from a default install of proxima, these 3 cant be bridged to:
* jrCore
* jrUser
* jrProfile

The other modules and their url's are shown in the screenshot. In order to be able to bridge to a module, that module must have a datastore.
amartins
@amartins
8 years ago
48 posts
Sorry about this. Reinstalling Proxima solved the issue. I tried to disble and enable module on ACP > Proxima Bridge but kept getting same result so I aked system admin to reinstall Proxima and now I can get what I need.

Thanks Michael!
michael
@michael
8 years ago
7,714 posts
No problem. I've not used proxima much so your questions are good prompting for me to check its all working. :)

Tags