I want to get list of cloud functions, and I can write a web to debug the functions, like this below:
instead of write the curl -x POST balabala…
I want to get list of cloud functions, and I can write a web to debug the functions, like this below:
instead of write the curl -x POST balabala…
From server, you can retrieve functions names with something like:
const { getFunctionNames } = require('parse-server/lib/triggers');
const functionNames = getFunctionNames(Parse.applicationId);
From client, you will have to create a cloud code function to return these functions names:
const { getFunctionNames } = require('parse-server/lib/triggers');
Parse.Cloud.define('getFunctionNames', () => getFunctionNames(Parse.applicationId));
thank you ver much! save me one day