Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
engine:7.0:api [2014/04/10 16:53]
alamy [GetApplicationStatus - MODIFY version]
engine:7.0:api [2014/04/10 16:54]
alamy [GetTaskStatus | **DEPRECATED**]
Line 884: Line 884:
     "​code":​ 0     "​code":​ 0
   },   },
-  "​synchronous_mode":​ "​True",​ 
   "​application_db_status":​ "​available",​   "​application_db_status":​ "​available",​
   "​main_db_status":​ "​available"​   "​main_db_status":​ "​available"​
Line 990: Line 989:
  
  
-==== GetTaskStatus | **DEPRECATED** ==== 
-This method is only used for //​Asynchronous Applications//​ and his is in the interest of completeness. 
- 
-It returns the progress status of an asynchronous task. 
- 
-  * **Request type :​**''​GET''​ 
-  * **Required Parameters** : 
-    * application_key (string): the unique key of the application to query. 
-    * task_id (integer): id of the task as returned by a //​AddImage//​ or //​DeleteImage//​ API call on an //​Asynchronous Application//​. 
-  * **Response**:​ 
-    * status (object): 
-      * message (string): comprehensive message regarding the status of your query 
-      * code (integer): a specific status code, 0 means success 
-    * task_id (integer): id of the task 
-    * task_status (string): describe the state the task is in e.g "​processed"​ 
-    * task_status_code (integer): denote the exact step the task is in 
-    * task_status_message (string): a more in depth description of the task state 
- 
-\\  
-**JSON response** 
-<sxh jscript; title: Sample result> 
-{ 
-  "​status":​ { 
-    "​message":​ "No error",​ 
-    "​code":​ 0 
-  }, 
-  "​task_status":​ "​processed",​ 
-  "​task_status_code":​ 0, 
-  "​task_id":​ 2, 
-  "​task_status_message":​ ""​ 
-} 
-</​sxh>​