-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'ISCCOMPLI-306: Beta to v3 API doc migration for set…
… schedule campaign template API (#1427) * ISCCOMPLI-306: Beta to v3 API doc migration for set schedule campaign template API * ISCCOMPLI-306: Removed DAILY option from beta schedule * ISCCOMPLI-306: Fix for linter errors * ISCCOMPLI-306: Fix for linter errors * ISCCOMPLI-306: Added more descriptions in beta files * ISCCOMPLI-306: Fixed more linter errors * ISCCOMPLI-306: Fixed more linter errors * ISCCOMPLI-306: Added the main v3 path' by github action: 6381139723
- Loading branch information
1 parent
ee5e101
commit 00f838f
Showing
5 changed files
with
331 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
put: | ||
operationId: setCampaignTemplateSchedule | ||
tags: | ||
- Certification Campaigns | ||
summary: Sets a Campaign Template's Schedule | ||
description: >- | ||
Sets the schedule for a campaign template. If a schedule already exists, it will be overwritten with | ||
the new one. | ||
security: | ||
- UserContextAuth: [ idn:campaign-template:run ] | ||
parameters: | ||
- in: path | ||
name: id | ||
schema: | ||
type: string | ||
required: true | ||
description: The ID of the campaign template being scheduled. | ||
example: "04bedce387bd47b2ae1f86eb0bb36dee" | ||
requestBody: | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/Schedule.yaml' | ||
examples: | ||
'Monthly': | ||
description: Runs on the 15th and last day of the month, at 5PM. | ||
value: | ||
type: MONTHLY | ||
hours: | ||
type: LIST | ||
values: | ||
- "17" | ||
days: | ||
type: LIST | ||
values: | ||
- "15" | ||
'Once a year': | ||
description: Runs every January 1st at midnight. | ||
value: | ||
type: ANNUALLY | ||
hours: | ||
type: LIST | ||
values: | ||
- "0" | ||
days: | ||
type: LIST | ||
values: | ||
- "--01-01" | ||
'Quarterly': | ||
description: Runs once a quarter (every 3 months) on the first of the month at 1AM. | ||
value: | ||
type: ANNUALLY | ||
hours: | ||
type: LIST | ||
values: | ||
- "1" | ||
days: | ||
type: LIST | ||
values: | ||
- "1" | ||
months: | ||
type: LIST | ||
values: | ||
- "1" | ||
interval: 3 | ||
'Yearly on Specific Days': | ||
description: Runs on March 12 and December 5 at 1AM, every year. | ||
value: | ||
type: ANNUALLY | ||
hours: | ||
type: LIST | ||
values: | ||
- "1" | ||
days: | ||
type: LIST | ||
values: | ||
- "--03-12" | ||
- "--12-05" | ||
'On a Specific Date': | ||
description: Runs at 1AM on February 18th, 2020 | ||
value: | ||
type: CALENDAR | ||
hours: | ||
type: LIST | ||
values: | ||
- "1" | ||
days: | ||
type: LIST | ||
values: | ||
- "2020-02-18" | ||
responses: | ||
'204': | ||
$ref: '../responses/204.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'404': | ||
$ref: '../responses/404.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.yaml' |
Oops, something went wrong.