In this blog, I am going to give some REST API endpoints to access the attachment files with its proeprties from List item:
To get all attachments from List Item:
To get specific attachment based on attachment file name:
To get the property from attachment file:
By adding to $select=ServerRelativeUrl, FileName works for all options provided above.