{"id":4882,"date":"2018-07-17T09:22:25","date_gmt":"2018-07-17T03:52:25","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=4882"},"modified":"2023-01-20T18:55:38","modified_gmt":"2023-01-20T13:25:38","slug":"nearby-api-pre-connection-phase","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/","title":{"rendered":"Nearby API pre-connection phase"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>Nearby Connections API is one of the many APIs available in google play services.<br \/>\nThis framework was introduced in early 2015.<br \/>\nInitially, it allowed only those devices to share data which connected to the same wifi network.<br \/>\nAfter June 2017, in the version 11.0, it also made use of Wifi hotspots, Bluetooth and BLE to provide offline communication support to the devices.<\/p>\n<p>Using this API, devices can advertise themselves, discover nearby devices, send connection request to other devices and share data after the connection is made successfully.<\/p>\n<p>Now, advertising, discovering and sending request for connection comes under one phase called as pre-connection phase.<\/p>\n<p>Once the connection is established successfully, next phase of sharing data (often termed as post-connection phase) is symmetrical i.e. there is no distinction between the advertiser and discoverer.<\/p>\n<p>In this blog, we are going to discuss about the pre-connection phase.<br \/>\nWe&#8217;ll cover post-connection phase in another blog.<\/p>\n<p>Steps of pre-connection phase are :<\/p>\n<p>1. First, advertisers need to advertise themselves.<br \/>\n2. Discoverers then discover the nearby advertisers.<br \/>\n3. Then, discoverers will send connection request to the advertisers.<br \/>\n4. Once the connection request is accepted by both advertiser and discoverer, the connection is established successfully.<\/p>\n<p>In nearby connections, there are two strategies for advertising and discovery.<\/p>\n<p><strong>P2P_CLUSTER<br \/>\n<\/strong>In this strategy, there can be M advertisers and N discoverers (M may or may not be equal to N), where each device can both advertise and discover.<strong><br \/>\n<\/strong><\/p>\n<p><strong>P2P_STAR<\/strong><br \/>\nIn this strategy, there is only one advertiser but discoverers can be more than one.<\/p>\n<p>Depending on your use case, you can opt a particular strategy.<\/p>\n<p>Let&#8217;s now discuss different steps of pre-connection phase in detail..<\/p>\n<p><strong>Advertising and Discovery :<\/strong><\/p>\n<p>The devices have to call startAdvertising() method in order to advertise themselves.<\/p>\n<p>Syntax of startAdvertising() method is :<\/p>\n<pre class=\"\">Nearby.getConnectionsClient(context).startAdvertising(\r\n        userName,\r\n        SERVICE_ID,\r\n        connectionLifecycleCallback,\r\n        new AdvertisingOptions(STRATEGY));<\/pre>\n<p>where,<br \/>\n1st parameter, userName is the name of the advertiser.<br \/>\n2nd parameter, SERVICE_ID is a string which uniquely identifies your app.<br \/>\n3rd parameter, connectionLifecycleCallback is an instance of implementation class of abstract class ConnectionLifecycleCallback.<br \/>\nOne instance of this class you need to pass in requestConnection() method also (on discoverer&#8217;s side).<br \/>\nIn the last parameter, you need to pass the desired startegy, either P2P_STAR or P2P_CLUSTER.<\/p>\n<p>To know more about this method, check this reference :<br \/>\n<a href=\"https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#startAdvertising(java.lang.String,%20java.lang.String,%20com.google.android.gms.nearby.connection.ConnectionLifecycleCallback,%20com.google.android.gms.nearby.connection.AdvertisingOptions)\">https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#startAdvertising(java.lang.String,%20java.lang.String,%20com.google.android.gms.nearby.connection.ConnectionLifecycleCallback,%20com.google.android.gms.nearby.connection.AdvertisingOptions)<\/a><\/p>\n<p>Now, if other devices want to discover this advertiser then they need to call startDiscovery() method.<\/p>\n<p>Syntax of startDiscovery() method is :<\/p>\n<pre class=\"\">Nearby.getConnectionsClient(context).startDiscovery(\r\n        SERVICE_ID,\r\n        endpointDiscoveryCallback,\r\n        new DiscoveryOptions(STRATEGY));<\/pre>\n<p>1st parameter, SERVICE_ID is the same string which uniquely identifies your app.<br \/>\n2nd parameter, endpointDiscoveryCallback is an instance of implementation class of abstract class EndpointDiscoveryCallback.<br \/>\n3rd parameter, the desired startegy, either P2P_STAR or P2P_CLUSTER.<\/p>\n<p>To know more about this method, check this reference :<br \/>\n<a href=\"https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#startDiscovery(java.lang.String,%20com.google.android.gms.nearby.connection.EndpointDiscoveryCallback,%20com.google.android.gms.nearby.connection.DiscoveryOptions)\">https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#startDiscovery(java.lang.String,%20com.google.android.gms.nearby.connection.EndpointDiscoveryCallback,%20com.google.android.gms.nearby.connection.DiscoveryOptions)<\/a><\/p>\n<p><strong>Note :<\/strong> EndpointDiscoveryCallback class has two methods, onEndpointFound() and onEndpointLost().<br \/>\nAs soon as an advertiser is discovered, it&#8217;s unique endpointID is passed as a parameter to onEndpointFound() method.<br \/>\nIf a previously discovered advertiser has been lost, it&#8217;s endpointID is passed as a parameter to onEndpointLost() method.<\/p>\n<p><strong>Request for Connection :<\/strong><\/p>\n<p>Finally, in order the discovererers to send connection request to the advertiser, they need to call requestConnection() method.<\/p>\n<p>Syntax of requestConnection() method is :<\/p>\n<pre class=\"\">Nearby.getConnectionsClient(context).requestConnection(\r\n userName,\r\n endpointId,\r\n connectionLifecycleCallback);<\/pre>\n<p>Here, userName and endpointId are the ones which you received in onEndpointFound() method.<br \/>\nconnectionLifecycleCallback is the instance of implementation class of abstract class ConnectionLifecycleCallback like you passed in startAdvertising() method.<\/p>\n<p>To know more about this method, check this reference :<br \/>\n<a href=\"https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#requestConnection(java.lang.String,%20java.lang.String,%20com.google.android.gms.nearby.connection.ConnectionLifecycleCallback)\">https:\/\/developers.google.com\/android\/reference\/com\/google\/android\/gms\/nearby\/connection\/ConnectionsClient#requestConnection(java.lang.String,%20java.lang.String,%20com.google.android.gms.nearby.connection.ConnectionLifecycleCallback)<\/a><\/p>\n<p><strong>Note :<\/strong> ConnectionLifecycleCallback class has two methods onConnectionInitiated() and onConnectionResult().<br \/>\nIf the connection request from discoverer results in success, then onConnectionInitiated() method is called on both advertiser and discoverer sides.<br \/>\nHere, both can either accept or reject the connection.<br \/>\nAnd the result of connection (either accepted or rejected) is passed in onConnectionResult() method.<\/p>\n<p>After the connection is made successfully, post-connection phase (i.e. sharing of data) starts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Nearby Connections API is one of the many APIs available in google play services. This framework was introduced in early 2015. Initially, it allowed only those devices to share data which connected to the same wifi network. After June 2017, in the version 11.0, it also made use of Wifi hotspots, Bluetooth and BLE [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4895,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-4882","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Nearby API pre-connection phase - InnovationM - Blog<\/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:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Nearby API pre-connection phase - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"&nbsp; Nearby Connections API is one of the many APIs available in google play services. This framework was introduced in early 2015. Initially, it allowed only those devices to share data which connected to the same wifi network. After June 2017, in the version 11.0, it also made use of Wifi hotspots, Bluetooth and BLE [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-17T03:52:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:25:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"633\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"Nearby API pre-connection phase\",\"datePublished\":\"2018-07-17T03:52:25+00:00\",\"dateModified\":\"2023-01-20T13:25:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/\"},\"wordCount\":717,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Nearby-pre-connection-phase.jpg\",\"articleSection\":[\"Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/\",\"name\":\"Nearby API pre-connection phase - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Nearby-pre-connection-phase.jpg\",\"datePublished\":\"2018-07-17T03:52:25+00:00\",\"dateModified\":\"2023-01-20T13:25:38+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Nearby-pre-connection-phase.jpg\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/07\\\/Nearby-pre-connection-phase.jpg\",\"width\":1140,\"height\":633},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/nearby-api-pre-connection-phase\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Nearby API pre-connection phase\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Nearby API pre-connection phase - InnovationM - Blog","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:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/","og_locale":"en_US","og_type":"article","og_title":"Nearby API pre-connection phase - InnovationM - Blog","og_description":"&nbsp; Nearby Connections API is one of the many APIs available in google play services. This framework was introduced in early 2015. Initially, it allowed only those devices to share data which connected to the same wifi network. After June 2017, in the version 11.0, it also made use of Wifi hotspots, Bluetooth and BLE [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/","og_site_name":"InnovationM - Blog","article_published_time":"2018-07-17T03:52:25+00:00","article_modified_time":"2023-01-20T13:25:38+00:00","og_image":[{"width":1140,"height":633,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg","type":"image\/jpeg"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"Nearby API pre-connection phase","datePublished":"2018-07-17T03:52:25+00:00","dateModified":"2023-01-20T13:25:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/"},"wordCount":717,"commentCount":0,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg","articleSection":["Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/","url":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/","name":"Nearby API pre-connection phase - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg","datePublished":"2018-07-17T03:52:25+00:00","dateModified":"2023-01-20T13:25:38+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/07\/Nearby-pre-connection-phase.jpg","width":1140,"height":633},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/nearby-api-pre-connection-phase\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Nearby API pre-connection phase"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/4882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=4882"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/4882\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/4895"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=4882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=4882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=4882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}