95 days ago · Tech · hide · Fediverse post

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…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town