anchor.diff:  %% @doc Body producing function for
   %% 	`GET /usageManagement/v1/usage'
   %% 	requests.
  -get_usage(_Query) ->
  +get_usage([] = _Query) ->
   	{ok, Directory} = application:get_env(ocs, ipdr_log_dir),
   	case file:list_dir(Directory) of
   		{ok, Files} ->
  
positive.code: usage_characteristics([], _Ipdr, Acc) ->
  	lists:reverse(Acc).
  
  
  %% @hidden
  spec_aaa_auth() ->
  
negative.code: 			{ok, Headers, Body};
  		{error, _Reason} ->
  			{error, 500}
  	end;
  get_usage([{type, "AAAAccessUsageSpec"} | T]) ->
  	{ok, MaxItems} = application:get_env(ocs, rest_page_size),
  	case ocs_log:last(ocs_auth, MaxItems) of
  		{error, _} ->
  			{error, 404};
  		{NewCount, Events} ->
  			JsonObj = usage_aaa_auth(Events),
  			JsonArray = {array, JsonObj},
  			Body = mochijson:encode(JsonArray),
  			ContentRange = "items 1-" ++ integer_to_list(NewCount) ++ "/*",
  			Headers = [{content_range, ContentRange}],
  			{ok, Headers, Body}
  	end.
  
  -spec get_usage(Id, Query) -> Result
  