dataCatalogDEFAULT
data-catalog - search for a data list
This is the default way to obtain a catalog of available data in the OPGC-VO databases.
To download a data use the
dataDownloadDEFAULT [GET rest2/req.php/{os}/data/id/{uri}/{format}] operation
rest2/req.php/{os}
Usage and SDK Samples
curl -X GET "http://opgc.fr/vobs/rest2/req.php/{os}?timestart=&timeend="
Parameters
Name | Description |
---|---|
os* |
String
The os parameter is mandatory and is used to access to the database related to one of the observation service that are included in the OPGC-VO.
Required
|
Name | Description |
---|---|
timestart |
Date
(date-time)
A date-time notation as defined by RFC 3339, section 5.6.
The parameter timeend need to also be defined so the query will search for data related to the time-period between this two dates.
*example*: 2010-05-06T08:00:00Z |
timeend |
Date
(date-time)
A date-time notation as defined by RFC 3339, section 5.6.
The parameter timestart need to also be defined so the query will search for data related to the time-period between this two dates.
*example*: 2015-05-06T08:00:00Z |
Responses
Status: 201 - successful HTTP request, resulting in the creation of a new downloadable resource
{
"id": 0,
"name": "string",
"descr": "string",
"authorization_": 0,
"date_b": "string",
"time_b": "string",
"localization": "string",
"lat": 0,
"lng": 0,
"elevation": 0,
"epsg": 0,
"uri": "string"
}