View Source AshAdmin.Api (ash_admin v0.9.2)
An API extension to alter the behavior of an API in the admin UI.
Table of Contents:
DSL Docs:
admin
admin
Configure the admin dashboard for a given API.
:name
(String.t/0
) - The name of the API in the dashboard. Will be derived if not set.:show?
(boolean/0
) - Whether or not this API and its resources should be included in the admin dashboard. The default value isfalse
.:default_resource_page
- Set the default page for the resource to be the primary read action or the resource schema. Schema is the default for backwards compatibility, if a resource doesn't have a primary read action it will fallback to the schema view. Valid values are :schema, :primary_read The default value is:schema
.:resource_group_labels
(keyword/0
) - Humanized names for each resource group to appear in the admin area. These will be used as labels in the top navigation dropdown. If a key for a group does not appear in this mapping, the label will not be rendered. The default value is[]
.