falkorichter / prusa-connect-api

Apache License 2.0
1 stars 0 forks source link

Question: What is the fingerprint? #2

Open falkorichter opened 1 year ago

falkorichter commented 1 year ago

I need to send fingerprint and token as authentication to the server.

What is the fingerprint and where do I get it in the connect interface? I checked https://connect.prusa3d.com/printer/1fc61e8b-d637-4834-a5fa-9cd78a404b0f/settings for instance and can`t find it.

falkorichter commented 1 year ago

@tangero can you support?

Pitel commented 1 year ago

Fingerprint could be "anything" that uniquely identifgies the camera device. Some examples:

It's a string with length between 16 and 64 characters.

It needs to stay the same between requests/sessions, otherwise you get HTTP error.

Once you send a first request with fingeprint and token, the pair is saved in Prusa's DB, and must stay the same for future requests.