GeezerVison is showing github.com — [feature]: Set up ob-api with a generic OpenBoxes client by deeonwuli · Pull Request #1 · EyeSeeTea/ob-api
Conversation
deeonwuli
commented
Nov 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
📌 References
📝 Implementation
Sets up the ob-api library and adds a generic OpenBoxes API client.
- Project setup: TypeScript, Vite, tests, the EST AI skeleton and the OpenSpec commands.
OBApi: a generic client with get, post, put, patch and delete. The API is close to d2-api's D2ApiGeneric.
- Session: lazy login on the first request, a public
login(locationId?), and one retry on 401. The location is kept only after a successful login.
HttpError { request, response? } for failed requests.
FetchHttpClientRepository: native fetch, Node and browser, no runtime dependencies. It keeps the session cookie in Node.
skipApiPrefix sends a request to a path outside apiPath. FormData, Blob, URLSearchParams and binary bodies are sent as they are.
- Absent values use
Maybe.
OpenSpec: generic-ob-api-client and skip-api-prefix-and-form-data (archived, specs synced).
📹 Screenshots/Screen capture
N/A (library, no UI).
🔥 Notes to the tester
- Run
yarn install.
- Run the lint, type-check and test commands in
DEVELOPMENT.md.
- Optional: create an
OBApi against an OpenBoxes server and call api.get("/products").
#1amt6mz6vf8
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
deeonwuli
changed the title
feat: set up ob-api with a generic OpenBoxes client
feat: Set up ob-api with a generic OpenBoxes client
Nov 18, 2026
deeonwuli
changed the title
feat: Set up ob-api with a generic OpenBoxes client
[feat]: Set up ob-api with a generic OpenBoxes client
Nov 18, 2026
deeonwuli
changed the title
[feat]: Set up ob-api with a generic OpenBoxes client
[feature]: Set up ob-api with a generic OpenBoxes client
Nov 19, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.