> I am not saying RESTful API will solve everything, but the follow the RESTful > paradigm may help to clean up the APIs. > For example, we have AddHostCmd and CreateStoragePoolCmd, the > verb(Add and Create) may cause confusion. While if using RESTful API, POST > is the well defined verb for this operation. > And RESTful API can represent relationship between resources more > intuitively. GET VM/vm-id/disks/, will list all the disks related to a VM, > instead > of listVolumes?vm-id= > Edison,
These are northbound apis you're talking about. Donal's proposal is for the southbound. I agree 100% on the northbound apis. --Alex