On Jan 31, 2008 10:02 AM, Pat Cappelaere <[EMAIL PROTECTED]> wrote: > > So let me try to summarize: > > GET /engine returns TBD at this point (Generic engine info maybe. Status? > Load info? Not implemented yet, right?)
As you are defining a wfxml RESTful interface you are somehow free to put whatever you want in there and then we as implementers will comply to a certain extent. > POST /engine starts the engine > DELETE /engine deletes engine > We limit to one engine and would return an error for a second POST /engine > > PUT /engine?cmd=halt halts the engine > PUT /engine?cmd=resume resumes the engine > > Note: I would not document updating a resource with a POST (reserved to > create a resource) although implementation will probably allow it. OK for the PUTs > Did you imply that a PUT /engine?cmd=start|stop would also work? And be > different from a POST? I would only implement PUT /engine?cmd=pause|resume and leave the start|stop thing as "starting/stopping the [engine] instance"... > We may not need the POST/DELETE in the one engine scenario. This would be > fine too. True (please disregard what I have written earlier in this post). Cheers, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-dev?hl=en -~----------~----~----~----~------~----~------~--~---
