VSPO Queries

 

The Virtual Space Physics Observatory (VSPO) software registry provides a REpresentational State Transfer (REST) Web service query functionality. The idResolver Query service is the only service currently implemented.

idResolver Service Description

This service provides a SPASE_ID to CDAS Product_ID and vice versa resolution mechanism.

To use the service, a client makes an HTTP GET request to http://vspo.gsfc.nasa.gov/queries/idResolver.xql?query_clause where query_clause is a parameter-name=parameter-value as described below.

Parameter-name Parameter-value Description
spaseid
all or part of a SPASE Resource_ID string
e.g. spaseid=spase://VSPO/NumericalData/P_ACE_HDR
cdasid
all or part of a CDAWeb Product_ID string
e.g. cdasid=AC


The results are returned with the following XML structure:

(1) http://vspo.gsfc.nasa.gov/queries/idResolver.xql?spaseid="some value"

<QueryResult>
    <record>
        <SPASEResource_ID>SPASE Resource_ID to be resolved</SPASEResource_ID>                                   
        <CDASProduct_ID>some CDAS Product_ID</CDASProduct_ID>
    </record>
    ................possibly more records .............
</QueryResult>

(2) http://vspo.gsfc.nasa.gov/queries/idResolver.xql?cdasid="some value"

<QueryResult>
    <record>
        <CDASProduct_ID>CDAS Product_ID to be resolved</CDASProduct_ID>                                   
        <SPASEResource_ID>some SPASE Resource_ID</SPASEResource_ID>
    </record>
    ................possibly more records .............
</QueryResult>

Example 1:

SPASE Resource_IDs
CDAS Product_IDs