-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Eric Feng edited this page Oct 15, 2017
·
8 revisions
Destination are user-level auth tokens. PostDestination or EndpointDestination are the many-to-many associations.
GoogleSheet
- Destination: OAuth token
- EndpointDestination: Specific sheet
Postgres
- Destination: Database
- EndpointDestination: Table
Webhook
- Destination: Nothing
- EndpointDestination: URL
Slack
- Destination: OAuth credentials
- Post or Endpoint Destination: Individual channel or url.
User
∟ Post (optionally associated with Endpoint)
∟ PostDestination
∟ Endpoint
∟ EndpointValidation
∟ EndpointDestination (refers to a Destination)
∟ GoogleSheet(Destination)
∟ Email(Destination)
∟ Webhook(Destination)
∟ Database(Destination)
Event (i.e. successful delivery)
- created (datetime)
- type (str): "successful delivery"
- actor_id (int): <Post.id>
- data (JSON) {"destination", "status_code"}