These end points are only available to authenticated Users, user needs to register and sign-in.
User must have required access to see the basket details. The end point to see the basket details of a user
{format} could be html, json etc
See also
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/data.{format} | GET | as per format | 200 | None |
/my-gazette/basket/data.{format} | GET | as per format | 400 | None |
single or multiple notices can be posted to basket. To add a single item to the basket , noticeId must be part of request, the URI is:
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/item | POST | HTML | 200 | None |
/my-gazette/basket/item | POST | HTML | 400 | None |
To add multiple items to basket , bundleId must be part of request , the URI is :
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/multiple-items | POST | HTML | 201 | None |
/my-gazette/basket/multiple-items | POST | HTML | 400 | None |
To delete an item from basket, URI is
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/multiple-items | POST | HTML | 201 | None |
/my-gazette/basket/multiple-items | POST | HTML | 400 | None |
To delete an item from basket, URI is
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/item/{itemId} | DELETE | HTML | 201 | None |
/my-gazette/basket/item/{itemId} | DELETE | HTML | 400 | None |
To increase the quantity of an item, URI is
Representation URI | Method | Response type | Response code | Accept header |
---|---|---|---|---|
/my-gazette/basket/multiple-items | POST | HTML | 201 | None |
/my-gazette/basket/multiple-items | POST | HTML | 400 | None |
TODO: Need endpoints and description for following use cases.
- from individual notice
- Basket contents
- HTML
- XML
- JSON