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

Inconsistent resource identification

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.2
    • None
    • None
    • None

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Jenkins

                      No builds found.