Where can I find API documentation to get file attachments from custom module?

Where can I find API documentation to get file attachments from custom module?

Where can I find API documentation to get file attachments from custom module?