feat: announcement
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: latest announcement
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/announcements/latest
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
|
||||
docs {
|
||||
App side: returns the single latest currently-active announcement
|
||||
(start_date <= now <= end_date; null bounds are open-ended), or null.
|
||||
}
|
||||
Reference in New Issue
Block a user