return requested purge id when success, and throw error error message when requesting purge media failed
delete controller core_api , convert them into library