Notes API Documentation

Homegrown Swagger-style docs for your PHP CRUD endpoints.

Base URL: https://george.manage-my.site/php-cms

GET/api/notes?limit=100&offset=0
List notes. Query params: limit (1-500), offset (>=0).
GET/api/notes/{id}
Fetch a single note by id.
POST/api/notes
Create note. JSON body:
{
    "name": "Vanilla Cake",
    "notes": "Use fresh beans"
}
PUT/api/notes/{id}
Replace note. Requires both name and notes.
PATCH/api/notes/{id}
Partially update note. Allows one or both fields: name, notes.
DELETE/api/notes/{id}
Delete note by id.
GET/php-cms/index.php?format=openapi
Returns the OpenAPI 3 JSON document for tooling imports.
GET/api/diagnostics/env
Protected endpoint that reports env key presence/source and file detection without exposing secret values.