From e33b91aa4d43246ad62832e66e2acfad3dfb3608 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Fri, 04 Nov 2011 22:28:32 -0400
Subject: [PATCH] Support pagination in RSS feeds. Standardize pg as page parameter.

---
 docs/02_rpc.mkd |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/docs/02_rpc.mkd b/docs/02_rpc.mkd
index bb58d68..d1bb1f3 100644
--- a/docs/02_rpc.mkd
+++ b/docs/02_rpc.mkd
@@ -42,6 +42,7 @@
 <tr><td><em>repository</em></td><td><em>required</em></td><td>repository name is part of the url (see examples below)</td></tr>
 <tr><td>h=</td><td><em>optional</em><br/>default: HEAD</td><td>starting branch, ref, or commit id</td></tr>
 <tr><td>l=</td><td><em>optional</em><br/>default: web.syndicationEntries</td><td>maximum return count</td></tr>
+<tr><td>pg=</td><td><em>optional</em><br/>default: 0</td><td>page number for paging<br/>(offset into history = pagenumber*maximum return count)</td></tr>
 <tr><td colspan='3'><b>search query</b></td></tr>
 <tr><td>s=</td><td><em>required</em></td><td>search string</td></tr>
 <tr><td>st=</td><td><em>optional</em><br/>default: COMMIT</td><td>search type</td></tr>
@@ -51,7 +52,7 @@
 
     https://localhost:8443/feed/gitblit.git?l=50&h=refs/heads/master
     https://localhost:8443/feed/gitblit.git?l=50&h=refs/heads/master&s=documentation
-    https://localhost:8443/feed/gitblit.git?l=50&h=refs/heads/master&s=james&st=author
+    https://localhost:8443/feed/gitblit.git?l=50&h=refs/heads/master&s=james&st=author&pg=2
 
 ## JSON Remote Procedure Call (RPC) Interface
 

--
Gitblit v1.9.1