Jump to content

Request Logging


Recommended Posts

Posted

Mark,

Here's a sample of what you need for user request logging. It goes in the Authorization request header.

 

Authorization=MediaBrowser UserId="e8837bc1-ad67-520e-8cd2-f629e3155721", Client="Android", Device="LUKE-SERVER", DeviceId="xxx"

 

The server is not yet parsing it but i'll be adding it tonight.

Redshirt
Posted

this is replacing the client string?

Posted
this is replacing the client string?

 

what do you mean?

Redshirt
Posted

&client=Android&device=

 

What I append to the urls in order to let the server know what is happening.

Posted
&client=Android&device=

 

What I append to the urls in order to let the server know what is happening.

 

Oh. don't do that anymore. I want to keep the url's clean, and that does not have any relation to the data you're getting back. This replaces all of that.

ScottIsAFool
Posted

I assume this is all taken care of in the ApiClient?

  • 2 weeks later...
Posted

I've updated this to add DeviceId, which should be your device's unique identifier. I'll get this all on the wiki soon.

 

Scott there will be an ApiClient property

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...