-
Modifying Folder Level Custom Permissions
Hi, I am modifying the custom permissions through API for a folder and Sub items. While testing an API through Postman (PUT api/v2/nodes/{id}/permissions/custom/{right_id} - Update a custom permission), should I pass the "permissions" list as comma separated text values (e.g. - 'see', 'modify','delete' ) or integer values…
-
Swagger documentation for Content Server 10
Hi, Can someone tell me where I can see the Swagger generated documentation for Content Server (or how I go about generating it). I'd hoped that by simply defining the url for content server with the api/v1 appended I would be able to see it, but alas not so. (BTW when I do call /api/v1 I get a JSON error of…
-
OTCS REST API - Define Document Mime Type?
Hi, is is possible to define a MIME type for a document when using the REST API? We are using Content Server version 16.2.3. The reason for the question is that when we add an Office document to Content Server using the REST API, the MIME type is showing the correct value. However, we are unable to edit the document. When…
-
Creating Node Timeouts & Performance
Hi, I'm currently uploading documents through the API using the create node endpoint. Every so often when documents are being creating, the API call will take upwards of 300+ seconds, DTU consumption % will shoot up 10% and then the document will either fail or be created and move on. What's interesting is if i run…
-
Update RM-Records Detail of Sub Items in Content Server through REST API
Hello Developers, We are trying to update the RM Record Detail of a folder and its sub items by executing OpenText REST API directly through Postman for both options (PUT, POST) - PUT /nodes/{id}/rmclassifications and POST /nodes/{id}/rmclassifications. We are unable to update the sub-items with both API executions. The…
-
OTCS REST API - Document Uplaod is giving 500 Internal Server error
Hi I am using the below code for upload a document in content server using restapi.I am getting 500 Internal Sever error while uplaoding. iurl5 = new URL(ConstantValues.baseUrl+"/api/v1/nodes/"); HttpURLConnection uc5 = (HttpURLConnection)iurl5.openConnection(); uc5.setRequestMethod("POST");…
-
API - Return subset of results.
Im using the POST api/v2/search api for 16.2. I only want the ID values for each returned result; "results": [ { "data": { "properties": { "id": 1897009, and not the following entire resultset; "results": [ { "data": { "properties": { "container": true, "container_size": 0, "create_date": "2016-09-15T16:37:07",…
-
API REST /v2/members, filter by title.
Until now I have used the v2 call of members to the API filtering by where_type=0 and query for the name, but I also need to filter by title but I can't do it. What would it be like? I have this: var url = baseURL+'/api/v2/members?where_type=0&query="+name+""'; // It´s OK I need something like this: var url =…
-
Content Server Rest API-Authenticate User
Hi, Currently i am using CS 16.2.4/16.2.6 for Decisiv search integration The Authenticate user Rest API call with POST is accepting the following form username=value&password=value (200 OK ,Returned OTCS ticket) But if i use the below form username=value;password=value (500 internal server error, "error": "Argument…
-
Creation Table Key Lookup Attribute
How to create Table Key Lookup attribute pragmatically?