Stockroom API v1
A small inventory API used to test API traffic through Blackwall.
| Method | Path | Notes |
|---|---|---|
| GET | /api/v1/health | Service status |
| GET | /api/v1/products | ?q=, ?limit=, ?offset= |
| GET | /api/v1/products/{id} | One product |
| GET | /api/v1/warehouses | Warehouse list |
| POST | /api/v1/auth/token | JSON {"client_id","client_secret"}, always 401 on this test API |
| GET | /api/v1/orders | Needs Authorization: Bearer, always 401 |
Example
curl https://api.103.127.30.123.nip.io/api/v1/products?q=box