Fetch document title in alfresco api

cancel
Showing results for 
Search instead for 
Did you mean: 
mahesh
Member II

Fetch document title in alfresco api

Hello,

I am trying to fetch documents title in alfresco with api.
i am able to access the properties like- name,modified date... but unable to fetch document title. pls guide

1 Reply
fedorow
Senior Member II

Re: Fetch document title in alfresco api

The cm:title is the node property. GET nodes request return it without any additional parameters. If node does not have title then there is no this property in the API response. The path is ['entry'].['properies'].['cm:title'].

{
  "entry": {
    ...
    "name": "Test.docx",
    "id": "5053cfe3-9f95-4938-8f58-283e03a6ea1f",
    "properties": {
      "cm:title": "test document title",
      ....
    }
  }
}