Author: paperwing Date: 2012-05-15 08:24:12 -0700 (Tue, 15 May 2012) New Revision: 29267
Modified: csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/api-notes.txt Log: Updated API notes to reflect recent discussions about being strict with the version number in the install app query, and removed note in the status query about distinction between web store apps and non web store apps Modified: csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/api-notes.txt =================================================================== --- csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/api-notes.txt 2012-05-15 01:43:39 UTC (rev 29266) +++ csplugins/trunk/toronto/yuedong/app_manager/impl/app-impl/api-notes.txt 2012-05-15 15:24:12 UTC (rev 29267) @@ -10,8 +10,7 @@ GET http://127.0.0.1:2608/status?appname=<app_name> Notes: App_name is the app store unique app name. For web-downloaded apps, it will be the same -as the Cytoscape-App-Name entry in the manifest. If no matches were found in web apps, we -will look for matches using only the Cytoscape-App-Name entry. +as the Cytoscape-App-Name entry in the manifest. Response -------- @@ -21,7 +20,8 @@ "status": installed, uninstall-on-restart, uninstalled, or not-found. Not found would mean the app isn't found on the user's computer. "version": The version of the app, as found in the Cytoscape-App-Version manifest entry, -or "not-found" if not available. +or "not-found" if not available. It will also be "not-found" in the case that the app was +not found on the user's computer. } Install an App @@ -36,8 +36,8 @@ -------- The server attempts to query the app from the app store. If no matches were found -for the version, or if the version information was absent, we will try to get the latest -version. +for the version, or if the version information was absent, an error is returned in +the "install_status" field. Upon completion, the server sends the following: -- You received this message because you are subscribed to the Google Groups "cytoscape-cvs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cytoscape-cvs?hl=en.
