Skip to content

Commit

Permalink
[droplet/supported-backup-policies]: fix typo in 200 response sample (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
loosla authored Nov 15, 2024
1 parent b7a368d commit 0303ce4
Showing 1 changed file with 33 additions and 34 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
description: A JSON object with an `supported_policies` key set to an array
of objects describing each supported backup policy.


headers:
ratelimit-limit:
$ref: '../../../shared/headers.yml#/ratelimit-limit'
$ref: "../../../shared/headers.yml#/ratelimit-limit"
ratelimit-remaining:
$ref: '../../../shared/headers.yml#/ratelimit-remaining'
$ref: "../../../shared/headers.yml#/ratelimit-remaining"
ratelimit-reset:
$ref: '../../../shared/headers.yml#/ratelimit-reset'
$ref: "../../../shared/headers.yml#/ratelimit-reset"

content:
application/json:
Expand All @@ -18,36 +17,36 @@ content:
supported_policies:
type: array
items:
$ref: '../models/supported_droplet_backup_policy.yml'
$ref: "../models/supported_droplet_backup_policy.yml"

example:
supported_policies:
- name: "weekly"
possible_window_starts:
- 0
- 4
- 8
- 12
- 16
- 20
window_length_hours: 4
retention_period_days: 28
possible_days":
- "SUN"
- "MON"
- "TUE"
- "WED"
- "THU"
- "FRI"
- "SAT"
- name: "daily"
possible_window_starts:
- 0
- 4
- 8
- 12
- 16
- 20
window_length_hours: 4
retention_period_days: 7
possible_days: []
- name: "weekly"
possible_window_starts:
- 0
- 4
- 8
- 12
- 16
- 20
window_length_hours: 4
retention_period_days: 28
possible_days:
- "SUN"
- "MON"
- "TUE"
- "WED"
- "THU"
- "FRI"
- "SAT"
- name: "daily"
possible_window_starts:
- 0
- 4
- 8
- 12
- 16
- 20
window_length_hours: 4
retention_period_days: 7
possible_days: []

0 comments on commit 0303ce4

Please sign in to comment.