How to get all version of files stored in a folder together with their size?

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

How to get all version of files stored in a folder together with their size?

i want to get all version history of all the files together store in a folder with their size.is there any way ?

3 Replies
angelborroy
Alfresco Employee

Re: How to get all version of files stored in a folder together with their size?

You could use the REST API:

GET ​/nodes​/{nodeId}​/versions - List version history
GET ​/nodes​/{nodeId}​/versions​/{versionId} - Get version information

 

Hyland Developer Evangelist
Abhishek43
Member II

Re: How to get all version of files stored in a folder together with their size?

but this is for particualr file i want that i can run it on a folder and get version of all files together which are in the that folder.

angelborroy
Alfresco Employee

Re: How to get all version of files stored in a folder together with their size?

You could use the REST API:

GET ​/nodes​/{nodeId}​/children - List node children
GET ​/nodes​/{nodeId}​/versions - List version history
GET ​/nodes​/{nodeId}​/versions​/{versionId} - Get version information

Hyland Developer Evangelist