Question d’entretien chez Adobe

Build a HTTP Restful service in 4 hours. Image Publishing Service Problem Statement You are a backend engineer working on an image editing application. Our users want to share their creations with the world, but they also want to be able to attach a title and other information about their work of art. Implement and deploy an API for publishing images with metadata as expected by FaceBook’s Open Graph protocol, described in this link: http://ogp.me/ Your service should expose an API endpoint which takes the follow parameters: an image url, e.g. https://cdn.pixabay.com/photo/2017/02/20/18/03/cat-2083492_1280.jpg a title, e.g. “Curious cat picture!” The service should return with a response containing the url for an HTML document. The document should be a valid HTML document containing an img tag with the src attribute set to the published image url, and the four meta tags required by the Open Graph protocol: og:title og:type og:image og:url You can use the following service to check your work: https://opengraphcheck.com Bonus Support other content types such as videos Support additional meta tags such as optional Open Graph tags or metadata for Twitter Cards Add an API endpoint to “unpublish” existing content Expectations Your service should be deployed and easily accessible over the internet for at least 24 hours so we can verify your work. Please provide clear documentation on how to use your service’s API as well as how it was architected and deployed. Although we won’t expect the service to be completely robust and scalable, you should be able to clearly describe what limitations your implementation has and how improvements could be made. After you’ve completed the project, upload your code and documentation as a zip to a file sharing service and share it directly with your test proctor. You have up to 4 hours to complete this challenge