ECAS REST API

Sample REST URL
http://edrn.jpl.nasa.gov/fmprodp3/data?productID=3abc2ec0-721e-11de-831c-abb3b8e32d26

Parameters
query: productId  format (optional) application/x-zip

Response
HTTP 200 OK     - Raw Data Content if format is not application/x-zip - Zipped Data Content containing product .met XML file, along with raw data content

Sample REST URL
http://edrn.jpl.nasa.gov/fmprodp3/dataset?typeID=urn:edrn:FHCRCHanashAnnexinLamr

Parameters
query: typeID 

Response
HTTP 200 OK     - Zipped Data Content containing product zip files containing their .met XML files, along with raw data content

Sample REST URL
https://edrn.jpl.nasa.gov/fmprodp3/rdf/dataset?filter=LeadPI:Samir%20Hanash&type=ALL

Parameters
query: type  typeID  filter (optional) ''A query in Lucene-style syntax to limit returned RDF to only those datasets that match the filter criteria''

Response
HTTP 200 OK     - MIME: application/x-rdf - RDF description of all matching datasets for filter if        provided, for all datasets, if ALL is used, or as         identified by type and typeID.

Sample
    2011-08-30T03:46:00.000Z   TBD    Arul Chinnaiyan   

Sample REST URL
https://edrn.jpl.nasa.gov/fmprodp3/rdf?id=urn:edrn:WHIColonKarmanosCancerInstituteTainsky&type=WHIColonKarmanosCancerInstituteTainsky

Parameters
query: type <A valid product type name, or ALL to denote all of them> id <A valid product type id; only use this when not using ALL>

Response
HTTP 200 OK     - MIME: application/x-rdf - RDF description of all matching product metadata for all products, if ALL is used, or as identified by type and id.

Sample
<?xml version="1.0" ?> <rdf:RDF xmlns:cas="urn:oodt:" xmlns:edrn="urn:edrn:" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:x="http://edrn.nci.nih.gov/rdf/schema.rdf#"> <edrn:WHIColonKarmanosCancerInstituteTainsky rdf:about="http://edrn.jpl.nasa.gov/fmprodp3//data?productID=.."> <edrn:ProductDescription> TBD </edrn:ProductDescription> <edrn:SpecimenType> Plasma </edrn:SpecimenType> <cas:FileLocation> /data/archive/kci/110901/Colon/Unknown </cas:FileLocation> <cas:CAS.ProductName> EDRN_WHI_Tainsky-rawData.csv </cas:CAS.ProductName> <edrn:DateProductFrozen> TBD </edrn:DateProductFrozen> </edrn:WHIColonKarmanosCancerInstituteTainsky> </rdf:RDF>

Sample REST URL
https://edrn.jpl.nasa.gov/fmprodp3/viewRecent?channel=ALL

Parameters
query: channel <A valid product type name, or ALL to denote all of them> id <A valid product type id; only use this when not using ALL> topn The number, by default 20, of results to show

Response
HTTP 200 OK     - MIME: application/x-rss - RSS description of all matching product metadata and link for all products, if ALL is used, or as identified by type and id.

Sample
<?xml version="1.0" ?> <rss version="2.0" xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas"> ALL http://edrn.jpl.nasa.gov/fmprodp3//rdf/dataset?type=ALL ALL en-us Copyright 2010: Apache Software Foundation <pubDate> Tue, 31 Jan 2012 13:56:27 PST </pubDate> ALL CAS File Manager <lastBuildDate> Tue, 31 Jan 2012 13:56:27 PST </lastBuildDate> 05L54__UTSW Tumor Batch1 Illumina Expression processed UTSW_GeneExpressionAnalyzedData http://edrn.jpl.nasa.gov/fmprodp3//data?productID=... <pubDate> Tue, 06 Sep 2011 20:43:37 PDT </pubDate> <cas:source> UTSW_GeneExpressionAnalyzedData </cas:source>