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
- blocks
-
BAM-15313 REST API to stop running builds
- Closed
- is duplicated by
-
BAM-17434 REST API to dequeue a build give 405
- Closed
-
BAM-13948 DELETE /rest/api/latest/queue/PLAN-KEY-BUILDNUMBER Throws Method not found 405
- Closed
- is incorporated by
-
BAM-12373 DELETE method of the REST API throws a Method Not Allowed error
- Closed