Hello,

Is it possible to register endpoints with URI templates <http://tools.ietf.org/html/rfc6570> in the API Publisher that ships with API Manager version 1.4.0? For example, I would like to register an endpoint such as:

/jobs/{jobid}/pems

After saving an API, I can see this bit in the API config file:

<resource methods="GET" url-mapping="/jobs/{jobid}/pems">

I have tried manually changing the XML file from url-mapping to uri-template, i.e., to:

<resource methods="GET" uri-template="/jobs/{jobid}/pems">

but I still get "No matching resource found in the API for the given request". In any case, this is not a good work around since we need developers to be able to register these endpoints from the publisher application. Whenever changes are saved to an API from within the API Publisher interface, 'uri-template' gets reverted back to 'url-mapping'.

Thanks in advance,
Joe

--
Joe Stubbs
Research Engineering Scientist Associate
Texas Advanced Computing Center
University of Texas, Austin

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to