How to design a REStful API for a media analysis engine
问题 I am new to Restful concept and have to design a simple API for a media analysis service I need to set up, to perform various tasks, e.g. face analysis, region detection, etc. on uploaded images and video. Outline of my initial design is as follows: Client POSTs a configuration XML file to http://manalysis.com/facerecognition . This creates a profile that can be used for multiple analysis sessions. Response XML includes a ProfileID to refer to this profile. Clients can skip this step to use