Parse platform 如何使用Parse Rest API返回对象总数?
我正在使用Parse Rest API,我想获得对象总数的计数。我尝试在命令行上使用curl命令,传入count=1参数,如下所示:Parse platform 如何使用Parse Rest API返回对象总数?,parse-platform,Parse Platform,我正在使用Parse Rest API,我想获得对象总数的计数。我尝试在命令行上使用curl命令,传入count=1参数,如下所示: curl -X GET -H "X-Parse-Application-Id: <App ID Here>" -H "X-Parse-REST-API-Key: <Rest Key Here>" https://api.parse.com/1/classes/Restaurant --data-urlenco
curl -X GET
-H "X-Parse-Application-Id: <App ID Here>"
-H "X-Parse-REST-API-Key: <Rest Key Here>"
https://api.parse.com/1/classes/Restaurant
--data-urlencode 'count=0'
curl-X GET
-H“X-Parse-Application-Id:”
-H“X-Parse-REST-API-Key:”
https://api.parse.com/1/classes/Restaurant
--数据urlencode“计数=0”
但是我得到了所有的结果。在Parse.com中,我可能需要使用代码并计算客户端代码?如果不想获得所有结果,可以添加限制参数,如下所示:
curl -X GET
-H "X-Parse-Application-Id: <App ID Here>"
-H "X-Parse-REST-API-Key: <Rest Key Here>"
https://api.parse.com/1/classes/Restaurant
--data-urlencode 'count=1'
--data-urlencode 'limit=0'
curl-X GET
-H“X-Parse-Application-Id:如果不想得到所有结果,可以添加限制参数,如下所示:
curl -X GET
-H "X-Parse-Application-Id: <App ID Here>"
-H "X-Parse-REST-API-Key: <Rest Key Here>"
https://api.parse.com/1/classes/Restaurant
--data-urlencode 'count=1'
--data-urlencode 'limit=0'
curl-X GET
-H“X-Parse-Application-Id: