feat : update announcement

This commit is contained in:
lukman
2024-08-13 09:33:26 +08:00
parent 9a000d3387
commit 54ccceb12f
10 changed files with 226 additions and 55 deletions

View File

@@ -224,4 +224,26 @@ Content-Type: application/json
{
"id": "clz6naf9s000ib3mlf5aujk92"
}
###
POST http://localhost:3000/api/announcement HTTP/1.1
Content-Type: application/json
{
"title": "cobaannouncement1 dsdsd",
"desc": "coba announcement sdsdsd",
"groups": [
{
"id": "group1",
"name": "Dinas",
"Division": [
{
"id": "1",
"name": "sasasasa"
}
]
}
]
}