chore(docs): update PostDBRP docs to reflect mutual exclusive requirement of org vs orgID (#19802)

pull/19813/head
George 2020-10-22 17:02:32 +01:00 committed by GitHub
parent ce00f0d226
commit 3b7cb529dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 6 deletions

View File

@ -11704,12 +11704,7 @@ components:
type: string type: string
enum: ["slack", "pagerduty", "http", "telegram"] enum: ["slack", "pagerduty", "http", "telegram"]
DBRP: DBRP:
required: type: object
- orgID
- org
- bucketID
- database
- retention_policy
properties: properties:
id: id:
type: string type: string
@ -11735,6 +11730,17 @@ components:
description: Specify if this mapping represents the default retention policy for the database specificed. description: Specify if this mapping represents the default retention policy for the database specificed.
links: links:
$ref: "#/components/schemas/Links" $ref: "#/components/schemas/Links"
oneOf:
- required:
- orgID
- bucketID
- database
- retention_policy
- required:
- org
- bucketID
- database
- retention_policy
DBRPs: DBRPs:
properties: properties:
notificationEndpoints: notificationEndpoints: