Skip to content
Back to skills

Add Admin Api Endpoint Gregbaron Ghost Mysandbox

ASecurity

Add a new endpoint or endpoints to Ghost's Admin API at `ghost/api/admin/**`.

  • 666 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 2, 2026
ai-agentsapi

Works with

  • api

Security analysis

A100/100

Scanned June 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill add-admin-api-endpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Admin Api Endpoint Gregbaron Ghost Mysandbox?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Admin Api Endpoint Gregbaron Ghost Mysandbox
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-add-admin-api-endpoint-gregbaron-ghost-mysandbox/badge)](https://www.skillsdirectory.com/skills/majiayu000-add-admin-api-endpoint-gregbaron-ghost-mysandbox)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Add Admin API Endpoint
description: Add a new endpoint or endpoints to Ghost's Admin API at `ghost/api/admin/**`.
---

# Create Admin API Endpoint

## Instructions

1. If creating an endpoint for an entirely new resource, create a new endpoint file in `ghost/core/core/server/api/endpoints/`. Otherwise, locate the existing endpoint file in the same directory.
2. The endpoint file should create a controller object using the JSDoc type from (@tryghost/api-framework).Controller, including at minimum a `docName` and a single endpoint definition, i.e. `browse`. 
3. Add routes for each endpoint to `ghost/core/core/server/web/api/endpoints/admin/routes.js`.
4. Add basic `e2e-api` tests for the endpoint in `ghost/core/test/e2e-api/admin` to ensure the new endpoints function as expected.
5. Run the tests and iterate until they pass: `cd ghost/core && yarn test:single test/e2e-api/admin/{test-file-name}`.

## Reference
For a detailed reference on Ghost's API framework and how to create API controllers, see [reference.md](reference.md).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.