mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-11-05 13:54:44 +01:00
973 B
973 B
title
| title |
|---|
| Announcement Store |
Announcement Store Endpoint
The announcement store endpoint creates a new announcement and returns the new announcement resource.
For example, the /api/announcement?content=The+Release+Has+Been+Deployed! endpoint will create a new announcement and return the new announcement resource.
URL
POST /api/announcement
Authentication
Required Permission: create announcement
Roles with Permission: Admin
Parameters
| Name | Required | Rules |
|---|---|---|
| content | Yes | string, max:65535 |
Response
{
announcement: {
id: id,
content: "content",
created_at: "created_at",
updated_at: "updated_at",
deleted_at: "deleted_at"
}
}