wiki:RestfulAPI

Version 3 (modified by johnbywater, 6 years ago) (diff)

--

Questions

  • What are the URIs?
  • What's the format?
  • What methods are supported at each URI?
  • What status codes could be returned?

URLs

Data Formats

Request: HTTP Parameters Response: JSON

Methods

Action Methods
list/ GET
create/ POST
update/ POST
read/ GET

Status Codes

Action-Method Success Exception
list/ GET 200 400 Invalid Request, 404 Not Found
create/ POST 201 400 Invalid Request, 409 Conflict
update/ POST 200 400 Invalid Request
read/ GET 200 404 Not Found