DCTM REST API - Entries limited by 1000

Hello Folks,

Im programming a aplication and im trying to get a resulst larger than 1000 entries. Is that possible?
Even using through URL params, could not retrieve, like the example above:

**
http://localhost:8080/dctm-rest/repositories/REPO?dql=select r_object_id,object_name,r_object_type,thumbnail_url from dm_sysobject&items-per-page=2000**

The result limited by pagination:
**
{
"id": "http://localhost:8080/dctm-rest/repositories/REPO",
"title": "DQL query results",
"author": [
{
"name": "EMC Documentum"
}
],
"updated": "2019-02-20T12:41:50.979+00:00",
"page": 1,
"items-per-page": 1000,
"links": [
{
"rel": "self",
"href": "http://localhost:8080/dctm-rest/repositories/REPO?dql=select r_object_id,object_name,r_object_type,thumbnail_url from dm_sysobject&items-per-page=2000&page=1"
},
{
"rel": "next",
"href": "http://localhost:8080/dctm-rest/repositories/REPO?dql=select r_object_id,object_name,r_object_type,thumbnail_url from dm_sysobject&items-per-page=1000&page=2"
},
{
"rel": "first",
"href": "http://localhost:8080/dctm-rest/repositories/REPO?dql=select r_object_id,object_name,r_object_type,thumbnail_url from dm_sysobject&items-per-page=1000&page=1"
}
],
"entries": [
{....**

Comments

  • Increase the parameter rest.paging.max.size in file rest-api-runtime.properties.

    Hicham Bahi
    Consulting Services
    OpenText

Sign In or Register to comment.