Files
animethemes-api-docs/docs/admin/feature/index.md
T

1.3 KiB

title
title
Feature

Feature


A feature API resource represents a feature flag that enable/disable site functionalities.

For example, the 'allow_discord_notifications' feature enables/disables discord notifications for the configured bot.

Fields

Name Type Nullable Default Description
id Integer No Yes The primary key of the resource
name String No Yes The title of the resource
value String No Yes The value of the resource
created_at Date No No The date that the resource was created
updated_at Date No No The date that the resource was last modified

Allowed Include Paths

None

Endpoints

Feature Index

The feature index endpoint displays a listing of feature resources.

Feature Show

The feature show endpoint returns a feature resource.

Feature Update

The feature update endpoint updates a feature and returns the updated feature resource.