Update the swagger doc for GC API

This commit update the swagger doc to document how to trigger an "admin
job" such as "GC" to make it execute right away.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
This commit is contained in:
Daniel Jiang 2019-08-06 00:36:05 +08:00
parent 12fb643f0a
commit 6554bf4241

View File

@ -5090,7 +5090,9 @@ definitions:
properties:
type:
type: string
description: The schedule type. The valid values are hourly, daily weekly, custom and None. 'None' means to cancel the schedule.
description: |
The schedule type. The valid values are 'Hourly', 'Daily', 'Weekly', 'Custom', 'Manually' and 'None'.
'Manually' means to trigger it right away and 'None' means to cancel the schedule.
cron:
type: string
description: A cron expression, a time-based job scheduler.