syntax = "v1"

info (
	title:   "Announcement API"
	desc:    "API for ppanel"
	author:  "Tension"
	email:   "tension@ppanel.com"
	version: "0.0.1"
)

import "../types.api"

@server (
	prefix:     v1/app/announcement
	group:      app/announcement
	middleware: AppMiddleware,AuthMiddleware
)
service ppanel {
	@doc "Query announcement"
	@handler QueryAnnouncement
	get /list (QueryAnnouncementRequest) returns (QueryAnnouncementResponse)
}

