.agents/skills/add-admin-api-endpoint/SKILL.md
ghost/core/core/server/api/endpoints/. Otherwise, locate the existing endpoint file in the same directory.docName and a single endpoint definition, i.e. browse.ghost/core/core/server/web/api/endpoints/admin/routes.js.e2e-api tests for the endpoint in ghost/core/test/e2e-api/admin to ensure the new endpoints function as expected.cd ghost/core && pnpm test:single test/e2e-api/admin/{test-file-name}.For a detailed reference on Ghost's API framework and how to create API controllers, see reference.md.