OdyseeTeam / odysee-api

API server for Odysee
https://odysee.com
MIT License
228 stars 49 forks source link

Allow account/channel owner to view own protected content #434

Closed tzarebczan closed 2 years ago

tzarebczan commented 2 years ago

For now, I added an entry in the database for Alex's War for them to view their own content. Eventually, this will be used by more creators. No immediate rush, but worth looking into if it's easy.

The backend should preferably handle this. If we call resolve during the get call, if we include: include_is_my_output param, we can check the value of :

      "is_my_output": true,

This above method would work for creator memberships also.

if that doesn't work, another way would be to add a param to the current call and have internal apis fill in a record automatically for the content owner.

tzarebczan commented 2 years ago

Also for member only content, tag: c:members-only