api method to upload rockspec
check_rockspec