[Feature Request] JSON feed

Hi @Bubble I will kindly like to request a feature that will allow us to create a json feed.
Some libraries/3rd-party services allow you to specify a json feed from your application that they can get the data from.
A typical example iS FullCalendar. You can supply a url link that serves a json feed to fullcalendar to get the events for the calendar from (https://fullcalendar.io/docs/events-json-feed).

You can’t use the current Get Data from API because that will return the result as a response object instead of a feed.


This is not something we plan to build/support ourselves. There are RSS plugins developed by community members, so that might be a good option for the use case.

Hi @DavidS thanks for the response.
Please can you kindly explain how one can use RSS plugins to do this?

I want to have a url which when hit with some parameters will spit out some data from my bubble database in a json form. Example to get events to feed fullcalendar.

@DavidS and @seanhoots: I believe the following would fulfill Sean’s request:

If workflow endpoints could be configured to accept the GET method, Sean’s workflow could just spit out whatever JSON he wants, right?

(See other benefits of enabling GET methods for workflow endpoints here: We Really Need a GET Method for Workflow APIs)

@seanhoots, you can work around the fact that endpoints on the workflow side of you app’s APIs only accept POSTs by using Amazon API Gateway. You can basically config AAPIG to take a GET and issue a POST to your API. I put a screenshot of this in that same thread I link to above. It looks like this:

(While this is a workaround, it’s a silly one. There’s no reason for workflow endpoints with names that do not conflict with the data API namespace to not allow GET requests as an option.)


Thanks @keith, what will be the output here?
When the 3rd party service hits my endpoint proxied through AAPIG will it be able to spit out a json array like below where is object is a thing in my database?
I basically want the my endpoint when hit to return all the things of a certain type.

    "title": "Meeting",
    "id": "821",
    "start": "2014-11-13 09:00:00",
    "end": "2014-11-13 10:30:00"
    "title": "Gym",
    "id": "822",
    "start": "2014-11-13 10:00:00",
    "end": "2014-11-13 11:30:00"

My point is that the JSON response (in the workflow API case) could be “returned as text” and I am guessing that’s (possibly?) the diff between a regular response and a “feed”?

Now, if the diff is that a “feed” is a file type connection, you can just give up now as there is no way in Bubble to do this that I have been able to discover or hack.