{"id":48,"date":"2023-12-12T13:19:44","date_gmt":"2023-12-12T13:19:44","guid":{"rendered":"https:\/\/200oksolutionssandbox.co.uk\/blog\/?p=48"},"modified":"2024-07-30T08:56:43","modified_gmt":"2024-07-30T08:56:43","slug":"serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java","status":"publish","type":"post","link":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/","title":{"rendered":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA."},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"976\" height=\"242\" src=\"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog.png\" alt=\"\" class=\"wp-image-49\"\/><\/figure>\n\n\n\n<p>AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS). It allows you to run code in response to events without having to manage servers. With AWS Lambda, you can build applications that automatically scale, handle tasks, and respond to events as needed, all while only paying for the compute time consumed during the execution of your code.<\/p>\n\n\n\n<p>Elasticsearch is an open-source distributed search and analytics engine. It is designed to store, search, and analyze large volumes of data quickly and in near real-time. Elasticsearch is part of the Elastic Stack, which includes components like Logstash, Kibana, and Beats, often used together for various data-related tasks.<\/p>\n\n\n\n<p><strong>Steps to create Lambda-based API for ElasticSearch using API Gateway.<\/strong><\/p>\n\n\n\n<p><strong>Prerequisites:<\/strong><\/p>\n\n\n\n<p><strong>1 AWS Account: <\/strong>You need an AWS account to create Lambda functions and other AWS services.<\/p>\n\n\n\n<p><strong>2 Elasticsearch Domain: <\/strong>Create an Amazon Elasticsearch domain using the AWS Management Console. Note down the endpoint URL of your Elasticsearch cluster.<\/p>\n\n\n\n<p><strong>3 Java Development Environment: <\/strong>Make sure you have Java and Maven installed on your local machine.<\/p>\n\n\n\n<p><strong>4<\/strong> <strong>AWS CLI:<\/strong> Install the AWS Command Line Interface to interact with AWS services.<\/p>\n\n\n\n<p><strong>Step-by-Step Guide:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Add Dependencies:<\/strong><\/li>\n<\/ul>\n\n\n\n<p>In your Java project, you need to add the <strong>Elasticsearch<\/strong> Java High-Level REST Client , <strong>AWS Lambda Java Core, AWS Java SDK<\/strong> as a dependency. If you&#8217;re using Maven, add the following to your <strong>pom.xml:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group has-silver-blue-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<pre class=\"wp-block-code has-black-color has-text-color has-link-color wp-elements-5f9f78ab95c3213e125ae56cecaa2c94\"><code><strong>&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">dependencies<\/mark>&gt;\n&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">dependency<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">groupId<\/mark>&gt;org.elasticsearch.client&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/groupId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">artifactId<\/mark>&gt;elasticsearch-rest-high-level-client&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/artifactId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">version<\/mark>&gt;7.17.6&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/version<\/mark>&gt; &lt;!-- Use the version compatible with your Elasticsearch cluster --&gt;\n\t&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/dependency<\/mark>&gt;\n&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">dependency<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">groupId<\/mark>&gt;com.amazonaws&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/groupId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">artifactId<\/mark>&gt;aws-lambda-java-core&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/artifactId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">version<\/mark>&gt;1.2.1&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/version<\/mark>&gt;\n\t&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/dependency<\/mark>&gt;\n&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">dependency<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">groupId<\/mark>&gt;com.amazonaws&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/groupId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">artifactId<\/mark>&gt;aws-java-sdk-s3&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/artifactId<\/mark>&gt;\n\t    &lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">version<\/mark>&gt;1.12.400&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/version<\/mark>&gt;\n\t&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/dependency<\/mark>&gt;\n&lt;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">\/dependencies<\/mark>&gt;<\/strong><\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>Make sure to replace the version with the one compatible with your Elasticsearch version.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Create Lambda Function:<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"664\" height=\"233\" src=\"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/image-1.png\" alt=\"\" class=\"wp-image-50\" style=\"width:812px;height:auto\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Configure the Elasticsearch Client:<\/strong><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Step 1: Create ES Client Request as mentioned below.<\/strong>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);font-family: inherit; font-size: inherit;\" class=\"has-inline-color has-purple-color\">import<\/mark><span style=\"background-color: initial; font-family: inherit; font-size: inherit; color: var(--wp--preset--color--text-primary);\"> org.elasticsearch.client.Request;<\/span><code>Request request = <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> Request(\"GET\", \"your_index\/_search\");\nTo get list of indexes use: request = <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> Request(\"GET\",\"_cat\/indices\");<\/code>\n\n<strong>Step 2: Instantiate AWS Signer with necessary parameters,<\/strong> \n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> com.amazonaws.auth.AWS4Signer;\nAWS4Signer signer = <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> AWS4Signer();\nsigner.setServiceName(\"aws.serviceName\");\nsigner.setRegionName(\"aws.region\");\n\n<strong>Step 3: Intercept Request with AWS Credentials<\/strong>\n      <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> org.apache.http.HttpRequestInterceptor;\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> com.amazonaws.auth.AWSStaticCredentialsProvider;\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> com.amazonaws.auth.BasicAWSCredentials;<\/code>\n<code>Http RequestInterceptor interceptor = <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> AWSRequestSigningApacheInterceptor(\"aws.serviceName\",    \nsigner,<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> AWSStaticCredentialsProvider(<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">new<\/mark> BasicAWSCredentials(\"aws.accessKey\",\"aws.secretKey\")));<\/code>\n<strong>Step 4: Create an Elasticsearch client. You can set up the client with connection details,such<\/strong> <strong>as<\/strong> <strong>the Elasticsearch cluster's endpoint and any necessary authentication.<\/strong>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);font-family: inherit; font-size: inherit;\" class=\"has-inline-color has-purple-color\">import<\/mark><span style=\"background-color: initial; font-family: inherit; font-size: inherit; color: var(--wp--preset--color--text-primary);\"> org.apache.http.HttpHost;<\/span><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> org.elasticsearch.client.RestClient;\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> org.elasticsearch.client.RestClientBuilder;<\/code>\n<span style=\"background-color: initial; font-family: inherit; font-size: inherit; color: var(--wp--preset--color--text-primary);\">RestClientBuilder restClientBuilder = RestClient.builder(HttpHost.create(\"aws.es.endPoint\")).setHttpClientConfigCallback(e ->     <\/span>\n<span style=\"background-color: initial; font-family: inherit; font-size: inherit; color: var(--wp--preset--color--text-primary);\">e.addInterceptorLast(interceptor));<\/span>\n    \n<strong>Step 5: Perform Elasticsearch Operations:<\/strong>\n<strong>Once you have the client, you can perform various operations on your Elasticsearch cluster, such as indexing documents, searching, and more.<\/strong>\n    \n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-purple-color\">import<\/mark> org.elasticsearch.client.Response;\nResponse response = restClientBuilder.build().performRequest(request);\n\n<strong>Step 6 : You can upload your Lambda function jar on AWS<\/strong> <\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1344\" height=\"822\" src=\"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog-create-function.png\" alt=\"\" class=\"wp-image-52\"\/><\/figure>\n\n\n\n<p> <strong>Step 7 : Create API endpoint in API gateway for your Lambda function. We can also secure the API endpoint by   configuring APIs with API Key in API Gateway.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"360\" src=\"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog-target-backend-1.png\" alt=\"\" class=\"wp-image-53\" style=\"width:753px;height:auto\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS). It allows&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-java"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.<\/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:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.\" \/>\n<meta property=\"og:description\" content=\"AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS). It allows&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/profile.php?id=61552217825863\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-12T13:19:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-30T08:56:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.200oksolutions.com\/wp-content\/uploads\/2023\/12\/java-blog.png\" \/>\n<meta name=\"author\" content=\"BlogAdmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"BlogAdmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.","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:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/","og_locale":"en_US","og_type":"article","og_title":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.","og_description":"AWS Lambda is a serverless computing service provided by Amazon Web Services (AWS). It allows&hellip;","og_url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/","article_publisher":"https:\/\/www.facebook.com\/profile.php?id=61552217825863","article_published_time":"2023-12-12T13:19:44+00:00","article_modified_time":"2024-07-30T08:56:43+00:00","og_image":[{"url":"https:\/\/blog.200oksolutions.com\/wp-content\/uploads\/2023\/12\/java-blog.png"}],"author":"BlogAdmin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"BlogAdmin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#article","isPartOf":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/"},"author":{"name":"BlogAdmin","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#\/schema\/person\/ea0b72006227b3403f5ad825b82ced43"},"headline":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.","datePublished":"2023-12-12T13:19:44+00:00","dateModified":"2024-07-30T08:56:43+00:00","mainEntityOfPage":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/"},"wordCount":283,"commentCount":0,"publisher":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#primaryimage"},"thumbnailUrl":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog.png","articleSection":["Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/","url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/","name":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA.","isPartOf":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#primaryimage"},"image":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#primaryimage"},"thumbnailUrl":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog.png","datePublished":"2023-12-12T13:19:44+00:00","dateModified":"2024-07-30T08:56:43+00:00","breadcrumb":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#primaryimage","url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog.png","contentUrl":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2023\/12\/java-blog.png","width":976,"height":242,"caption":"java-blog"},{"@type":"BreadcrumbList","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/serverless-lambda-based-rest-apis-to-connect-to-elastic-search-using-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/200oksolutionssandbox.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Serverless Lambda-based REST APIs To Connect to Elastic Search Using JAVA."}]},{"@type":"WebSite","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#website","url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/","name":"","description":"","publisher":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/200oksolutionssandbox.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#organization","name":"Web Development Blog | Software Blog | App Blog","url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2026\/01\/200ok_logo.png","contentUrl":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-content\/uploads\/2026\/01\/200ok_logo.png","width":500,"height":191,"caption":"Web Development Blog | Software Blog | App Blog"},"image":{"@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=61552217825863"]},{"@type":"Person","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#\/schema\/person\/ea0b72006227b3403f5ad825b82ced43","name":"BlogAdmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/200oksolutionssandbox.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/53ecc99d859b4d3444ee1e076f3b5d9da9962836d1c20b3b44d73574f435740d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/53ecc99d859b4d3444ee1e076f3b5d9da9962836d1c20b3b44d73574f435740d?s=96&d=mm&r=g","caption":"BlogAdmin"},"sameAs":["http:\/\/blog.200oksolutions.com"],"url":"https:\/\/200oksolutionssandbox.co.uk\/blog\/author\/blogadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":31,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":164,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/posts\/48\/revisions\/164"}],"wp:attachment":[{"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/200oksolutionssandbox.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}