Updating documentation for rest api

There is a bug with the api which needs resolving
Setting class was done badly