is there a new api for /maptoicon available?

%3CLINGO-SUB%20id%3D%22lingo-sub-105393%22%20slang%3D%22en-US%22%3Eis%20there%20a%20new%20api%20for%20%2Fmaptoicon%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-105393%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-in%2Flibrary%2Foffice%2Fdn499819.aspx%23bk_WebMapToIcon%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmsdn.microsoft.com%2Fen-in%2Flibrary%2Foffice%2Fdn499819.aspx%23bk_WebMapToIcon%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20one%20seems%20to%20missing%20a%20lot%20of%20file%20types%2C%20for%20examples%20mp4%20and%20mp3.%20Where%20as%20when%20viewing%20these%20files%20types%20via%20a%20modern%20view%20they%20are%20all%20there.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EModern%20Library%20is%20using%20following%20image%20from%20a%20cdn%2C%20rather%20than%20%2F_layouts%2F...%3C%2FP%3E%3CP%3E%3CIMG%20class%3D%22%26quot%3BFileTypeIcon-icon%26quot%3B%22%20title%3D%22%26quot%3Bmp4%22%20file%3D%22%22%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fspoprod-a.akamaihd.net%2Ffiles%2Fodsp-next-prod_ship-2017-09-01-sts_20170908.001%2Fodsp-media%2Fimages%2Ffiletypes%2F16%2Fvideo.png%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fspoprod-a.akamaihd.net%2Ffiles%2Fodsp-next-prod_ship-2017-09-01-sts_20170908.001%2Fodsp-media%2Fimages%2Ffiletypes%2F16%2Fvideo.png%3C%2FA%3E%22%20style%3D%22width%3A16px%3Bheight%3A16px%3B%22%20data-reactid%3D%22.0.0.0.0.0.1.0.0.0.0.%24page-0.%24dfb9408b-716a-4afd-8fd7-6a936098bc3c.0.0.2.%240.0.0%22%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIdeally%20don't%20want%20to%20have%20to%20roll%20my%20own%20just%20to%20get%20some%20more%20files%20supported.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-105393%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-154574%22%20slang%3D%22en-US%22%3ERe%3A%20is%20there%20a%20new%20api%20for%20%2Fmaptoicon%20available%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-154574%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20saddened%20this%20was%20never%20answered%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

 

https://msdn.microsoft.com/en-in/library/office/dn499819.aspx#bk_WebMapToIcon

 

This one seems to missing a lot of file types, for examples mp4 and mp3. Where as when viewing these files types via a modern view they are all there.

 

Modern Library is using following image from a cdn, rather than /_layouts/...

<img class="FileTypeIcon-icon" title="mp4 File" src="https://spoprod-a.akamaihd.net/files/odsp-next-prod_ship-2017-09-01-sts_20170908.001/odsp-media/imag..." style="width:16px;height:16px;" data-reactid=".0.0.0.0.0.1.0.0.0.0.$page-0.$dfb9408b-716a-4afd-8fd7-6a936098bc3c.0.0.2.$0.0.0">

 

Ideally don't want to have to roll my own just to get some more files supported.

1 Reply
Highlighted

I'm saddened this was never answered :(