So, if you update your api to _api/Web/Lists(guid'[LISTGUID]')/Items(1)/AttachmentFilesIt will return the following:
{
"d": {
"results": [
{
"__metadata": {
"id": "https://contoso.sharepoint.com/_api/Web/Lists(guid'1311aabd-0ae3-42b3-8382-f418d85dd0a4')/Items(1)/AttachmentFiles('Reserved_ImageAttachment_[5]_[Image][28]_[Annotation 2024-10-24 114613][1]_[7].png')",
"uri": "https://contoso.sharepoint.com/_api/Web/Lists(guid'1311aabd-0ae3-42b3-8382-f418d85dd0a4')/Items(1)/AttachmentFiles('Reserved_ImageAttachment_%5B5%5D_%5BImage%5D%5B28%5D_%5BAnnotation%202024-10-24%20114613%5D%5B1%5D_%5B7%5D.png')",
"type": "SP.Attachment"
},
"FileName": "Reserved_ImageAttachment_[5]_[Image][28]_[Annotation 2024-10-24 114613][1]_[7].png",
"FileNameAsPath": {
"__metadata": {
"type": "SP.ResourcePath"
},
"DecodedUrl": "Reserved_ImageAttachment_[5]_[Image][28]_[Annotation 2024-10-24 114613][1]_[7].png"
},
"ServerRelativePath": {
"__metadata": {
"type": "SP.ResourcePath"
},
"DecodedUrl": "/Lists/Stationary Orders/Attachments/1/Reserved_ImageAttachment_[5]_[Image][28]_[Annotation 2024-10-24 114613][1]_[7].png"
},
"ServerRelativeUrl": "/Lists/Stationary Orders/Attachments/1/Reserved_ImageAttachment_[5]_[Image][28]_[Annotation 2024-10-24 114613][1]_[7].png"
}
]
}
}
VictorIvanidze
4
BK-01100935-0
4
stampcoin
2