Files
2025-07-29 00:56:10 +02:00

868 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 /announcement?content=Lorem+Ipsum endpoint will create a new announcement and return the new announcement resource.

URL

POST /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"
    }
}

Example

curl -X POST -H "Authorization: Bearer {token}" https://api.animethemes.moe/announcement/