1. Amasty\ProductAttachmentApi\Api\FrontendAttachmentInterface - class for getting product attachments on frontend:
- GET /V1/amasty_product_attachment/getByProductId, method="getByProductId" - get an attachmetn by product ID;
- GET /V1/amasty_product_attachment/getByCategoryId, method="getByCategoryId" - get an attachment by category ID;
- GET /V1/amasty_product_attachment/getByFileIds, method="getByFileIds" - get an attachment by file ID.
2. Amasty\ProductAttachmentApi\Api\DownloadFileInterface - class for downloading files:
- GET /V1/amasty_product_attachment/download, method="download" - download a file.
3. Amasty\ProductAttachmentApi\Api\UploadFileInterface - class for uploading files (attachments):
- POST /V1/amasty_product_attachment/filemanage/uploadFile, method="upload" - upload a file.
4. Amasty\ProductAttachmentApi\Api\BackendAttachmentInterface - class for managed attachments in backend:
- GET /V1/amasty_product_attachment/filemanage/:fileId, method="getById" - get information about an attachment;
- POST /V1/amasty_product_attachment/filemanage, method="save" - create an attachment;
- PUT /V1/amasty_product_attachment/filemanage/:fileId, method="save" - edit an attachment;
- DELETE /V1/amasty_product_attachment/filemanage/:fileId, method="deleteById" - delete an attachment;
- GET /V1/amasty_product_attachment/filemanage/files, method="getList" - get a list of all attachments.