Proper API response for doc detail route
	modified:   app/api/api.rb