MCPcopy Create free account
hub / github.com/parse-community/parse-server / createJob

Method createJob

src/Routers/CloudCodeRouter.js:79–90  ·  view source on GitHub ↗
(req)

Source from the content-addressed store, hash-verified

77 }
78
79 static createJob(req) {
80 const { job_schedule } = req.body || {};
81 validateJobSchedule(req.config, job_schedule);
82 return rest.create(
83 req.config,
84 req.auth,
85 '_JobSchedule',
86 formatJobSchedule(job_schedule),
87 req.client,
88 req.info.context
89 );
90 }
91
92 static editJob(req) {
93 const { objectId } = req.params;

Callers

nothing calls this directly

Calls 3

validateJobScheduleFunction · 0.85
formatJobScheduleFunction · 0.85
createMethod · 0.80

Tested by

no test coverage detected