summaryrefslogtreecommitdiffstats
path: root/pttpi/doc/spec
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-15 15:30:22 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-15 15:30:22 +0800
commit11795e8a33b288eb61b92c75c498fa2598f42945 (patch)
tree12ea12571ff5d97d41b6dc0f01d403e05ca20208 /pttpi/doc/spec
parentb78e3948144360a41a582d4b56a2c000e7eb44c6 (diff)
downloadpttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar.gz
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar.bz2
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar.lz
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar.xz
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.tar.zst
pttbbs-11795e8a33b288eb61b92c75c498fa2598f42945.zip
no longer maintained
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1595 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttpi/doc/spec')
-rw-r--r--pttpi/doc/spec50
1 files changed, 0 insertions, 50 deletions
diff --git a/pttpi/doc/spec b/pttpi/doc/spec
deleted file mode 100644
index e1460030..00000000
--- a/pttpi/doc/spec
+++ /dev/null
@@ -1,50 +0,0 @@
-board.getBid get bid from board name
-input (s)
- (board name)
-output ({s:i, s:s, s:i})
- {errno => errno,
- brdname => boardname,
- bid => boardid} (bid = -1 if error)
-
-
-board.getBrdInfo
-get board information (by bid)
-input (i)
- (bid)
-output ({s:i,s:s,s:i,s:6,s:6,s:i})
- {errno => errno,
- brdname => boardname
- bid => bid,
- title => title (Base64),
- BM => board manager(s) (Base64),
- nuser => #users in this board,
- }
-
-board.getNarticle
-get # articles in the board
-input (i)
- (bid)
-output ({s:i, s:s, s:i})
- {errno => errno,
- narticle => #articles in the board}
-
-article.list
-get article list of bid
-input (ii)
- (bid, from # article)
-output: ({s:i,s:s,s:i,s:s,s:s,s:6}...)
- [{articleid => article id,
- filename => file name,
- recommend => recommend,
- owner => owner's userid,
- date => date (format: mm/dd),
- title => article title (Base64)},
- {...},...]
-
-article.readfn
-read article by bid and filename
-input (is)
- (bid, filename)
-output ({s:6})
- {content => content}
-