Latest File Release

Data Base Scripts (createLog.sql-0.1)2009-05-22 15:46

最近の更新

2009-06-14
2009-06-04
2009-04-16
2009-02-04
2009-01-16
2008-12-05
2008-09-09
2008-09-01
2008-08-28
2008-06-12
2008-05-19
2008-05-13
2008-04-24
2008-04-21
2008-04-17
2008-04-16

編集

Loveapple Communication API

Loveapple Communication API is base on JSON REST API(or XML REST API) XML-RPC protocol, but it's a REST(Representational State Transfer) web service.
And must addition parameter of jsessionid for request every time, except generalAPI.initConnection

example: http://www.loveapple.cn/xmlrpc/api;jsessionid=XXX
example: http://www.loveapple.cn/api/json;jsessionid=XXX


Data Types

API

generalAPI.initConnection

Returns the session-id and token for the fist access in a session.
Parameters

TypeNameRequeid
stringidY
stringpasswordY

Return Values

TypeName
structtoken(string),session-id(string)


member.register

Parameters

TypeNameRequeid
stringnickNameY
stringpasswdY
stringmailY
stringmsnN
stringqqNoN

Return Values

TypeName
structmember


member.getBaseInfo

Parameters

stringtokenY
stringsession-idY

Return Values

TypeName
structmember


member.getProfile

Parameters

stringtokenY
stringsession-idY

Return Values

structprofile


contents.addCategory

Create a new category. Parameters

TypeNameRequeid
stringtokenY
arraysub-list(struct category)N
arraysuper-list(struct category)N
structcategoryY

Return Values

TypeName
stringadded category ID


contents.editCategory

Edit category info. Parameters

TypeNameRequeid
stringtokenY
arraysub-list(struct category)N
arraysuper-list(struct category)N
structcategoryY

Return Values

TypeName
intupdated category counts


contents.findCategory

Find category list. Parameters

TypeNameRequeid
stringtokenY
arraysub-list(struct category)N
arraysuper-list(struct category)N
structcategoryY

Return Values

TypeName
listcategory(struct)


contents.addContents

Create a new category. Parameters

TypeNameRequeid
stringtokenY
arraysuper-list(struct category)N
structcontentsY

Return Values

TypeName
stringadded contents ID


contents.editContents

Edit contents info. Parameters

TypeNameRequeid
stringtokenY
arraysuper-list(struct category)N
structcontentsY

Return Values

TypeName
intupdated contents counts


contents.findContents

Find contents list

TypeNameRequeid
stringtokenY
arraysuper-list(struct category)N
structcontentsY

Return Values

TypeName
listcontents(struct)




Struct/JSON Object

Structs be definition by schema and struct is same to JSON object.
Version: 2008/8/11

Response POJO

TypeName
stringtoken
stringcode
stringmessage
any type

Entity POJO