<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Community Searchapi definition incomplete? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/community-searchapi-definition-incomplete/m-p/136201#M36591</link>
    <description>&lt;H4&gt;I've installed an Alfresco Community Community&amp;nbsp;-&amp;nbsp;7.3.0 (rb79daf03-blocal)&lt;/H4&gt;&lt;P&gt;I now want to use the API to search and manage Nodes. I therefor created a Rest-Client from the API YAML File.&lt;/P&gt;&lt;P&gt;When I call the Search API I get an Error&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "location" (class com.alfresco.rest.client.search.model.ResultNode), not marked as ignorable (22 known properties: "isLink", "parentId", "isFile", "versionComment", "search", "createdByUser", "name", "allowableOperations", "aspectNames", "properties", "isLocked", "archivedAt", "isFolder", "content", "id", "nodeType", "path", "modifiedByUser", "createdAt", "modifiedAt", "archivedByUser", "versionLabel"])
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 452] (through reference chain: com.alfresco.rest.client.search.model.ResultSetPaging["list"]-&amp;gt;com.alfresco.rest.client.search.model.ResultSetPagingList["entries"]-&amp;gt;java.util.ArrayList[0]-&amp;gt;com.alfresco.rest.client.search.model.ResultSetRowEntry["entry"]-&amp;gt;com.alfresco.rest.client.search.model.ResultNode["location"])&lt;/PRE&gt;&lt;P&gt;a Sample Response looks like this when I check with the API-Explorer&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{
  "list": {
    "pagination": {
      "count": 1,
      "hasMoreItems": false,
      "totalItems": 1,
      "skipCount": 0,
      "maxItems": 100
    },
    "context": {
      "consistency": {
        "lastTxId": 46
      }
    },
    "entries": [
      {
        "entry": {
          "createdAt": "2022-08-05T11:02:22.343+0000",
          "isFolder": true,
          "search": {
            "score": 1
          },
          "isFile": false,
          "createdByUser": {
            "id": "admin",
            "displayName": "Administrator"
          },
          "modifiedAt": "2022-08-05T11:51:18.851+0000",
          "modifiedByUser": {
            "id": "admin",
            "displayName": "Administrator"
          },
          "name": "MyTestNode",
          "location": "nodes",
          "id": "dc437fc4-5c0e-4dcf-8552-05ddd18e6869",
          "nodeType": "test:testNode",
          "parentId": "75b49f46-962c-45a8-91ec-893da460bd8e"
        }
      }
    ]
  }
}&lt;/PRE&gt;&lt;P&gt;However the Model does not have this location Field.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfrescoSearchModel.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1564iACBB321661158ABF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 12:36:54 GMT</pubDate>
    <dc:creator>php</dc:creator>
    <dc:date>2022-08-10T12:36:54Z</dc:date>
    <item>
      <title>Community Searchapi definition incomplete?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/community-searchapi-definition-incomplete/m-p/136201#M36591</link>
      <description>&lt;H4&gt;I've installed an Alfresco Community Community&amp;nbsp;-&amp;nbsp;7.3.0 (rb79daf03-blocal)&lt;/H4&gt;&lt;P&gt;I now want to use the API to search and manage Nodes. I therefor created a Rest-Client from the API YAML File.&lt;/P&gt;&lt;P&gt;When I call the Search API I get an Error&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "location" (class com.alfresco.rest.client.search.model.ResultNode), not marked as ignorable (22 known properties: "isLink", "parentId", "isFile", "versionComment", "search", "createdByUser", "name", "allowableOperations", "aspectNames", "properties", "isLocked", "archivedAt", "isFolder", "content", "id", "nodeType", "path", "modifiedByUser", "createdAt", "modifiedAt", "archivedByUser", "versionLabel"])
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 452] (through reference chain: com.alfresco.rest.client.search.model.ResultSetPaging["list"]-&amp;gt;com.alfresco.rest.client.search.model.ResultSetPagingList["entries"]-&amp;gt;java.util.ArrayList[0]-&amp;gt;com.alfresco.rest.client.search.model.ResultSetRowEntry["entry"]-&amp;gt;com.alfresco.rest.client.search.model.ResultNode["location"])&lt;/PRE&gt;&lt;P&gt;a Sample Response looks like this when I check with the API-Explorer&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;{
  "list": {
    "pagination": {
      "count": 1,
      "hasMoreItems": false,
      "totalItems": 1,
      "skipCount": 0,
      "maxItems": 100
    },
    "context": {
      "consistency": {
        "lastTxId": 46
      }
    },
    "entries": [
      {
        "entry": {
          "createdAt": "2022-08-05T11:02:22.343+0000",
          "isFolder": true,
          "search": {
            "score": 1
          },
          "isFile": false,
          "createdByUser": {
            "id": "admin",
            "displayName": "Administrator"
          },
          "modifiedAt": "2022-08-05T11:51:18.851+0000",
          "modifiedByUser": {
            "id": "admin",
            "displayName": "Administrator"
          },
          "name": "MyTestNode",
          "location": "nodes",
          "id": "dc437fc4-5c0e-4dcf-8552-05ddd18e6869",
          "nodeType": "test:testNode",
          "parentId": "75b49f46-962c-45a8-91ec-893da460bd8e"
        }
      }
    ]
  }
}&lt;/PRE&gt;&lt;P&gt;However the Model does not have this location Field.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfrescoSearchModel.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1564iACBB321661158ABF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:36:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/community-searchapi-definition-incomplete/m-p/136201#M36591</guid>
      <dc:creator>php</dc:creator>
      <dc:date>2022-08-10T12:36:54Z</dc:date>
    </item>
  </channel>
</rss>

