# JS API Changes of the File Management Subsystem The table below lists the APIs changes of the file management subsystem in OpenHarmony 3.2 Beta1 over OpenHarmony 3.1 Release. ## API Changes | Module| Class| Method/Attribute/Enumeration/Constant| Change Type| |---|---|---|---| | ohos.securityLabel | securityLabel | getSecurityLabelSync(path:string): string; | Added| | ohos.securityLabel | securityLabel | getSecurityLabel(path:string, callback: AsyncCallback\): void;
getSecurityLabel(path:string): Promise\; | Added| | ohos.securityLabel | securityLabel | setSecurityLabelSync(path:string, type:dataLevel): void; | Added| | ohos.securityLabel | securityLabel | setSecurityLabel(path:string, type:dataLevel, callback: AsyncCallback\): void;
setSecurityLabel(path:string, type:dataLevel): Promise\; | Added| | ohos.storageStatistics | storageStatistics | getFreeSize(callback: AsyncCallback\): void;
getFreeSize(): Promise\; | Added| | ohos.storageStatistics | storageStatistics | getTotalSize(callback: AsyncCallback\): void;
getTotalSize(): Promise\; | Added| | ohos.storageStatistics | storageStatistics | getUserStorageStats(userId?: number): Promise\;
getUserStorageStats(callback: AsyncCallback\): void;
getUserStorageStats(userId: number, callback: AsyncCallback\): void; | Added| | ohos.storageStatistics | StorageStats | app: number; | Added| | ohos.storageStatistics | StorageStats | file: number; | Added| | ohos.storageStatistics | StorageStats | image: number; | Added| | ohos.storageStatistics | StorageStats | video: number; | Added| | ohos.storageStatistics | StorageStats | audio: number; | Added| | ohos.storageStatistics | StorageStats | total: number; | Added| | ohos.storageStatistics | storageStatistics | getSystemSize(callback: AsyncCallback\): void;
getSystemSize(): Promise\; | Added| | ohos.storageStatistics | storageStatistics | getCurrentBundleStats(callback: AsyncCallback\): void;
getCurrentBundleStats(): Promise\; | Added| | ohos.storageStatistics | storageStatistics | getBundleStats(packageName: string, callback: AsyncCallback\): void;
getBundleStats(packageName: string): Promise\; | Added| | ohos.storageStatistics | BundleStats | dataSize: number; | Added| | ohos.storageStatistics | BundleStats | cacheSize: number; | Added| | ohos.storageStatistics | BundleStats | appSize: number; | Added| | ohos.volumeManager | volumeManager | partition(volId: string, fstype: string, callback: AsyncCallback\): void;
partition(volId: string, fstype: string): Promise\; | Added| | ohos.volumeManager | volumeManager | format(volId: string, callback: AsyncCallback\): void;
format(volId: string): Promise\; | Added| | ohos.volumeManager | volumeManager | setVolumeDescription(uuid: string, description: string, callback: AsyncCallback\): void;
setVolumeDescription(uuid: string, description: string): Promise\; | Added| | ohos.volumeManager | volumeManager | getVolumeById(id: string, callback: AsyncCallback\): void;
getVolumeById(id: string): Promise\; | Added| | ohos.volumeManager | volumeManager | getVolumeByUuid(uuid: string, callback: AsyncCallback\): void;
getVolumeByUuid(uuid: string): Promise\; | Added| | ohos.volumeManager | volumeManager | unmount(volumeId: string, callback: AsyncCallback\): void;
unmount(volumeId: string): Promise\; | Added| | ohos.volumeManager | volumeManager | mount(volumeId: string, callback: AsyncCallback\): void;
mount(volumeId: string): Promise\; | Added| | ohos.volumeManager | volumeManager | getAllVolumes(callback: AsyncCallback\>): void;
getAllVolumes(): Promise\>; | Added| | ohos.volumeManager | Volume | path: string; | Added| | ohos.volumeManager | Volume | state: number; | Added| | ohos.volumeManager | Volume | removable: boolean; | Added| | ohos.volumeManager | Volume | description: string; | Added| | ohos.volumeManager | Volume | uuid: string; | Added| | ohos.volumeManager | Volume | id: string; | Added|