Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27010

Handle REST API versioning

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Rest API
    • Tags:
    • Sprint:
      nxfit 11.1.7, nxfit 11.1.8, nxfit 11.1.9, nxfit 11.1.10, nxfit 11.1.12
    • Story Points:
      8

      Description

      Handle the REST API version in the path, ex: v1, v2, etc.
      The version should be exposed to endpoints and marshallers.

      Acceptance tests:

      Endpoint

      /v1/foo/path2 => 404
      /v2/foo/path2 => 200
      /v1/foo/path1 => 200 "foo"
      /v2/foo/path1 => 200 "bar"
      

      Reader
      Update reader in V2.

      Writer
      New writer only accessible in V2.
      Update a writer in V2.

      Enricher
      New enricher only accessible in V2.
      Update an enricher in V2.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 5 hours, 30 minutes
                  2d 5h 30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.