~ziad-sawalha/keystone/trunk

« back to all changes in this revision

Viewing changes to echo/echo/echo.wadl

  • Committer: Brian Lamar
  • Date: 2011-05-24 15:36:52 UTC
  • mto: This revision was merged to the branch mainline in revision 103.
  • Revision ID: git-v1:6fdc83234f821a3b893c92ab496e6170818fefd2
-Removed .project file from project and added it to .gitignore
-Moved pylintrc -> .pylintrc, personal preference that this file should be available, but not seen
-Moved echo to examples directory, seemed a bit odd to be in the top level
-Moved management directory to tools, seemed a bit odd to be in the top level
-Moved pip-requires to tools/, and updated the reference to it in README.md

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
 
3
 
<application xmlns="http://wadl.dev.java.net/2009/02"
4
 
             xmlns:echo="http://docs.openstack.org/echo/api/v1.0"
5
 
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6
 
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
 
             xsi:schemaLocation="http://docs.openstack.org/echo/api/v1.0
8
 
                                 xsd/echo.xsd
9
 
                                 ">
10
 
    <grammars>
11
 
        <include href="xsd/echo.xsd"/>
12
 
    </grammars>
13
 
 
14
 
    <resources base="http://localhost:8090">
15
 
        <resource id="root" path="/">
16
 
            <param name="X-Auth-Token" style="header" type="xsd:string" required="true"/>
17
 
            <method href="#get" />
18
 
            <method href="#put" />
19
 
            <method href="#post" />
20
 
            <method href="#delete" />
21
 
            <method href="#head" />
22
 
            <method href="#options" />
23
 
        </resource>
24
 
    </resources>
25
 
 
26
 
    <method name="GET" id="get">
27
 
        <request>
28
 
            <representation mediaType="*/*" />
29
 
        </request>
30
 
        <response status="200">
31
 
            <representation mediaType="application/xml" element="echo:echo"/>
32
 
            <representation mediaType="application/json"/>
33
 
        </response>
34
 
    </method>
35
 
 
36
 
    <method name="PUT" id="put">
37
 
        <request>
38
 
            <representation mediaType="*/*" />
39
 
        </request>
40
 
        <response status="200">
41
 
            <representation mediaType="application/xml" element="echo:echo"/>
42
 
            <representation mediaType="application/json"/>
43
 
        </response>
44
 
    </method>
45
 
 
46
 
    <method name="POST" id="post">
47
 
        <request>
48
 
            <representation mediaType="*/*" />
49
 
        </request>
50
 
        <response status="200">
51
 
            <representation mediaType="application/xml" element="echo:echo"/>
52
 
            <representation mediaType="application/json"/>
53
 
        </response>
54
 
    </method>
55
 
 
56
 
    <method name="DELETE" id="delete">
57
 
        <request>
58
 
            <representation mediaType="*/*" />
59
 
        </request>
60
 
        <response status="200">
61
 
            <representation mediaType="application/xml" element="echo:echo"/>
62
 
            <representation mediaType="application/json"/>
63
 
        </response>
64
 
    </method>
65
 
 
66
 
    <method name="HEAD" id="head">
67
 
        <request>
68
 
            <representation mediaType="*/*" />
69
 
        </request>
70
 
        <response status="200">
71
 
            <representation mediaType="application/xml" element="echo:echo"/>
72
 
            <representation mediaType="application/json"/>
73
 
        </response>
74
 
    </method>
75
 
 
76
 
    <method name="OPTIONS" id="options">
77
 
        <request>
78
 
            <representation mediaType="*/*" />
79
 
        </request>
80
 
        <response status="200">
81
 
            <representation mediaType="application/xml" element="echo:echo"/>
82
 
            <representation mediaType="application/json"/>
83
 
        </response>
84
 
    </method>
85
 
 
86
 
</application>