products
Get all products
Get all products.
get/products
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Products retrieved successfully
Example response
{
"products": [
{
"id": "1",
"name": "Product 1",
"description": "This is a product",
"price": 100,
"stock": 100,
"category": "Category 1"
}
]
}Changes
No recorded changes to this operation across all 15 revisions of this API.