oro_api:
    entities:
        Oro\Bundle\AttachmentBundle\Entity\Attachment:
            fields:
                target:
                    data_type: association:manyToOne
        Oro\Bundle\AttachmentBundle\Entity\File:
            fields:
                filename:
                    exclude: true
                extension:
                    exclude: true
                content:
                    data_type: string
                    property_path: file
                    depends_on: [filename]
            actions:
                delete_list: false
                get_subresource: false
                get_relationship: false
                add_relationship: false
                update_relationship: false
                delete_relationship: false

oro_api:
    entities:
        Oro\Bundle\AttachmentBundle\Entity\Attachment:
            fields:
                target:
                    data_type: association:manyToOne
        Oro\Bundle\AttachmentBundle\Entity\File:
            fields:
                filename:
                    exclude: true
                extension:
                    exclude: true
                content:
                    data_type: string
                    property_path: file
                    depends_on: [filename]

Create form type for file type. Allow all API actions for File entity
BAP-11050: Create form type for file type. Allow all API actions for File entity
