#2093 new defect

State-mutating GET methods in webapi.

Reported by: nejucomo Owned by: daira
Priority: normal Milestone: undecided
Component: code-frontend-web Version: 1.10.0
Keywords: wui webapi documentation Cc:
Launchpad Bug:

Description

Based on the documentation for the webapi, GET operations should not modify state. However, a request to:

GET /operations/$HANDLE?retain-for=$AMOUNT

-and:

GET /operations/$HANDLE?release-after-complete=$BOOL

-both alter the state associated with an in-progress operation. Should these parameters be altered by a POST instead?

If not, the documentation should explicitly mention this as an exception.

Change History (1)

comment:1 Changed at 2014-09-11T22:24:22Z by warner

  • Component changed from unknown to code-frontend-web
Note: See TracTickets for help on using tickets.