Files
animethemes-api-docs/docs/announcement
paranarimasu 57dd7eecd7 fix: update links to production domain (#23)
* fix: update links to production domain

* add missing README change
2022-05-31 20:46:45 -05:00
..
2021-06-30 18:49:03 -05:00

title
title
Announcement

Announcement


An announcement API resource represents a site-wide message to be broadcasted on the homepage.

For example, if video streaming is disabled, the site staff may issue a "Video streaming has been disabled!" announcement.

Fields

Name Type Nullable Description
id Integer No The primary key of the resource
content String No The announcement text
created_at Date No The date that the resource was created
updated_at Date No The date that the resource was last modified
deleted_at Date Yes The date that the resource was deleted

Allowed Include Paths

None

Endpoints

Announcement Show

The announcement show endpoint returns an announcement resource.

Announcement Index

The announcement index endpoint displays a listing of announcement resources.