Skip to main content

9 docs tagged with "server API"

View all tags

Server API for plugins

Overview of the Strapi Server API for plugins, with entry file, lifecycle hooks, routes, controllers, services, policies, middlewares, and configuration.

Server configuration

Define default plugin options, validate user-provided values, and read plugin configuration at runtime.

Server content-types

Declare and register content-types in a Strapi plugin and access them at runtime through the Document Service API.

Server getters & usage

Access and reuse plugin controllers, services, policies, and other server resources using top-level and global getters.

Server lifecycle

Control when plugin server logic runs with register, bootstrap, and destroy lifecycle hooks.

Server routes

Expose plugin endpoints as Content API or admin routes, with full control over auth, policies, and route configuration.