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/public/announcement
	group:      public/announcement
	middleware: AuthMiddleware,DeviceMiddleware
)
service ppanel {
	@doc "Query announcement"
	@handler QueryAnnouncement
	get /list (QueryAnnouncementRequest) returns (QueryAnnouncementResponse)
}

