summaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-18 23:20:28 -0600
committerCraig Jennings <c@cjennings.net>2026-02-18 23:20:28 -0600
commit4ef811788a07e51da572a6679d3fdad9570eb8dc (patch)
tree3fa1491122fbc9f0cad063e190ca2f749080cc45 /todo.org
parentfe18fa8c57f35c7e9d3d89f5d0e34c4ad1ec0dab (diff)
downloaddotemacs-4ef811788a07e51da572a6679d3fdad9570eb8dc.tar.gz
dotemacs-4ef811788a07e51da572a6679d3fdad9570eb8dc.zip
feat(restclient): add REST API client for interactive API exploration
restclient.el + restclient-jq integration with SkyFi API templates, tutorial file, auto key injection from authinfo, 17 ERT tests.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org24
1 files changed, 24 insertions, 0 deletions
diff --git a/todo.org b/todo.org
index 71906cb5..dff634f6 100644
--- a/todo.org
+++ b/todo.org
@@ -320,6 +320,30 @@ Changes in progress (modules/auth-config.el):
- Use external pinentry (pinentry-dmenu) in GUI
- Requires env-terminal-p from host-environment module
+** API & Web Services
+
+*** VERIFY [#B] Test and review restclient.el implementation
+
+Test the new REST API client integration in a running Emacs session.
+
+**Keybindings to test:**
+- C-; R n — new scratch *restclient* buffer (should open in restclient-mode)
+- C-; R o — open .rest file (should default to data/ directory)
+- C-; R s — open SkyFi template (should auto-inject API key from authinfo)
+
+**Functional tests:**
+1. Open tutorial-api.rest, run JSONPlaceholder GET (C-c C-c) — verify response inline
+2. Run POST example — verify 201 response with fake ID
+3. Run httpbin header echo — verify custom headers echoed back
+4. Navigate between requests with C-c C-n / C-c C-p
+5. Test jq filtering (requires jq installed): restclient-jq loaded?
+6. Open scratch buffer (C-; R n), type a request manually, execute
+7. which-key shows "REST client" menu under C-; R
+
+**SkyFi key injection (if authinfo entry exists):**
+- C-; R s should replace :skyfi-key = PLACEHOLDER with real key
+- Key should NOT be written to disk (verify file still shows PLACEHOLDER)
+
* Emacs Resolved
** DONE [#B] Investigate missing yasnippet configuration
CLOSED: [2026-02-16 Mon]