So, I was able to setup the API and run the following GET with the following results:
GET https://findandreplace.bubbleapps.io/version-test/api/1.1/obj/keywords
{
“response”: {
“results”: [
{
“keyword”: “Google”,
“Created Date”: “2018-02-03T19:11:09.090Z”,
“Created By”: “1508757117987x170844219857826800”,
“Modified Date”: “2018-02-03T19:11:09.090Z”,
“url”: “https://www.google.com”,
“_id”: “1517685069090x817754573188722200”,
“_type”: “custom.keywords”
},
{
“keyword”: “Amazon”,
“Created Date”: “2018-02-03T19:22:24.551Z”,
“Created By”: “1517685580376x819307316327467500”,
“Modified Date”: “2018-02-03T19:22:24.598Z”,
“url”: “https://www.amazon.com”,
“_id”: “1517685742904x154482585500647420”,
“_type”: “custom.keywords”
},
{
“keyword”: “Zillow”,
“Created Date”: “2018-02-03T19:30:42.087Z”,
“Created By”: “1517685580376x819307316327467500”,
“Modified Date”: “2018-02-03T19:30:42.138Z”,
“url”: “http://www.zillow.com”,
“_id”: “1517686241201x951191101229760500”,
“_type”: “custom.keywords”
},
{
“keyword”: “Microsoft”,
“Created Date”: “2018-10-19T21:39:28.255Z”,
“Created By”: “1539985113946x455720216501504200”,
“Modified Date”: “2018-10-19T21:39:28.306Z”,
“url”: “http://www.microsoft.com”,
“_id”: “1539985167224x910185981874274300”,
“_type”: “custom.keywords”
},
{
“keyword”: “Zillow”,
“Created Date”: “2018-10-20T03:07:03.091Z”,
“Created By”: “1540004754069x571366896387189600”,
“Modified Date”: “2018-10-20T03:07:03.141Z”,
“url”: “https://neversleep.on.a.zillow.com”,
“_id”: “1540004822424x201307228050554880”,
“_type”: “custom.keywords”
},
{
“keyword”: “zillow”,
“Created Date”: “2018-10-20T03:08:24.942Z”,
“Created By”: “1540004754069x571366896387189600”,
“Modified Date”: “2018-10-20T03:08:24.990Z”,
“url”: “https://MustUseCapsInURL.caps”,
“_id”: “1540004904336x448719288620810240”,
“_type”: “custom.keywords”
},
{
“keyword”: “zillow”,
“Created Date”: “2018-10-20T03:09:19.917Z”,
“Created By”: “1540004754069x571366896387189600”,
“Modified Date”: “2018-10-20T03:09:19.965Z”,
“url”: “alert(‘run this javascript here’)”,
“_id”: “1540004959344x331571928350588900”,
“_type”: “custom.keywords”
},
{
“keyword”: “pillow”,
“Created Date”: “2018-10-20T03:39:18.907Z”,
“Created By”: “1540004754069x571366896387189600”,
“Modified Date”: “2018-10-20T03:39:18.957Z”,
“url”: “http://superfluous.io/”,
“_id”: “1540006758226x128922359984291840”,
“_type”: “custom.keywords”
},
{
“keyword”: “bug”,
“Created Date”: “2018-10-20T03:41:38.227Z”,
“Created By”: “1540004754069x571366896387189600”,
“Modified Date”: “2018-10-20T03:41:38.280Z”,
“url”: “https://www.xkcd.com/1700/”,
“_id”: “1540006897525x482895914136502300”,
“_type”: “custom.keywords”
}
],
“cursor”: 0,
“count”: 9,
“remaining”: 0
}
}
Variables
Now I need to convert the response to a REGEX to replace the keyword with the proper A ref to the URL.