<?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 Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96772#M28381</link>
    <description>&lt;P&gt;Try this REST API if suits your requirements:&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;STRONG&gt;GET /alfresco/service/api/dictionary&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/service/api/dictionary&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;GET&amp;nbsp;/alfresco/s/api/defclasses&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/s/api/defclasses&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;GET&amp;nbsp;/alfresco/service/api/classes/{&lt;SPAN&gt;className&lt;/SPAN&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/service/api/classes/cm_content (type)
http://127.0.0.1:8080/alfresco/service/api/classes/cm_auditable (aspect)&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;For a specific node:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;DIV class="section refsyn"&gt;&lt;STRONG&gt;&lt;SAMP class="ph codeph"&gt;GET /alfresco/service/api/classes/{classname}/properties?nsp={namespacePrefix?}&amp;amp;n={name?}&lt;/SAMP&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="section refsyn"&gt;&lt;STRONG&gt;&lt;SAMP class="ph codeph"&gt;GET /alfresco/service/api/properties?nsp={namespacePrefix?}&amp;amp;n={name?}&lt;/SAMP&gt;&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;PRE&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/alfresco/service/api/properties?nodeRef=workspace://SpacesStore/1c76d9a6-8d01-4c92-a4b7-a3af9f890170" target="_blank" rel="noopener nofollow noreferrer"&gt;http://127.0.0.1:8080/alfresco/service/api/properties?nodeRef=workspace://SpacesStore/1c76d9a6-8d01-4c92-a4b7-a3af9f890170&lt;/A&gt;&lt;/PRE&gt;


&lt;P&gt;Visit this doc for more details: &lt;A href="https://docs.alfresco.com/5.0/references/RESTful-Dictionary.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.0/references/RESTful-Dictionary.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Aug 2020 12:50:34 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2020-08-12T12:50:34Z</dc:date>
    <item>
      <title>Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96767#M28376</link>
      <description>&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;Is there a way to retrieve a list all the defined properties and aspects from the Alfresco repository?&lt;/P&gt;&lt;P&gt;Appreciate the help in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 11:02:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96767#M28376</guid>
      <dc:creator>OomStephan</dc:creator>
      <dc:date>2020-08-12T11:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96768#M28377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82676"&gt;@OomStephan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;To retrieve aspects, take a look at this &lt;A href="https://docs.alfresco.com/6.2/concepts/dev-api-by-language-alf-rest-list-children-root-folder.html" target="_self" rel="nofollow noopener noreferrer"&gt;API documentation&lt;/A&gt; - although this method will depend on how old your Alfresco instance is. For Alfresco 5,2+ the API call will be something like the following:&lt;/P&gt;
&lt;PRE&gt;'http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?include=aspectNames&amp;amp;skipCount=0&amp;amp;maxItems=100'&lt;/PRE&gt;
&lt;P&gt;For the properties, something like this:&lt;/P&gt;
&lt;PRE&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?include=aspectNames,properties&amp;amp;skipCount=0&amp;amp;maxItems=100' &lt;/PRE&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:18:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96768#M28377</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-08-12T12:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96769#M28378</link>
      <description>&lt;P&gt;Hi Eddie&lt;/P&gt;&lt;P&gt;Thanks for the reply, I am aware of the documentation you linked. However, does this not retrieve the aspects/properties for the specific node?&lt;/P&gt;&lt;P&gt;My use case is that I would like to retrieve all available defined aspects/properties and display them to my user, so that the user can decide what properties he would like to add.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:23:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96769#M28378</guid>
      <dc:creator>OomStephan</dc:creator>
      <dc:date>2020-08-12T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96770#M28379</link>
      <description>&lt;P&gt;Just to add to the above, is there an endpoint that does not require a nodeId as parameter and instead returns all available aspects and/or properties that can be applied to a node, both system and custom aspects?&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:27:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96770#M28379</guid>
      <dc:creator>OomStephan</dc:creator>
      <dc:date>2020-08-12T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96771#M28380</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82676"&gt;@OomStephan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I presume you've looked at &lt;A href="https://docs.alfresco.com/6.2/references/dev-services-node.html" target="_self" rel="nofollow noopener noreferrer"&gt;NodeService&lt;/A&gt;? There is a discussion &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/how-to-get-all-property-using-node-service/td-p/140148" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt; about using it.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:38:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96771#M28380</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-08-12T12:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96772#M28381</link>
      <description>&lt;P&gt;Try this REST API if suits your requirements:&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;STRONG&gt;GET /alfresco/service/api/dictionary&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/service/api/dictionary&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;GET&amp;nbsp;/alfresco/s/api/defclasses&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/s/api/defclasses&lt;/PRE&gt;
&lt;P&gt;&lt;STRONG&gt;GET&amp;nbsp;/alfresco/service/api/classes/{&lt;SPAN&gt;className&lt;/SPAN&gt;}&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;http://127.0.0.1:8080/alfresco/service/api/classes/cm_content (type)
http://127.0.0.1:8080/alfresco/service/api/classes/cm_auditable (aspect)&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;For a specific node:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;DIV class="section refsyn"&gt;&lt;STRONG&gt;&lt;SAMP class="ph codeph"&gt;GET /alfresco/service/api/classes/{classname}/properties?nsp={namespacePrefix?}&amp;amp;n={name?}&lt;/SAMP&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV class="section refsyn"&gt;&lt;STRONG&gt;&lt;SAMP class="ph codeph"&gt;GET /alfresco/service/api/properties?nsp={namespacePrefix?}&amp;amp;n={name?}&lt;/SAMP&gt;&lt;/STRONG&gt;&lt;/DIV&gt;

&lt;PRE&gt;Example:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://127.0.0.1:8080/alfresco/service/api/properties?nodeRef=workspace://SpacesStore/1c76d9a6-8d01-4c92-a4b7-a3af9f890170" target="_blank" rel="noopener nofollow noreferrer"&gt;http://127.0.0.1:8080/alfresco/service/api/properties?nodeRef=workspace://SpacesStore/1c76d9a6-8d01-4c92-a4b7-a3af9f890170&lt;/A&gt;&lt;/PRE&gt;


&lt;P&gt;Visit this doc for more details: &lt;A href="https://docs.alfresco.com/5.0/references/RESTful-Dictionary.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.0/references/RESTful-Dictionary.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 12:50:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96772#M28381</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-08-12T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96773#M28382</link>
      <description>&lt;P&gt;Exactly what I am looking for. Thank you very much!&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 09:12:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96773#M28382</guid>
      <dc:creator>OomStephan</dc:creator>
      <dc:date>2020-08-13T09:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve all aspect and type definitions from Alfresco repository via Rest API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96774#M28383</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82676"&gt;@OomStephan&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Glad that&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;was able to help you out &amp;amp; thanks for accepting his solution - really helpful to other users too.&lt;/P&gt;
&lt;P&gt;Best wishes,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 09:20:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/retrieve-all-aspect-and-type-definitions-from-alfresco/m-p/96774#M28383</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-08-13T09:20:55Z</dc:date>
    </item>
  </channel>
</rss>

