Skip to main content

Hi All,

 

I have several smartobjects on my K2 server, but want to expose only the ones in a specific category and no others (so I cannot set excluded all="false").

I've configured my managedendpoints in the following way:

<smoServices enableEndpoints="true" enableEvents="true" enableCrossDomainPolicy="false" specialCharacterReplacement="_" scheme="https" server="k2dev.mycompany.com" port="8443" serviceRoot="SmartObjectServices">

<wcf binding="wsHttpBinding" bindingConfiguration="wsHttpBinding+HTTPS" />
<rest binding="webHttpBinding" bindingConfiguration="webHttpBinding+Windows+HTTPS" />

<managedEndpoints>
<excluded all="true" />
<static>
<endpoints>
<endpoint categoryPath="MyCategory/Data">
</endpoint>
</endpoints>
</static>
</managedEndpoints>

 

However, this configuration only exposes the smartobjects as WCF endpoints.

I want to enable REST for these smartobjects.

The documentation does not indicate how I do that, does anyone know what the configuration should be to have these smartobjects exposed as REST endpoints?

 

Thank you in advance!

Hi Johan,


 


I have been researching for a while regarding your query. After a some lengthy research, i think i might have found how to enable the REST endpoints. Please have a look at the document attached. 


 


Let me know if this helps.


 


Kind Regards,


 


Yannick


Reply