Skip to main content

WADL

<application xmlns="http://wadl.dev.java.net/2009/02"    \\ 
        xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <grammars></grammars>
    <resources base="http://localhost:8040/services/sam">
        <resource path="/">
            <method name="GET">
                <response>
                    <representation mediaType="text/plain"/>
                </response>
            </method>
            <resource path="event/{id}">
                <param name="id" style="template" type="xs:string"/>
                <method name="GET">
                    <request></request>
                    <response>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="flow/{id}">
                <param name="id" style="template" type="xs:string"/>
                <method name="GET">
                    <request></request>
                    <response>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
            <resource path="list">
                <method name="GET">
                    <request>
                        <param name="offset" style="query"    \\
                               default="0" type="xs:int"/>
                        <param name="limit" style="query"    \\
                               default="10" type="xs:int"/>
                    </request>
                    <response>
                        <representation mediaType="application/json"/>
                    </response>
                </method>
            </resource>
        </resource>
    </resources>
</application>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!