<?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/dataselect/1">
		<resource path="query">
			<method href="#queryGET"/>
			<method href="#queryPOST"/>
		</resource>
		<resource path="queryauth">
			<method href="#queryGET"/>
			<method href="#queryPOST"/>
		</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>
	<method name="GET" id="queryGET">
		<request>
			<param name="starttime" style="query" type="xsd:dateTime"/>
			<param name="endtime" style="query" type="xsd:dateTime"/>
			<param name="network" style="query" type="xsd:string"/>
			<param name="station" style="query" type="xsd:string"/>
			<param name="location" style="query" type="xsd:string"/>
			<param name="channel" style="query" type="xsd:string"/>
			<param name="quality" style="query" default="B">
				<option value="B"/>
				<option value="M"/>
			</param>
			<param name="format" style="query" type="xsd:string" default="miniseed">
				<option value="miniseed"/>
			</param>
			<param name="nodata" style="query" type="xsd:int" default="204">
				<option value="204"/>
				<option value="404"/>
			</param>
		</request>
		<response status="200">
			<representation mediaType="application/vnd.fdsn.mseed"/>
		</response>
		<response status="204 400 401 403 404 413 414 500 503">
			<representation mediaType="text/plain"/>
		</response>
	</method>
	<method name="POST" id="queryPOST">
		<response status="200">
			<representation mediaType="application/vnd.fdsn.mseed"/>
		</response>
		<response status="204 400 401 403 404 413 414 500 503">
			<representation mediaType="text/plain"/>
		</response>
	</method>
</application>
