[AC-976] ACS service is not returning proper count
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2015-09-29T01:48:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Documentation |
Labels | ACS, search.json, total_pages |
Reporter | Praveen Kumar |
Assignee | Shak Hossain |
Created | 2015-01-19T12:43:12.000+0000 |
Updated | 2016-03-08T07:37:18.000+0000 |
Description
we are using an ACS service serach.json to get the registered user list, it was returning following json object:
{"meta":{"code":200,"status":"ok","method_name":"searchUsers","page":1,"per_page":500,"total_pages":1,"total_results":500},,"response":{"users":..........}
few days ago we are getting proper count of total_pages in meta information tag, but now its returning "1" (always).
Please check this service and its meta information part and provide correction.
we are hitting the service through dot net code using below steps:
1. Login to ACS using users/login.json service
2. After successfull login we hit search service
Hi, how many users it should be there in result? Regards, Shuo
we have around 22000 registered user on ACS.
1. I hit the service login.json with admin user account. we have more than 22000 registered user on ACS. 2. Old result was like this: {"code":200,"status":"ok","method_name":"searchUsers","page":1,"per_page":500,"total_pages":44,"total_results":500} ,,"response": {"users":..........} difference in result is: Previously we are getting total_pages is around 44, but now we are getting always 1
Hi, Please provide the app-key of your app, for security season, you can email me the key to: sliang@appcelerator.com I will check it from our side. Regards, Shuo
Hi Shuo, App Key sent to you. Regards, Praveen