Skip to content

createNene2Client API

Factory: createNene2Client(config)Nene2Client.

System / smoke

MethodPathNotes
frameworkSmoke()GET /Framework metadata
health(options?)GET /healthallowDegraded → accept 503; strictService → reject non-NENE2 service
machineHealth()GET /machine/healthRequires API key
ping()GET /examples/ping
smoke()parallel health + ping

Examples — notes

MethodHTTP
listNotes(params?)GET /examples/notes
getNote(id)GET /examples/notes/{id}
createNote(body)POST /examples/notes
updateNote(id, body)PUT /examples/notes/{id}
deleteNote(id)DELETE /examples/notes/{id}

Examples — tags

Same pattern under /examples/tags.

Protected

| Method | HTTP | | ---------------- | ------------------------- | ---------- | | getProtected() | GET /examples/protected | Bearer JWT |

All methods validate JSON bodies with exported type guards and throw Nene2ClientError on failure.

Released under the MIT License.