-
Notifications
You must be signed in to change notification settings - Fork 4
/
application.wadl
65 lines (65 loc) · 2.22 KB
/
application.wadl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<resources base="%s">
<resource path="query">
<method href="#queryGET"/>
<method href="#queryPOST"/>
</resource>
<resource path="localconfig">
<method name="GET">
<response>
<representation mediaType="text/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>
<method name="GET" id="queryGET">
<request>
<param name="service" style="query" type="xsd:string" default="dataselect">
<option value="station"/>
<option value="dataselect"/>
<option value="wfcatalog"/>
</param>
<param name="starttime" style="query" type="xsd:dateTime" default="1980-01-01T00:00:00"/>
<param name="endtime" style="query" type="xsd:dateTime" default="%s"/>
<param name="network" style="query" type="xsd:string" default="*"/>
<param name="station" style="query" type="xsd:string" default="*"/>
<param name="location" style="query" type="xsd:string" default="*"/>
<param name="channel" style="query" type="xsd:string" default="*"/>
<param name="format" style="query" type="xsd:string" default="xml">
<option value="xml"/>
<option value="json"/>
<option value="get"/>
<option value="post"/>
</param>
</request>
<response status="200">
<representation mediaType="text/plain"/>
</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="text/plain"/>
</response>
<response status="204 400 401 403 404 413 414 500 503">
<representation mediaType="text/plain"/>
</response>
</method>
</application>