[TASK] select dam records based on their storageBasePath
[TASK] Add rest documentation