Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
To improve the Plain JAX-RS Resource Example in the product detail page:
1) Improve the current search API (#getProductResources) to allow more query parameters with pagination
("Products Search GET API". ex) GET /restservices/products/search/?product=car&brand=Opel)
2) Add a plain REST operation allowing get a product
("Product GET API". ex) GET /restservices/products/brand/Opel/)
3) Add a plain REST operation allowing create
("Product POST API". ex) POST /restservices/products/ with ProductRepresentation body)
4) Add a plain REST operation allowing update
("Product PUT API". ex) PUT /restservices/products/brand/Opel/ with ProductRepresentation body)
5) Add a plain REST operation allowing delete
("Product DELETE API". ex) DELETE /restservices/products/brand/Opel/)
I think it should be good enough to explain the urls and body xml/json message examples in a page for initial demonstration purpose.