create sharing link with api

dokhoa year ago

Hello,

First sorry for my english :)

Is it possible to create a sharing link with api ?

Regards,

Anton Tananaeva year ago

Yes, anything you can do in the official app, you can do using API as well. That's because the app uses the same API. Check what it does and do the same thing.

dokhoa year ago

What I understand is that clicking the "share device" button creates a user with an expiration date, link a device to this user and create a token for this user.

I think I will be able to do the first two via the API, however I cannot find, in the documentation, how to create a token.

Anton Tananaeva year ago

It seems like you completely ignored what I said.

dokhoa year ago

No not at all, I just don't understand how to do "Check what it does and do the same thing."

Anton Tananaeva year ago

You can either look at the source code or the easiest option is checking network tools in your browser to see what APIs it calls.

dokhoa year ago

Yes ! Thank you and sorry for my ignorance: I am a simple user.

But I think I found: url/api/devices/share with "deviceId" and "expiration"

I'll try :)