Feature/api create attachments show endpoint

Tests to come. I am working on refactorization of tests for API endpoint. I will add test for attachment endpoint when I am finished in separate pull request.