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

Tenant Service - Mailbox #44

Open
jcace opened this issue Oct 23, 2023 · 0 comments
Open

Tenant Service - Mailbox #44

jcace opened this issue Oct 23, 2023 · 0 comments

Comments

@jcace
Copy link

jcace commented Oct 23, 2023

Description: Build out the /mailbox feature for Spade Tenants. They will need some routes to check their mail messages, as well as acknowledge/delete messages.

Below is a foundation to build off in the tenant api.

type MailboxMessage struct {
	Notifications []interface{} `json:"notifications"`
}

// handleGetMailbox godoc
//	@Summary		Gets mailbox messages for the tenant
// 	@Param 		  token header string true "Auth token"
//	@Produce		json
//	@Success		200	{object}	ResponseEnvelope{Response=MailboxMessage}
//	@Router			/mailbox [get]
func (s *apiV1) handleGetMailbox(c echo.Context) error {
	return c.JSON(http.StatusOK, map[string]string{
		"status": "ok",
	})
}

ETA: YYY-MM-DD
Maintainer:

Milestones

No tasks being tracked yet.

Known dependencies:

View this starmap at:

@github-project-automation github-project-automation bot moved this to 🍇 Backlog in ActionArena Oct 23, 2023
@jcace jcace changed the title Tenant Services - Mailbox Tenant Service - Mailbox Oct 24, 2023
@xmcai2016 xmcai2016 moved this from 🍇 Backlog to 🍰 Todo / Commited in ActionArena Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🍰 Todo / Commited
Development

No branches or pull requests

1 participant