Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5817

LTD Keeper: refactor REST routes; adopt JSON API conventions

    XMLWordPrintable

    Details

      Description

      Right now resources are available on

      /products/
      /editions/
      /builds/
      

      routes, with editions and builds being known by their DB id number. It would be better to refer to these by their slug. To ensure uniqueness, this implies that builds and editions are sub-resources of products. I.e.

      /products/<prod_slug>
      /products/<prod_slug>/builds/<build_slug>
      /products/<prod_slug>/editions/<edition_slug>
      

      This ticket will complete this refactoring.

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            Note that jsonapi.org would be something good to consider adopting.

            Show
            jsick Jonathan Sick added a comment - Note that jsonapi.org would be something good to consider adopting.
            Hide
            jsick Jonathan Sick added a comment -

            Perhaps use the Marshmallow package to build json serializers to ensure consistent resource presentation.

            Show
            jsick Jonathan Sick added a comment - Perhaps use the Marshmallow package to build json serializers to ensure consistent resource presentation.
            Hide
            tjenness Tim Jenness added a comment -

            Jonathan Sick is this ticket still valid?

            Show
            tjenness Tim Jenness added a comment - Jonathan Sick is this ticket still valid?
            Hide
            jsick Jonathan Sick added a comment -

            This is still worth looking into.

            Show
            jsick Jonathan Sick added a comment - This is still worth looking into.

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  CI Builds

                  No builds found.