Changes between Version 31 and Version 32 of RemoteJobs
- Timestamp:
- Feb 15, 2013, 1:07:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RemoteJobs
v31 v32 54 54 * '''command_line''': command-line arguments to the application 55 55 * '''input_files''': an array of input file descriptors, each of which contains 56 * '''mode''': "inline", "local", "semilocal", or "remote". 57 * '''url''': the file's URL (semilocal and remote modes) 56 * '''mode''': "inline", "sandbox", "local", "semilocal", or "remote". 57 * '''source''': the file's URL (semilocal and remote modes), 58 path on this host (inline mode) or name on the BOINC server (local mode). 58 59 * '''size''': the file's size in bytes (remote mode) 59 60 * '''md5''': the file's MD5 (remote mode) 60 * '''path''': the file's path on this host (inline mode) or on the BOINC server (local mode)61 61 62 62 Result: a 2-element array containing … … 71 71 $req->jobs = array(); 72 72 73 $f->source = "http://url_of_input_file"; 73 $f->mode = "local"; 74 $f->source = "filename.dat"; 74 75 $job->input_files = array($f); 75 76 … … 180 181 Result: an error message, null if successful 181 182 182 == HTTP S/XML interface ==183 == HTTP/XML interface == 183 184 184 185 At a lower level, the APIs are accessed by sending a POST request, 185 using HTTP S, to PROJECT_URL/submit.php.186 using HTTP or HTTPS, to PROJECT_URL/submit_rpc_handler.php. 186 187 The inputs and outputs of each function are XML documents. 187 188 The format of the request and reply XML documents