[Iplant-api-dev] Job management APIs

Duvick, Jonathan P [GDCBS] jduvick at iastate.edu
Tue Mar 3 15:00:39 MST 2015


I can return file listings associated with a Lonestar job in progress using the '/outputs/listings/' API, e.g.


{"status":"success","message":null,"version":"2.1.0-r6d11c","result":[{"name":".agave.archive","path":"/.agave.archive","lastModified":"2015-03-03T13:42:38.000-06:00","length":7454,"permission":"NONE","mimeType":"application/octet-stream","format":"unknown","type":"file","_links":..... etc. etc.


but when I parse out ... '_links' :{'self':{ 'href': ...  for a single file and attempt to retrieve it with a second Curl command via '/ouputs/media/', I get this error:


Data: { "status" : "success", "message" : null, "version" : "2.1.0-r6d11c", "result" : { } }ERROR: resolveRodsTarget: srcPath /iplant/home/shabari/GDB007gdna.fa does not exist ERROR: getUtil: resolveRodsTarget status = -317000 USER_INPUT_PATH_ERR ERROR: resolveRodsTarget: srcPath /iplant/home/shabari/GDB007prot.fa does not exist ERROR: getUtil: resolveRodsTarget status = -317000 USER_INPUT_PATH_ERR ERROR: resolveRodsTarget: srcPath /iplant/home/shabari/gth.lic does not exist ERROR: getUtil: resolveRodsTarget status = -317000 USER_INPUT_PATH_ERR Warning: Permanently added 'c333-314.ls4.tacc.utexas.edu' (RSA) to the list of known hosts.


Here is the submitted href URL, attempting to retrieve an error file:


https://agave.iplantc.org/jobs/v2/0001425403186554-5056a550b8-0001-007/outputs/media/gth-gdb007-capsella-gth-test-0001425403186554-5056a550b8-0001-007.err


I'm referencing this documentation: http://preview.agaveapi.co/documentation/live-docs/#!/jobs/downloadOutput_get_14

Live Documentation - The Agave Platform
Science-as-a-Service API platform created by scientists exclusively for scientists
Read more...<http://preview.agaveapi.co/documentation/live-docs/#!/jobs/downloadOutput_get_14>



Jon Duvick
PlantGDB Manager
http://www.plantgdb.org/
Department of Genetics, Development and Cell Biology
2258 Molecular Biology Building
Iowa State University
Ames IA 50011

(515) 294-2360
(515) 294-6755 FAX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iplantcollaborative.org/pipermail/iplant-api-dev/attachments/20150303/1c744535/attachment.html 


More information about the Iplant-api-dev mailing list