Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13990

DELETE for rest/api/latest/queue resource does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Low
    • 5.14.0
    • None
    • REST API

    Description

      e.g.

      http://localhost:8085/bamboo/rest/api/latest/queue/WOO-LONG-7
      

      and

      http://localhost:8085/bamboo/rest/api/latest/queue/WOO-LONG-7
      

      The current errors are that "The specified HTTP method is not allowed for the requested resource."

      There are two problems

      • Currently there are conflicting endpoints. The pattern differences between the PUT and DELETE endpoints cause them to create different matching rules, and the above urls match both, unfortunately it is the PUT endpoint which ends up trying to resolve the request.
      • Even when resolving the above issue this rest end point does not work as expected. Passing a job key will not match the pattern expected and the request will be rejected. Passing a plan key will match and tell you it worked, but actually did nothing.

      Attachments

        Issue Links

          Activity

            People

              achystoprudov Alexey Chystoprudov
              bmccoy bmccoy
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: