yt
yt copied to clipboard
Is there a way to get the CMS user details who created an asset?
I am trying to get the details of the CMS user who created an asset in youtube CMS as shown in the screenshot attached. Before working on a new solution PR, I wanted to ask if YT gem provides a way (couldn't find any code) which I missed.
The network investigation shows that data is present under the JSON response
metadataForComparison[0] >source > cms > delegateUser
for the URL https://studio.youtube.com/youtubei/v1/cms/get_cms_assets?alt=json&key=YOUR_KEY

Hi there! I looked into this a little bit, and I think this is available with the list method on the OwnershipHistory resource in the partner API (https://developers.google.com/youtube/partner/docs/v1/ownershipHistory/list). Try plugging in that asset in the playground and see what you get. I see something that looks similar under the origination.source key. Let me know if that seems about right.
In any case, much of the partner API stuff in Yt is less built out than the Data API, so I think we'd need the notion of an OwnershipHistory model in Yt as well.
@sp2410 will you open a pr on this? 😃