Fetch document title in alfresco api

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 12:34 AM
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
Labels:
- Labels:
-
Alfresco Content Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2023 07:16 AM
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", .... } } }
