I have deployed Dctm-Rest core services on tcserver and able to access it using URL like http://****.****.com:8090/dctm-rest/services.json
similar how can i access any deployed xCP project REST services?
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
You'll need to reference xCP 2.1 REST dev guide, https://support.emc.com/docu52500_Documentum-xCP-REST-Services-2.1-Development-Guide.pdf?language=en_US
The home document for xCP REST is with URL path "/service". For example, I deployed an xCP App "acme-app" in my TC server, then I can access the home document resource as: http://<TC Server>:<PORT>/acme-app/service. Don't forget to specify the "Authorization" header and "Accept" header for the request. xCP REST does not support URL format extension ".xml" or ".json".
Regards,
William
Hi
can you please explain what do you mean by any deployed xCP project REST Services?
if you mean by that how to expose XCP object model & ressources you may have a look on the links bellow
https://community.emc.com/docs/DOC-21426
https://community.emc.com/docs/DOC-21429
https://community.emc.com/docs/DOC-21477
please note that the links are related to xCP2.0 release i didnt test it with 2.1 but since object definition is the same i think it will work fine
Hope this helps
Otman
Thanks William.
But when i tried to access http://****.****.com:8090/myapp/services.json, getting error as
There was an error parsing the JSON document. The document may not be well-formed.
Please suggest.
You missed two notes in my previous reply.
I have download REST plugin and added authorization in the header and got the responses as expected.