Why task list api response is giving only 10 records?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2018 07:01 AM
Hi All,
I am using the following api to list the tasks. Called the api through rest template.
In response body I am getting only 10 records even though the tasks are more than 10, means total is 20 but size it is rendering only 10.
Is there any way to increase the default size of the api? If yes where can I change and what is the way?
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 04:20 AM
Add the 'size' in the json body as following:
{"taskCompletedAfter":"2018-06-16","size":20,"start":0}
Thanks
Kintu
Kintu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 06:32 AM
Hi Kintu,
Thanks for the reply, I had given size and start also in my request body to the api then too it is giving 10 records only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 06:54 AM
Hi Anita,
I have just tested it by manually passing the same JSON body in POST request using Postman.
It gives me the correct result.
You should check the browser console.
Kintu
Kintu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-05-2018 07:15 AM
Hi Kintu,
I guess u have logged in as admin@app.activiti.com user, Please check by logging in as any user.
Regards
Anita Patil
