-
Notifications
You must be signed in to change notification settings - Fork 117
REST API [DRAFT]
Jachym Cepicky edited this page Jul 16, 2016
·
1 revision
Processes published in PyWPS instance
Controls running processes
Method | Action | Format | Status code |
---|---|---|---|
GET | Return list of running processes | JSON | 200 |
POST | 405 | ||
PUT | 405 | ||
DELETE | 405 |
Controls running process
Method | Action | Format | Status code | Parameters |
---|---|---|---|---|
GET | Return running description and status | JSON | 200 | |
POST | 405 | |||
PUT | Manipulate running process | JSON | 200 | action |
DELETE | Stop running process | JSON | 200 |
action
- pause
or resume
success
- true
or false
http://localhost/wps/processes/slakdfj-234-ASDF-234 with PUT request {"action": "pause"}
returns {"success": "true"}