How to get the list of cloud functions?

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…

1 Like

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));
2 Likes

thank you ver much! save me one day