It's a web site! It's a service! jrm-code-project.com has an OpenAPI specification and you can use it to generate client code in your favorite programming language (which is Lisp, right?). The OpenAPI specification is available at https://jrm-code-project.com/openapi.yaml. There are the following endpoints:
GET /api/v1/ping- Returns a simple "pong" response to test connectivity and verify your authentication tier.POST /api/v1/echo- Accepts a JSON payload and returns the same payload in the response. For testing your client.POST /api/v1/auth/token- Exchange your long-lived programmatic API key for a short-lived JWT Bearer token to authenticate secure requests.GET /api/v1/pastes- Retrieve a paste's content by its ID (Publicly readable, no auth required).POST /api/v1/pastes- Create a new code snippet paste (Requires JWT).DELETE /api/v1/pastes- Delete a specific paste you own (Requires JWT).GET /api/v1/user/pastes- List all non-expired pastes associated with your authenticated account (Requires JWT).POST /api/v1/chef- Programmatic access to The Chef. Submit your raw Lisp code to be mercilessly roasted. (Requires JWT and ax-goog-api-keyheader with your Gemini API key).
I invite you to explore the API and see what you can build with it. If you have any questions or feedback, please don't hesitate to reach out to me at eval.apply@gmail.com.
No comments:
Post a Comment