Is valid data for custom API
Validate custom API body object
Test custom API data valid or not using global object 'g'.
| await g.sys.system.isValidDataForCustomAPI({
name: "custom_api_name",
data: {
"some": "data",
"some": "data"
},
type: "BODY" // BODY | QUERY_PARAMS
});
|