Hello I'm working on a new skin plugin support players add workshop skins with skin id. I hope the plugin can automatically match item short name with skin id. So that player won't add skins to wrong item.
I have these webrequest code to get workshop item information.
webrequest.Enqueue("https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/", $"&itemcount=1&publishedfileids[0]={skinId}", (code, res) =>
{
Puts("RES:{0}", res);
}, this, RequestMethod.POST);This is response. I think "filename" should be item short name but it is empty. I tried different skinids but they are all empty.
{"response":{"result":1,"resultcount":1,"publishedfiledetails":[{"publishedfileid":"1367158683","result":1,"creator":"76561############","creator_app_id":252490,"consumer_app_id":252490,"filename":"","file_size":6698887,"preview_url":"https://steamuserimages-a.akamaihd.net/ugc/2440265235771644952/5807889D55CBD8CDADDEFBA25C3C5CCD86C3025C/","hcontent_preview":"2440265235771644952","title":"Biker Pants","description":"[url=http://steamcommunity.com/id/madroce/myworkshopfiles] [img]https://i.imgur.com/pU1ApIZ.jpg[/img] [/url]","time_created":1524344509,"time_updated":1524344509,"visibility":0,"banned":0,"ban_reason":"","subscriptions":0,"favorited":38,"lifetime_subscriptio[MCSkin]Is there something wrong with my code? Can I get item short name from workshop by id?
Thanks for help.