{"id":41,"date":"2022-02-18T06:08:55","date_gmt":"2022-02-18T06:08:55","guid":{"rendered":"https:\/\/blogs.oregonstate.edu\/manickaa\/?p=41"},"modified":"2022-02-18T06:08:55","modified_gmt":"2022-02-18T06:08:55","slug":"capstone-5","status":"publish","type":"post","link":"https:\/\/blogs.oregonstate.edu\/manickaa\/2022\/02\/18\/capstone-5\/","title":{"rendered":"Capstone #5"},"content":{"rendered":"\n<p>This week, I couldn&#8217;t work on Auth0 like I updated in my previous blog. I had to unblock my team to create the necessary endpoints for UI integration. I ended up working on a POST endpoint for creating an animal. I created a model schema, necessary lambda functions and handlers. I was able to successfully deploy and create the &#8216;put-animal&#8217; endpoint.<\/p>\n\n\n\n<p>I also created a GET endpoint for animal details. We had assumed that all animals in each shelter are uniquely named. This made it easier to fetch the animal&#8217;s details just by passing in the animal name and shelter name.<\/p>\n\n\n\n<p>I had the combination of animal name and shelter name as primary key in the animals table, which made things much easier. I just had to pass both the names as path parameters and was able to fetch the details of the animal. I&#8217;m facing some difficulties in deploying the endpoint, on which I&#8217;m actively working to resolve. For next week, I&#8217;m planning to create all the required endpoint and work on the ability to upload and get images from S3 using a pre-signed URL. <\/p>\n\n\n\n<p>It&#8217;s so awesome to see few things come together after the UI integration and that makes me happy. As my work was fully on backend, I could never see the things I built in action, other than testing with Postman. Looking forward to work on the endpoints more \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, I couldn&#8217;t work on Auth0 like I updated in my previous blog. I had to unblock my team to create the necessary endpoints for UI integration. I ended up working on a POST endpoint for creating an animal. I created a model schema, necessary lambda functions and handlers. I was able to successfully &hellip; <a href=\"https:\/\/blogs.oregonstate.edu\/manickaa\/2022\/02\/18\/capstone-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Capstone #5<\/span><\/a><\/p>\n","protected":false},"author":12056,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/posts\/41","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/users\/12056"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/comments?post=41"}],"version-history":[{"count":2,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/posts\/41\/revisions"}],"predecessor-version":[{"id":43,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/posts\/41\/revisions\/43"}],"wp:attachment":[{"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/media?parent=41"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/categories?post=41"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.oregonstate.edu\/manickaa\/wp-json\/wp\/v2\/tags?post=41"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}