Endpoint URI: http://sdelanounas.ru/api/
WSDL URI: http://sdelanounas.ru/api/?WSDL
PHP SOAP client download URI: http://sdelanounas.ru/api/?PHPSOAPCLIENT
integer addComment (
string auth_code,
integer post_id,
string text,
integer parent_id
)
Add comment to post.
Return value integer: - Id of new comment or false
integer addUser (
string login,
string email,
string password
)
Add user.
Return value integer: - Id of new user or error code (-10004 - user exists, -10005 - email exists)
string- authUser (
string login,
string pass,
string ip
)
Auth user by login or email
Return value string-: Auth code or error code or false, if user not found
array dislike (
string auth_code,
integer post_id
)
dislike
Return value array: - rate of record or error code (-10001 - empty arguments, 10002 - user not found, 10003 - some error)
array dislikeComment (
string auth_code,
integer comment_id
)
dislike comment
Return value array: - rate of comment or error code (-10001 - empty arguments, 10002 - user not found, 10003 - some error)
bool emailExists ( string email )
Check email exists by login
Return value bool: - TRUE if email exists
array getBestByDate (
integer from,
integer to,
integer blog_id,
string auth_code
)
List of best records by date interval. Max one month
Return value array: - list of best posts
array getBlogs ( )
List of blogs, like there: http://sdelanounas.ru/blogs/public/
Return value array: - List of blogs
array getComments (
integer id,
integer pid,
string auth_code
)
Get comments for selected record
Return value array: - Comments list
array getCommentsAddedByDate (
integer from,
integer to,
integer id,
string auth_code
)
Get added comments by date
Return value array: - Comments list (id and edit date fields)
array getCommentsByDate (
integer id,
integer from,
integer to,
string auth_code
)
Get comments by date
Return value array: - Comments list (id and edit date fields)
array getCommentsEditedByDate (
integer from,
integer to,
integer id,
string auth_code
)
Get edited comments by date
Return value array: - Comments list (id and edit date fields)
array getDeletedByDate (
integer from,
integer to,
integer blog_id
)
List of deleted records by date interval. Max one month
Return value array: - ID list of deleted posts
array getEditedByDate (
integer from,
integer to,
integer blog_id
)
List of edited records by date interval. Max one month
Return value array: - list of edited posts
array getEditedIdsByDate (
integer from,
integer to
)
List IDs of edited records by date interval.
Return value array: - list of edited posts
array getFavorites (
integer count,
integer random,
integer id,
string auth_code
)
Get favorites records
Return value array: - List of posts
array getFeed (
integer blog_id,
integer page,
boolean hide_offtop,
integer count,
string auth_code
)
List of posts, like there: http://sdelanounas.ru/blogs/
Return value array: - Feed of posts
array getFeedByDate (
integer from,
integer to,
integer blog_id,
boolean hide_offtop,
string auth_code
)
Get list of records by date interval. Max one month
Return value array: - List of records
array getFeedIdsByDate (
integer from,
integer to
)
Get list IDs of records by date interval.
Return value array: - List of records
array getInfo ( )
Get getInfo
Return value array: - phpinfo
string getIp ( )
Get IP
Return value string: - Ip
array getPost (
integer id,
string auth_code
)
Get some post by ID
Return value array: - Requested post as list of fields
array getRatingByDate (
integer from,
integer to
)
Get list rates of records by date interval.
Return value array: - List of records
array getUser ( integer id )
Get some user by ID
Return value array: - Requested user as list of fields
array isAuthorised ( string code )
Check authorization
Return value array: - user info or empty array, if user not found
array like (
string auth_code,
integer post_id
)
like
Return value array: - rate of record or error code (-10001 - empty arguments, 10002 - user not found, 10003 - some error)
array likeComment (
string auth_code,
integer comment_id
)
like comment
Return value array: - rate of comment or error code (-10001 - empty arguments, 10002 - user not found, 10003 - some error)
boolean logout ( string login )
Auth user by email
Return value boolean: - return true
bool userExists ( string login )
Check user exists by login
Return value bool: - TRUE if user exists
Powered by PhpWsdl