[seiscomp, scanloc] Install, add .gitignore
This commit is contained in:
139
share/fdsnws/event.wadl
Normal file
139
share/fdsnws/event.wadl
Normal file
@ -0,0 +1,139 @@
|
||||
<?xml version="1.0"?>
|
||||
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="https://www.w3.org/Submission/wadl/wadl.xsd"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://wadl.dev.java.net/2009/02">
|
||||
<resources base="/fdsnws/event/1">
|
||||
<resource path="query">
|
||||
<method name="GET">
|
||||
<request>
|
||||
<param name="starttime" style="query" type="xsd:dateTime"/>
|
||||
<param name="endtime" style="query" type="xsd:dateTime"/>
|
||||
<param name="minlatitude" style="query" type="xsd:float"/>
|
||||
<param name="maxlatitude" style="query" type="xsd:float"/>
|
||||
<param name="minlongitude" style="query" type="xsd:float"/>
|
||||
<param name="maxlongitude" style="query" type="xsd:float"/>
|
||||
<param name="latitude" style="query" type="xsd:float"/>
|
||||
<param name="longitude" style="query" type="xsd:float"/>
|
||||
<param name="minradius" style="query" type="xsd:float"/>
|
||||
<param name="maxradius" style="query" type="xsd:float"/>
|
||||
<param name="mindepth" style="query" type="xsd:float"/>
|
||||
<param name="maxdepth" style="query" type="xsd:float"/>
|
||||
<param name="minmagnitude" style="query" type="xsd:float"/>
|
||||
<param name="maxmagnitude" style="query" type="xsd:float"/>
|
||||
<param name="magnitudetype" style="query" type="xsd:string"/>
|
||||
<param name="eventtype" style="query" type="xsd:string"/>
|
||||
<param name="includeallorigins" style="query" type="xsd:boolean" default="false"/>
|
||||
<param name="includeallmagnitudes" style="query" type="xsd:boolean" default="false"/>
|
||||
<param name="includearrivals" style="query" type="xsd:boolean" default="false"/>
|
||||
<param name="eventid" style="query" repeating="true"/>
|
||||
<param name="limit" style="query" type="xsd:int"/>
|
||||
<param name="offset" style="query" type="xsd:int" default="1">
|
||||
<doc title="definition">
|
||||
The FDSNWS specification uses a weird definition of
|
||||
an offset where the first element is not addressed
|
||||
by 'offset=0' but 'offset=1'. So the implementation
|
||||
will decrement the offset value by one when
|
||||
generating the SQL database query.
|
||||
</doc>
|
||||
</param>
|
||||
<param name="orderby" style="query" type="xsd:string" default="time">
|
||||
<option value="time"/>
|
||||
<option value="time-asc"/>
|
||||
<option value="magnitude"/>
|
||||
<option value="magnitude-asc"/>
|
||||
</param>
|
||||
<param name="contributor" style="query" type="xsd:string"/>
|
||||
<param name="catalog" style="query" type="xsd:string"/>
|
||||
<!-- not implemented -->
|
||||
<!--param name="updateafter" style="query" type="xsd:dateTime"/-->
|
||||
<param name="format" style="query" type="xsd:string" default="xml">
|
||||
<option value="xml" mediaType="application/xml"/>
|
||||
<option value="text" mediaType="text/plain"/>
|
||||
|
||||
<!-- additional, non standard options -->
|
||||
<option value="qml" mediaType="application/xml"/>
|
||||
<option value="qml-rt" mediaType="application/xml"/>
|
||||
<option value="sc3ml" mediaType="application/xml"/>
|
||||
<option value="csv" mediaType="text/plain"/>
|
||||
</param>
|
||||
<param name="nodata" style="query" type="xsd:int" default="204">
|
||||
<option value="204"/>
|
||||
<option value="404"/>
|
||||
</param>
|
||||
|
||||
<!-- additional, non standard parameters, effective only in XML output -->
|
||||
<param name="includepicks" style="query" type="xsd:boolean" default="true">
|
||||
<doc title="definition">
|
||||
Adds pick information to arrivals. Note: Picks will
|
||||
only be available if arrivals are requested.
|
||||
</doc>
|
||||
</param>
|
||||
<param name="includefocalmechanism" style="query" type="xsd:boolean" default="false">
|
||||
<doc title="definition">
|
||||
Adds peferred focal mechanism information including momentensor solution if available.
|
||||
</doc>
|
||||
</param>
|
||||
<param name="includeallfocalmechanisms" style="query" type="xsd:boolean" default="false">
|
||||
<doc title="definition">
|
||||
Adds all focal mechanism information including momentensor solution if available.
|
||||
</doc>
|
||||
</param>
|
||||
<param name="includestationmts" style="query" type="xsd:boolean" default="false">
|
||||
<doc title="definition">
|
||||
Adds all momentensor station contributions.
|
||||
</doc>
|
||||
</param>
|
||||
<!-- includecomments parameter, requires hideComments configuration parameter to be disabled -->
|
||||
<param name="includecomments" style="query" type="xsd:boolean" default="false">
|
||||
<doc title="definition">
|
||||
SeisComP supports comments for most datamodel
|
||||
objects. This parameter controls whether or not
|
||||
comments are included in the output document.
|
||||
</doc>
|
||||
</param>
|
||||
<param name="formatted" style="query" type="xsd:boolean" default="false">
|
||||
<doc>
|
||||
Controls formatted (pretty print) output.
|
||||
</doc>
|
||||
</param>
|
||||
</request>
|
||||
<response status="200">
|
||||
<representation mediaType="application/xml"/>
|
||||
<representation mediaType="text/plain"/>
|
||||
</response>
|
||||
<response status="204 400 401 403 404 413 414 500 503">
|
||||
<representation mediaType="text/plain"/>
|
||||
</response>
|
||||
</method>
|
||||
</resource>
|
||||
<resource path="catalogs">
|
||||
<method name="GET">
|
||||
<response>
|
||||
<representation mediaType="application/xml"/>
|
||||
</response>
|
||||
</method>
|
||||
</resource>
|
||||
<resource path="contributors">
|
||||
<method name="GET">
|
||||
<response>
|
||||
<representation mediaType="application/xml"/>
|
||||
</response>
|
||||
</method>
|
||||
</resource>
|
||||
<resource path="version">
|
||||
<method name="GET">
|
||||
<response>
|
||||
<representation mediaType="text/plain"/>
|
||||
</response>
|
||||
</method>
|
||||
</resource>
|
||||
<resource path="application.wadl">
|
||||
<method name="GET">
|
||||
<response>
|
||||
<representation mediaType="application/xml"/>
|
||||
</response>
|
||||
</method>
|
||||
</resource>
|
||||
</resources>
|
||||
</application>
|
Reference in New Issue
Block a user