{"id":383,"date":"2021-06-29T14:57:40","date_gmt":"2021-06-29T05:57:40","guid":{"rendered":"https:\/\/blog.daymore.com\/?p=383"},"modified":"2022-04-24T12:46:59","modified_gmt":"2022-04-24T03:46:59","slug":"aws-amplify-api-gateway-lambda-ios-app","status":"publish","type":"post","link":"https:\/\/blog.daymore.com\/?p=383","title":{"rendered":"AWS Amplify + API Gateway + Lambda + iOS App"},"content":{"rendered":"\n<p>daymore \uc571 \ud504\ub9ac\ubbf8\uc5c4\uc744 \uad6c\ub3c5\ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30 \uc704\ud574 \uc778\uc571\uacb0\uc81c \uc601\uc218\uc99d\uc744 \uc11c\ubc84\uc5d0\uc11c \uac80\uc99d\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30\ub85c \ud568, \uc5ec\ub7ec\uac00\uc9c0\ub97c \uace0\ubbfc\ud558\ub2e4\uac00 AWS Lambda\ub97c \uc0ac\uc6a9\ud558\uae30\ub85c \uacb0\uc815! \uc57d\uac04\uc758 \uc0bd\uc9c8\uc744 \ub3d9\ubc18\ud55c \uc124\uc815 \uacbd\ud5d8\uc744 \uc815\ub9ac\ud568.<br><br>EC2\uc5d0 \uc62c\ub824\uc11c \uc6b4\uc601\ud558\ub294\uac83\ubcf4\ub2e4\ub294 \uc11c\ubc84\uad00\ub9ac\uac00 \uc5c6\uc5b4\uc11c \ud3b8\ud558\uace0 \uc6d4 100\ub9cc\uac74 \ud638\ucd9c\uae4c\uc9c0 \ubb34\ub8cc\ub85c \uc0ac\uc6a9\uac00\ub2a5\ud574\uc11c Lambda\ub97c \uc0ac\uc6a9\ud558\uae30\ub85c \ud568, cold start \ubb38\uc81c\uac00 \uc788\uae30\ub294 \ud558\uc9c0\ub9cc \uc5b4\uc9dc\ud53c \uc571\uc5d0\uc11c \ubc31\uadf8\ub77c\uc6b4\ub4dc\ub85c \ub3cc\ub824\uc11c \uacb0\uacfc \ud655\uc778\ud558\ub294 \ubc29\uc2dd\uc774\ub77c\uc11c \ubcc4 \uc0c1\uad00\uc5c6\uc744 \uac83 \uac19\uc74c<\/p>\n\n\n\n<p>\uc11c\ubc84<br>AWS Lambda(Golang) + API Gateway<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Golang<br>&#8220;github.com\/apex\/gateway&#8221;<br>&#8220;github.com\/gin-gonic\/gin&#8221;<br>&#8220;github.com\/awa\/go-iap\/appstore&#8221;<br><br>\ube4c\ub4dc, GOOS=linux GOARCH=amd64 go build -o main<br>\uc555\ucd95, zip main.zip main<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Amplify Cli<br>AWS \ucf58\uc194\uc5d0\uc11c \uc9c1\uc811 \ub9cc\ub4e4\uc9c0 \uc54a\uace0 Amplify Cli\ub97c \uc774\uc6a9\ud568<br>Amplify Cli\ub97c \uc774\uc6a9\ud558\uc5ec S3, Api, Lambda\ub97c \uc0dd\uc131\ud568<br><br>https:\/\/docs.amplify.aws\/lib\/project-setup\/prereq\/q\/platform\/ios#option-1-watch-the-video-guide<br>&#8211; amplify configure (IAM \uc720\uc800 \uc0dd\uc131)<br><br>https:\/\/docs.amplify.aws\/lib\/project-setup\/create-application\/q\/platform\/ios#n2-install-amplify-libraries<br>&#8211; amplify init (AWS Amplify\uc5d0 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131)<br><br>https:\/\/docs.amplify.aws\/lib\/storage\/getting-started\/q\/platform\/ios<br>&#8211; amplify add storage (S3 \uc0dd\uc131, \ubc84\ud0b7 \uc0dd\uc131), (auth and guest users \uc120\ud0dd, \ubaa8\ub4e0 \uad8c\ud55c)<br>&#8211; amplify push<br><br>https:\/\/docs.amplify.aws\/lib\/restapi\/getting-started\/q\/platform\/ios<br>&#8211; amplify add api (API, Lambda \uc0dd\uc131), (Restrict API access \uc5d0\uc11c No), (auth and guest users \uc120\ud0dd, \ubaa8\ub4e0 \uad8c\ud55c)<br>&#8211; amplify push<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png\" alt=\"\" class=\"wp-image-384\" width=\"596\" height=\"185\" srcset=\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png 1024w, https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-300x93.png 300w, https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-768x238.png 768w, https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status.png 1076w\" sizes=\"auto, (max-width: 596px) 100vw, 596px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>AWS Lambda console <br>&#8211; \uc0dd\uc131\ub41c \ud568\uc218 moreiap \ub85c \uc774\ub3d9<br>&#8211; &#8220;\ucf54\ub4dc \uc18c\uc2a4&#8221;\uc5d0\uc11c \ub85c\uceec\uc5d0\uc11c \ub9cc\ub4e4\uc5b4 \ub193\uc740 main.zip \ud30c\uc77c \uc5c5\ub85c\ub4dc<br>&#8211; &#8220;\ub7f0\ud0c0\uc784 \uc124\uc815&#8221;\uc5d0\uc11c \ud578\ub4e4\ub7ec\ub97c main\uc73c\ub85c \ubcc0\uacbd <br><\/li><li>AWS API Gateway console<br>&#8211; \uc5ec\uae30\uc11c \uc124\uc815\ud574 \uc904\uac74 \uc5c6\uc9c0\ub9cc \ub0b4\ubd80 \ud14c\uc2a4\ud2b8 \ud560 \uc218 \uc788\uc74c<br><\/li><li>iOS \ud504\ub85c\uc81d\ud2b8<br>https:\/\/docs.amplify.aws\/lib\/project-setup\/create-application\/q\/platform\/ios#n1-create-a-new-project<br>&#8211; \ud504\ub85c\uc81d\ud2b8\uc5d0 amplifyconfiguration.json, awsconfiguration.json \ud30c\uc77c \ucd94\uac00<br>&#8211; \uc544\ub798\uc640 \uac19\uc774 \ud14c\uc2a4\ud2b8, \ub9ac\ud134\uac12 \ud655\uc778<\/li><\/ul>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">    func appleReceipt() {\n        func loadReceipt() -> Data? {\n            guard let url = Bundle.main.appStoreReceiptURL else {\n                return nil\n            }\n            \n            do {\n                let data = try Data(contentsOf: url)\n                return data\n            } catch {\n                print(\"Error loading receipt data: \\(error.localizedDescription)\")\n                return nil\n            }\n        }\n        \n        guard let data = loadReceipt() else { return }\n        \n        let message = [\"receipt-data\":data.base64EncodedString()]\n        guard let jsonData = try? JSONSerialization.data(withJSONObject: message, options: []) else { return }\n        let request = RESTRequest(path: \"\/apple\/receipt\", body: jsonData)\n        Amplify.API.post(request: request) { result in\n            switch result {\n            case .success(let data):\n                let json = try? JSONSerialization.jsonObject(with: data, options: [])\n                print(json)\n            case .failure(let apiError):\n                print(\"Failed\", apiError)\n            }\n        }\n    }<\/pre>\n\n\n\n<p>\uc815\ub9ac \ub05d!<br>\uc0bd\uc9c8 1) amplify \uc774\uc6a9\uc2dc api\ub97c \ucd94\uac00\ud558\uace0 storage\ub97c \ucd94\uac00\ud558\uba74 \uc624\ub958\uac00 \uc0dd\uae40, \uadf8\ub798\uc11c storage \uba3c\uc800 \ucd94\uac00\ud558\uace0 api \ucd94\uac00\ud568, \uc778\uc99d\ub54c\ubb38\uc778\uac70 \uac19\uc74c<br>\uc0bd\uc9c8 2) api\ub97c \ucd94\uac00\ud560 \ub54c restrict api access\ub97c yes \ub85c \ud588\ub294\ub370 \uc571\uc5d0\uc11c \ud638\ucd9c \uc5d0\ub7ec(403\uc5d0\ub7ec) \ubc1c\uc0dd\ud558\uc5ec \uc815\ucc45\uc744 \ucc3e\uc544\uc11c \uc218\uc815\ud558\ub824\ub2e4 \uc2e4\ud328\ud558\uace0 amplify update api \ub85c restrict api access\ub97c no\ub85c \ubcc0\uacbd\ud558\uace0 \ub2e4\uc2dc amplify push, \uc571\uc5d0\uc11c \ud638\ucd9c \uc131\uacf5!<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>daymore \uc571 \ud504\ub9ac\ubbf8\uc5c4\uc744 \uad6c\ub3c5\ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30 \uc704\ud574 \uc778\uc571\uacb0\uc81c \uc601\uc218\uc99d\uc744 \uc11c\ubc84\uc5d0\uc11c \uac80\uc99d\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30\ub85c \ud568, \uc5ec\ub7ec\uac00\uc9c0\ub97c \uace0\ubbfc\ud558\ub2e4\uac00 AWS Lambda\ub97c \uc0ac\uc6a9\ud558\uae30\ub85c \uacb0\uc815! \uc57d\uac04\uc758 \uc0bd\uc9c8\uc744 \ub3d9\ubc18\ud55c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,58],"tags":[111,107,105,108,109,110,51,106,17],"class_list":["post-383","post","type-post","status-publish","format-standard","hentry","category-blog","category-ios","tag-amplify","tag-api","tag-aws","tag-gateway","tag-go","tag-golang","tag-ios","tag-lambda","tag-swift"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.daymore.com\/?p=383\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\" \/>\n<meta property=\"og:description\" content=\"daymore \uc571 \ud504\ub9ac\ubbf8\uc5c4\uc744 \uad6c\ub3c5\ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30 \uc704\ud574 \uc778\uc571\uacb0\uc81c \uc601\uc218\uc99d\uc744 \uc11c\ubc84\uc5d0\uc11c \uac80\uc99d\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30\ub85c \ud568, \uc5ec\ub7ec\uac00\uc9c0\ub97c \uace0\ubbfc\ud558\ub2e4\uac00 AWS Lambda\ub97c \uc0ac\uc6a9\ud558\uae30\ub85c \uacb0\uc815! \uc57d\uac04\uc758 \uc0bd\uc9c8\uc744 \ub3d9\ubc18\ud55c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.daymore.com\/?p=383\" \/>\n<meta property=\"og:site_name\" content=\"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-29T05:57:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-24T03:46:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png\" \/>\n<meta name=\"author\" content=\"daymore\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"daymore\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.daymore.com\/?p=383\",\"url\":\"https:\/\/blog.daymore.com\/?p=383\",\"name\":\"AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\",\"isPartOf\":{\"@id\":\"https:\/\/blog.daymore.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.daymore.com\/?p=383#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.daymore.com\/?p=383#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png\",\"datePublished\":\"2021-06-29T05:57:40+00:00\",\"dateModified\":\"2022-04-24T03:46:59+00:00\",\"author\":{\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.daymore.com\/?p=383#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.daymore.com\/?p=383\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/blog.daymore.com\/?p=383#primaryimage\",\"url\":\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status.png\",\"contentUrl\":\"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status.png\",\"width\":1076,\"height\":334},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.daymore.com\/?p=383#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.daymore.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Amplify + API Gateway + Lambda + iOS App\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.daymore.com\/#website\",\"url\":\"https:\/\/blog.daymore.com\/\",\"name\":\"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd\",\"description\":\"blog.daymore.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.daymore.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763\",\"name\":\"daymore\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/blog.daymore.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g\",\"caption\":\"daymore\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.daymore.com\/?p=383","og_locale":"ko_KR","og_type":"article","og_title":"AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","og_description":"daymore \uc571 \ud504\ub9ac\ubbf8\uc5c4\uc744 \uad6c\ub3c5\ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30 \uc704\ud574 \uc778\uc571\uacb0\uc81c \uc601\uc218\uc99d\uc744 \uc11c\ubc84\uc5d0\uc11c \uac80\uc99d\ud558\ub294 \ubc29\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30\ub85c \ud568, \uc5ec\ub7ec\uac00\uc9c0\ub97c \uace0\ubbfc\ud558\ub2e4\uac00 AWS Lambda\ub97c \uc0ac\uc6a9\ud558\uae30\ub85c \uacb0\uc815! \uc57d\uac04\uc758 \uc0bd\uc9c8\uc744 \ub3d9\ubc18\ud55c [&hellip;]","og_url":"https:\/\/blog.daymore.com\/?p=383","og_site_name":"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","article_published_time":"2021-06-29T05:57:40+00:00","article_modified_time":"2022-04-24T03:46:59+00:00","og_image":[{"url":"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png","type":"","width":"","height":""}],"author":"daymore","twitter_card":"summary_large_image","twitter_misc":{"\uae00\uc4f4\uc774":"daymore","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/blog.daymore.com\/?p=383","url":"https:\/\/blog.daymore.com\/?p=383","name":"AWS Amplify + API Gateway + Lambda + iOS App - \uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","isPartOf":{"@id":"https:\/\/blog.daymore.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.daymore.com\/?p=383#primaryimage"},"image":{"@id":"https:\/\/blog.daymore.com\/?p=383#primaryimage"},"thumbnailUrl":"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status-1024x318.png","datePublished":"2021-06-29T05:57:40+00:00","dateModified":"2022-04-24T03:46:59+00:00","author":{"@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763"},"breadcrumb":{"@id":"https:\/\/blog.daymore.com\/?p=383#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.daymore.com\/?p=383"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/blog.daymore.com\/?p=383#primaryimage","url":"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status.png","contentUrl":"https:\/\/blog.daymore.com\/wp-content\/uploads\/2021\/06\/amplify_status.png","width":1076,"height":334},{"@type":"BreadcrumbList","@id":"https:\/\/blog.daymore.com\/?p=383#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.daymore.com\/"},{"@type":"ListItem","position":2,"name":"AWS Amplify + API Gateway + Lambda + iOS App"}]},{"@type":"WebSite","@id":"https:\/\/blog.daymore.com\/#website","url":"https:\/\/blog.daymore.com\/","name":"\uae00\uc4f0\uae30, IT \uc791\uc740 \uc9c0\uc2dd","description":"blog.daymore.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.daymore.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/d2a6b2e27e0ca7aa5736172b432c1763","name":"daymore","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/blog.daymore.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f7c8fbf7472c334702e25bab1089b35096ea0daf226ea3e22f66568aba3570e6?s=96&d=mm&r=g","caption":"daymore"}}]}},"_links":{"self":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=383"}],"version-history":[{"count":10,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":414,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=\/wp\/v2\/posts\/383\/revisions\/414"}],"wp:attachment":[{"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.daymore.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}