What authorized each viewing session
POST/tnt/:tid/sessions/authorized_by
For each viewing session (viewer wallet, object played, view start), authorized_by lists the NFTs the viewer held at view_start that the object admits (see nft_access below), however the viewer got them: bought, transferred or gifted. An NFT held then counts even if revoked or transferred since, including a rental not yet revoked at view_start. An empty authorized_by means the viewer played without one, e.g. as an admin. Each NFT gives when and how this viewer got it, and its sku: the tenant's marketplace item that mints it (if several do, the one the title catalog offers on this object, if exactly one). If the tenant has a title catalog listing the object as a playable, the session also gets its title, and each NFT the billing_id of the offer it was sold under: its SKU's offer on the variant played, if it has one, whose licensing window covers the date it was first issued (for SVOD, view_start); where no offer meets a condition, that condition is dropped. For trans_id and purchase details, use entitlement/list. nft_access lists the NFT contracts the object admits: those in its _NFT_ACCESS and any its policy names directly. It may also list other addresses the policy mentions; only contracts the viewer held count. The policy is read as it is now, and may be up to 5 minutes old. Up to 200 sessions per request. Which NFTs the viewer held at view_start doesn't change. The title, billing and nft_access come from the title catalog and the object's policy as they are now, so a session's result can change when either is updated; fetch again after such a change.
Request
Responses
- 200
- 400
ok
Bad request