Hi,
I'm looking at the Content Server REST API as a quick and dirty way to add additional functionality to a Content Server page, perhaps served through an Appearance or a CustomView page. To make this work, I need to ask a couple of questions about the API's capabilities (this is for CS REST API V1, not AppWorks Gateway V2):
- How might I share authentication information between the Content Server UI (I've already logged into http://myserver/CS105/cs.exe and am browsing the Enterprise Volume)? If I access any part of the CS REST API while already authenticated, I am still asked to authenticate. I understand that there may be risks associated with doing this, and this is something that I'd likely only do behind a corporate firewall.
- Can someone post an example of how exactly the authentication API works? For instance http://myserver/OTCS105/cs.exe/api/v1/auth will respond with the message username is required. How are username and password passed on the URL? OR is this only done in a POST request?
- Can someone post an example of how to use the UI Widgets that come bundled with version U13 and up of Content Server 10.0? I would like to start playing around with these.
Thanks in advance
-Hugh