Ghost Admin API Endpoint Builder
/install ghost-admin-api-endpoint-builder
Admin API Endpoint Testing Guide
This guide provides a comprehensive approach for developers to test newly created endpoints in Ghost's Admin API. Follow the steps below to ensure your endpoints are functioning correctly.
Instructions
- Creating a New Endpoint: If you are creating an endpoint for a new resource, start by creating a new endpoint file in
ghost/core/core/server/api/endpoints/. If the endpoint already exists, locate the corresponding file in the same directory. - Controller Object: In the endpoint file, create a controller object using the JSDoc type from
@tryghost/api-framework.Controller. Ensure it includes at least adocNameand a single endpoint definition, such asbrowse. - Adding Routes: Add the necessary routes for each endpoint to
ghost/core/core/server/web/api/endpoints/admin/routes.jsto make them accessible through the API. - Testing the Endpoint: Implement basic end-to-end API tests for the new endpoint in
ghost/core/test/e2e-api/admin. This will help verify that the endpoint functions as expected. - Running Tests: Execute the tests and iterate on your implementation until all tests pass. Use the command:
cd ghost/core && yarn test:single test/e2e-api/admin/{test-file-name}to run your specific test file.
Reference
For further details on Ghost's API framework and how to create API controllers, refer to the official documentation.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ghost-admin-api-endpoint-builder - After installation, invoke the skill by name or use
/ghost-admin-api-endpoint-builder - Provide required inputs per the skill's parameter spec and get structured output
What is Ghost Admin API Endpoint Builder?
Create or extend Ghost Admin API endpoint code in the standard core structure. Use this skill for tasks that add a new endpoint file under `ghost/core/core/s... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.
How do I install Ghost Admin API Endpoint Builder?
Run "/install ghost-admin-api-endpoint-builder" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ghost Admin API Endpoint Builder free?
Yes, Ghost Admin API Endpoint Builder is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ghost Admin API Endpoint Builder support?
Ghost Admin API Endpoint Builder is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ghost Admin API Endpoint Builder?
It is built and maintained by kukudadasd (@kukudadasd); the current version is v1.0.0.