I’m firing this question:
_api/net/lists/GetByTitle('MyLib')/objects?$choose=Title,File/Identify&$develop=File/Identify
I get a bunch of recordsdata, I see the names I need when working the question within the browser:
<d:Identify>INeedThisFileName.jpg</d:Identify>
However they’re nested in these properties:
/Gadgets(717)/File</id><class time period="SP.File" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><hyperlink rel="edit" href="Net/Lists(guid'921b46e1-91cf-426d-ab11-9e59bd995f3e')/Gadgets(717)/File" /><title /><up to date>2020-05-17T22:20:03Z</up to date><creator><identify /></creator><content material kind="utility/xml"><m:properties><d:Identify>INeedThisFileName.jpg</d:Identify></m:properties></content material></entry></m:inline></hyperlink><title /><up to date>2020-05-17T22:20:03Z</up to date><creator><identify /></creator><content material kind="utility/xml" /></entry><entry m:etag=""1""><id>526c333a-59ef-47eb-9498-12d12973290d</id><class time period="SP.Information.MyLibItem" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><hyperlink rel="edit" href="Net/Lists(guid'921b46e1-91cf-426d-ab11-9e59bd995f3e')/
The issue is that if I add a Identify property within the ListItem interface, I get “undefined” for all recordsdata.
export interface ISPList {
Title: string;
Identify: string
}