Search API for bubble

HI,

I am a newbie for bubble. I am trying to create an API endpoint that would return a list of offers based on a search criteria. I have the following questions

  1. How to create a search API . I only saw option for create , modify , delete and copy lists of things. SHould I use the “copy list of things” ? If I use this option , looks like there is a limit on the number of items returned. Looks like it will get capped at 100 items. Can you please share an example of how can I do this.

I am trying to call this api from Dropbox.

Thank you for your time

Can do it this way, although there isn’t much control over the format or which fields are returned. Using privacy rules might help to restrict which fields.

Another option is the Data API Introduction - Bubble Docs

image

Example data from the forum app, returns …

{
    "status": "success",
    "response": {
        "songlist": [
            {
                "Name": "Freebird",
                "Created Date": 1532720046394,
                "Created By": "1459713470826x991867244476452500",
                "Modified Date": 1532720046394,
                "_id": "1532720046394x542331505566835400",
                "_type": "custom.songs"
            },
            {
                "Name": "Livin On a Prayer",
                "Youtube ID": "15615",
                "Created Date": 1532720009443,
                "Created By": "1459713470826x991867244476452500",
                "Modified Date": 1532720009443,
                "_id": "1532720009443x626326716737821700",
                "_type": "custom.songs"
            },
            {
                "Name": "Sound of Silence",
                "Created Date": 1532720025600,
                "Created By": "1459713470826x991867244476452500",
                "Modified Date": 1532720025600,
                "_id": "1532720025599x768167306203395100",
                "_type": "custom.songs"
            },
            {
                "Name": "Wheels on the Bus",
                "Created Date": 1532720017250,
                "Created By": "1459713470826x991867244476452500",
                "Modified Date": 1532720017250,
                "_id": "1532720017250x633123608073219700",
                "_type": "custom.songs"
            }
        ]
    }
}
1 Like

Thank you for the suggestion