Skip to main content

AtomPub REST Service

The REST service WADL (accessible by default from http://localhost:8040/services/registry/admin?_wadl) is as below:

<application
 xmlns="http://wadl.dev.java.net/2009/02"
 xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <grammars/>
    <resources base="http://localhost:8040/services/registry/admin">
        <resource path="/">
            <doc>Talend Service Registry AtomPub 
                 administration interface</doc>
            <method name="GET">
                <response>
                    <representation mediaType="application/atomsvc+xml"/>
                </response>
            </method>
            <resource path="export">
                <method name="GET">
                    <response>
                        <representation mediaType="application/atom+xml"/>
                    </response>
                </method>
            </resource>
            <resource path="export/policy">
                <param name="policies" style="matrix" repeating="true" 
                       type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/atom+xml"/>
                    </response>
                </method>
            </resource>
            <resource path="export/wsdl">
                <param name="services" style="matrix" repeating="true" 
                       type="xs:string"/>
                <method name="GET">
                    <request>
                        <param name="attachedPolicies" style="query" 
                               default="false"
                            type="xs:boolean"/>
                    </request>
                    <response>
                        <representation mediaType="application/atom+xml"/>
                    </response>
                </method>
            </resource>
            <resource path="import">
                <method name="POST">
                    <request>
                        <representation mediaType="application/atom+xml"/>
                        <param name="override" style="query"  
                               default="false" type="xs:boolean"/>
                    </request>
                    <response status="204"/>
                </method>
            </resource>
            <resource path="import/policy">
                <method name="POST">
                    <request>
                        <representation mediaType="application/atom+xml"/>
                        <param name="override" style="query"  
                               default="false" type="xs:boolean"/>
                    </request>
                    <response status="204"/>
                </method>
            </resource>
            <resource path="import/wsdl">
                <method name="POST">
                    <request>
                        <representation mediaType="application/atom+xml"/>
                        <param name="override" style="query"  
                               default="false" type="xs:boolean"/>
                    </request>
                    <response status="204"/>
                </method>
            </resource>
            <resource path="{type}">
                <param name="type" style="template" type="xs:string">
                    <option value="wsdl"/>
                    <option value="ws-policy"/>
                    <option value="ws-policy-attach"/>
                </param>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/atom+xml"/>
                    </response>
                </method>
                <method name="POST">
                    <request>
                        <representation 
                            mediaType="application/atom+xml;type=entry"/>
                    </request>
                    <response>
                        <representation 
                            mediaType="application/atom+xml;type=entry"/>
                    </response>
                </method>
            </resource>
            <resource path="{type}/{id}">
                <param name="type" style="template" type="xs:string">
                    <option value="wsdl"/>
                    <option value="ws-policy"/>
                    <option value="ws-policy-attach"/>
                </param>
                <param name="id" style="template" type="xs:string"/>
                <method name="DELETE">
                    <request/>
                    <response status="204"/>
                </method>
                <method name="GET">
                    <request/>
                    <response>
                        <representation 
                            mediaType="application/atom+xml;type=entry"/>
                    </response>
                </method>
                <method name="PUT">
                    <request>
                        <representation 
                            mediaType="application/atom+xml;type=entry"/>
                    </request>
                    <response status="204"/>
                </method>
            </resource>
            <resource path="{type}/{id}/check">
                <param name="type" style="template" type="xs:string">
                    <option value="wsdl"/>
                    <option value="ws-policy"/>
                    <option value="ws-policy-attach"/>
                </param>
                <param name="id" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml"/>
                    </response>
                </method>
            </resource>
            <resource path="{type}/{id}/content">
                <param name="type" style="template" type="xs:string">
                    <option value="wsdl"/>
                    <option value="ws-policy"/>
                    <option value="ws-policy-attach"/>
                </param>
                <param name="id" style="template" type="xs:string"/>
                <method name="GET">
                    <request/>
                    <response>
                        <representation mediaType="application/xml"/>
                    </response>
                </method>
                <method name="PUT">
                    <request>
                        <representation mediaType="application/xml"/>
                    </request>
                    <response status="204"/>
                </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!