Do we have any documentation on usage of REST APIs of Content Server? What will be the base url to access the APIs. What are the requirements and configurations needed to enable this. Thanks
We don't have that yet; please see here:https://developer.opentext.com/awd/forums/questions/4890#r5090
+1 I'd like some examples/usage info also. Thanks.
If you are looking for Content Server APIs, I found this in developers API Reference.
https://developer.opentext.com/webaccess/#url=resources%2Fapis%2Fcontent-server-v1&tab=501
This API reference has information about the URL routing and Operation Lists.
Were anyone able to use Livelink CS 10 REST API ? What is going to be base URL
I still can't connect to Content Server via REST.
I found this: https://developer.opentext.com/webaccess/#url=resources%2Farticles%2F6102%2Fcontent%2Bserver%2Brest%2Bapi%2B%2Bquick%2Bstart%2Bguide&tab=501 Its quite helpful, but doesn't contain an actual URL of a real server, so I can't validate that I'm using the right URL.
But every time I try to auth, I just get this response: Content Server Error: Error dispatching request.
[Required input argument "func" not specified.]
My URL is http://myserver/MY_TEST/cs.exe/api/v1/auth And I'm POSTing with username=xxxx;password=yyyyy in the Body, with Content-Type application/x-www-form-urlencoded
(But even without the body and the content type, I get the same error).
"Required input argument "func" not specified." feels like some misconfiguration. The REST API URL is mapped to the request handler <cgi_url>?func=ll.restapi&apiVersion=1&resource=... internally, but you are supposed to use the alias. Your API base URL is correct; it is <cgi_url>/api/v1 where the CGI URL is your http://myserver/MY_TEST/cs.exe.
<cgi_url>?func=ll.restapi&apiVersion=1&resource=...
<cgi_url>/api/v1
http://myserver/MY_TEST/cs.exe
You may find some help with the authentication by looking at another post here.
Hi Ferdinand, I agree - it was responding as if Update 13 wasn't applied (but it was, and it shows in CS). Thanks for the info on what looks right. I'll check that other thread too.