Skip to content

Commit

Permalink
feat(event): Allow multitenancy via tenant id
Browse files Browse the repository at this point in the history
Signed-off-by: Loïc Saint-Roch <[email protected]>
  • Loading branch information
loicsaintroch committed Sep 5, 2023
1 parent 6da8883 commit 3f1fa0e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions descriptions/shared/components/schemas/Event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ properties:
description: |
Unique identifier of the group triggering the event.
example: "60d58518-78b3-4739-afa5-71e2dab2b91f"
tenant_id:
type: "string"
description: |
Unique identifier of the tenant triggering the event.
example: "34a1860a-8aac-403b-a8f9-74dffeb1be71"
subscriptions:
type: "array"
description: |
Expand All @@ -58,6 +63,9 @@ properties:
id:
type: "string"
example: "sub_2NqIQtvdSEyPnDJl09eZGCajDDj"
tenant_id:
type: "string"
example: "34a1860a-8aac-403b-a8f9-74dffeb1be71"
customer_id:
type: "string"
example: "cus_2NqITqoYLIGSR7Ac06Sd6saihUm"
Expand Down

0 comments on commit 3f1fa0e

Please sign in to comment.