CronController
class CronController
Methods
void
__invoke(array ...$args)
Returns a list of crons for an individual repository.
void
find($cron_id)
Returns a single cron.
void
delete($cron_id)
Deletes a single cron.
void
findByBranch(array ...$args)
Returns the cron set for the specified branch for the specified repository.
void
createByBranch(array ...$args)
This creates a cron on the specified branch for the specified repository.
Details
at line 20
void
__invoke(array ...$args)
Returns a list of crons for an individual repository.
/repo/{repository.slug}/crons
at line 34
void
find($cron_id)
Returns a single cron.
/cron/{cron.id}
at line 47
void
delete($cron_id)
Deletes a single cron.
delete
/cron/{cron.id}
at line 60
void
findByBranch(array ...$args)
Returns the cron set for the specified branch for the specified repository.
/repo/{repository.slug}/branch/{branch.name}/cron
at line 78
void
createByBranch(array ...$args)
This creates a cron on the specified branch for the specified repository.
post
/repo/{repository.slug}/branch/{branch.name}/cron