Merge: nitweb: clean existing api
authorJean Privat <jean@pryen.org>
Mon, 30 May 2016 17:14:07 +0000 (13:14 -0400)
committerJean Privat <jean@pryen.org>
Mon, 30 May 2016 17:14:07 +0000 (13:14 -0400)
This PR cleans the Quick&Dirty(c) JSON API of nitweb to use the model_json one.

Modified services:
* /uml -> /api/um/:entity
* /code -> /api/code/:entity
* /random -> /api/random
* /search -> /api/search

Also do some renaming to match `popcorn` philosophy.

Pull-Request: #2137
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge