カスタムの「ページパラメータ」で「RKPaginator」を使用するにはどうすればよいですか?私のAPIは「ページ」パラメータを提供しません。ページネーションに次のようなパターンを使用します。
" http://my.domain.com/api/lists/?limit=5&offset=10 "
「オフセット」は次のページのパラメータです。
私のAPIからのJSONリターンは次のようになります。
"meta": {
"next": "/api/lists/?limit=5&offset=15",
"total_count": 22,
"previous": "/api/lists/?limit=5&offset=5",
"limit": 5,
"offset": 10
},
または、このようなリクエストを処理するためにtastypieをカスタマイズする方が簡単でしょうか?" http://my.domain.com/api/lists/?page=1 "どのメソッドをオーバーライドする必要がありますか?
どうもありがとう。