API Explorer Request body */*

Not sure where to report this, but there seems to be a bug on the web api.
All PUT requests have the request type “application/json”, but the one under /links/{itemName}/{channelGuid} shows “/”:

When trying to test the API, the server returns HTTP 415 and I see this callstack in the log:

2021-03-19 10:42:30.906 [WARN ] [s.impl.WebApplicationExceptionMapper] - javax.ws.rs.WebApplicationException: HTTP 415 Unsupported Media Type
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1382)
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processRequestBodyParameter(JAXRSUtils.java:877)
        at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:822)
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:214)
        at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:78)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
[...]

I am guessing this is a simple oversight and the request type needs to be adjusted…?

Thanks,
Daniel

Found one more URL with request type “/” under /ui/components/{namespace}/{componentUID}:

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.