Has anyone use the V2 version of the Logs REST request: i.e. /admin/v2/logs/authentication
The documentation around how to format the next_offset for this request is not detailed enough and there are no examples.
Here is the code I changes - it is not very elegant but I am not a Ruby guy. Mostly C++ and Python.
private
def encode_params(params)
return "" if params.nil?
if params.is_a?(Hash) then
params.sort.map do |k,v|
URI::encode(k.to_s, @@encode_reg...
I have modified my local copy and here is what I get now - on the second request - invalid signature. I have modified the logging so you can see the exact URI along with what is created as the “canon”
Here are the logs from the request. Now to be fa...
I wish we were using the Python library - unfortunately I’m locked into using the Ruby client. From what I see the Ruby client does not handle duplicate parameters since it expects the params to be a hash object.
Thanks for the info - the documentation for this request has “allow multiple” set to No. I would suggest reviewing this documentation for accuracy and adding a sample request.