Symptom
- Do the APIs allow you to pull an array of all documents within a specific folder or group?
- [SAP Jam API] - Can I pull a list of documents from within a specific folder or group using SAP Jam API?
Environment
SAP Jam API
Resolution
There could be multiple ways to do this using the available SAP Jam APIs.
One way could be following :
Use SAP Jam groups API that can return every content item of the group using /Groups('')/ContentItems
See here: https://developer.sapjam.com/ODataDocs/ui#group_group_navigations
With the returned content IDs you can pull details for each content item: https://developer.sapjam.com/ODataDocs/ui#get__contentitems_id_contentitemtype_
Those details include the folder name and ID. With that folder name/ID you can filter for the required documents on your application side.
Please go through the detailed SAP Jam developer documentation for our API documentation to find out more.
https://developer.sapjam.com/ODataDocs/ui
Keywords
[SAP Jam API] - Can I pull a list of documents from within a specific folder or group using SAP Jam API? Array of documents , KBA , LOD-SF-JAM-DEV , Custom Development - API request & Issues , How To