API: Create new API on get.

I've modified functions' input parameters to be the same as the API expects to receive by GET
I've modified the get on ApiView
A minor improvement in tests.
Use ``has_get_param(name)`` (DRY)