Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement sending email notifications via POST /notification #3

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

mrkvon
Copy link
Member

@mrkvon mrkvon commented Jan 17, 2024

Implement endpoint that sends email notification to a person when called.

POST /notification with body

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Create",
  "actor": {
    "type": "Person",
    "id": "https://sender.example.com/profile/card#me"
  },
  "object": {
    "type": "Note",
    "id": "https://example",
    "content": "message"
  },
  "target": {
    "type": "Person",
    "id": "https://receiver.example.com/profile/card#me"
  }
}

@mrkvon mrkvon merged commit 97fdfc8 into main Jan 17, 2024
4 checks passed
@mrkvon mrkvon deleted the send-email-notification branch January 17, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant