Uploaded image for project: 'E-commerce'
  1. E-commerce
  2. ECOMMERCE-305

Inconsistent resource identification

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Documentation update required:
      Yes
    • Sprint:
      Add-Ons 42
    • Story Points:
      2

      Description

      Current behaviour

      In general the resources are not properly identified.

      For instance, to add an item in a cart we use:“/carts/items”

      And we pass the cartId in the request.

      New behaviour

      It would be more appropriate using:“/carts/{cartId}/items”This is present in most of our API.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                efochr Evzen Fochr
                Reporter:
                ldelnevo Laura Delnevo
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    DoD