Titanium JIRA Archive
Appcelerator Community (AC)

[AC-976] ACS service is not returning proper count

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-09-29T01:48:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsDocumentation
LabelsACS, search.json, total_pages
ReporterPraveen Kumar
AssigneeShak Hossain
Created2015-01-19T12:43:12.000+0000
Updated2016-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

Comments

  1. Shuo Liang 2015-01-20

    Hi, how many users it should be there in result? Regards, Shuo
  2. Praveen Kumar 2015-01-20

    we have around 22000 registered user on ACS.
  3. Praveen Kumar 2015-01-20

    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
  4. Shuo Liang 2015-01-20

    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
  5. Praveen Kumar 2015-01-20

    Hi Shuo, App Key sent to you. Regards, Praveen
  6. Shuo Liang 2015-01-20

JSON Source