Last 7 days, UTC

Average Latency
2851ms

Average Uptime
100.0%

Current Status
Online

  • No information
  • Outage
  • Disruption
  • Normal
Average latency determined from Mashape to API Response time

上行接口

						{
  "code": 0,
  "data": [],
  "msg": "正在等待对方验证中",
  "action": "waiting_for_the_other_test"
}						
addfriend - 单向请求加家人

单向请求加家人


Test console
Description
Parameter
string

请求加为好友的用户id
Example: 1

uid

Required

string

好友组id号,0全站,1家人,2其他
Example: 1

gid

Required

string

请求消息
Example: who's you daddy?

note

Required

string

由登陆或注册成功后返回的用户验证
Example: a21eehDUQRKkhLmKvitcItPA4eMhS0pLP1gPdbqzi60kxlmA0AAXdDQzpRmEpoYdFayrs446iBku2Kp07dwJ

m_auth

Required

string

Example: friend

ac

Required

string

Example: add

op

Required

string

Example: true

addsubmit

Required

						{
  "code": 0,
  "data": [
    "Familyday"
  ],
  "msg": "您和 \\1 成为家人了",
  "action": "friends_add"
}						
addfrined2 - 通过家人请求

通过家人请求


Test console
Description
Parameter
string

发送家人请求的用户id
Example: 1

uid

Required

string

好友组,0代表全站,1代表家人,2代表其它
Example: 1

gid

Required

string

由登陆或注册成功后返回的用户验证
Example: a854o7Qglz9p5vw%2FZB0gZ%2B6xcCOHFu6MMSpasQDCRu6WSJrZKW6D6uoX5I4Vc067sxEJJLyYCdhFKNNmuIjV

m_auth

Required

string

Example: friend

ac

Required

string

Example: add

op

Required

string

Example: true

add2submit

Required

HTTP 200 : avatar - 更改头像 Model POST/cp.php
更改头像
						{
  "code": 0,
  "data": {
    "url": {
      "big": "http://vm-192-168-19-50.shengyun.grandcloud.cn:8088/center/images/noavatar_big.gif",
      "middle": "http://vm-192-168-19-50.shengyun.grandcloud.cn:8088/center/images/noavatar_middle.gif",
      "small": "http://vm-192-168-19-50.shengyun.grandcloud.cn:8088/center/images/noavatar_small.gif"
    },
    "msg": null,
    "reward": {
      "credit": 0,
      "experience": 0
    },
    "dateline": "1347721294"
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
avatar - 更改头像

更改头像


Test console
Description
Parameter
binary

头像

Filedata

Required

string

由登陆或注册成功后返回的用户验证
Example: a21eehDUQRKkhLmKvitcItPA4eMhS0pLP1gPdbqzi60kxlmA0AAXdDQzpRmEpoYdFayrs446iBku2Kp07dwJ

m_auth

Required

string

Example: avatar

ac

Required

string

Example: true

avatarsubmit

Required

HTTP 200 : changename - 更改昵称 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "credit": 0,
    "experience": 0
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
changename - 更改昵称

更改昵称


Test console
Description
Parameter
string

用户名
Example: summit

name

Required

string

由登陆或注册成功后返回的用户验证
Example: 9b1dDGEdJprXS%2F7dak0ckDGhFQ4yqWNAUmQ7CaSPQCHv%2FPbSOjDmOOrGpeE4e6C%2Fp6ZNrd7fQ%2F4AQNR9qHnE

m_auth

Required

string

Example: profile

ac

Required

string

Example: name

op

Required

HTTP 200 : comment -撰写评论 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "reward": {
      "credit": 1,
      "experience": 1
    }
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
comment -撰写评论

撰写评论


Test console
Description
Parameter
string

由登陆或注册成功后返回的用户验证
Example: a327xf7KAoBhYPrA%2FNx3UY1%2FybOvCmvOtiIVF%2FJMQrDejDepaHfXbJCy71ekkdl1s1zQ6YBvnlFguuSoGm4R

m_auth

Required

string

取值范围:photoid代表评论图片,blogid代表评论日记
Example: photoid

idtype

Required

string

评论文章的id号
Example: 261

id

Required

string

评论内容
Example: 你的孩子真听话

message

Required

string

Example: comment

ac

Required

string

Example: true

commentsubmit

Required

HTTP 200 : doing - 编写心情 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "credit": 3,
    "experience": 3
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
doing - 编写心情

编写心情


Test console
Description
Parameter
string

心情内容
Example: Family真好用

message

Required

string

由登陆或注册成功后返回的用户验证
Example: 9b1dDGEdJprXS%2F7dak0ckDGhFQ4yqWNAUmQ7CaSPQCHv%2FPbSOjDmOOrGpeE4e6C%2Fp6ZNrd7fQ%2F4AQNR9qHnE

m_auth

Required

string

Example: doing

ac

Required

string

Example: true

addsubmit

Required

string

Example: true

spacenote

Required

HTTP 200 : getseccode-获取验证码 Model GET/do.php
						{
  "code": 0,
  "data": {
    "seccode_auth": "ca0dVjBrjEagMNKWDgP7zL4KoWzHR5PN1vkzY1Ch%2FQAu",
    "seccode": "C8Q9"
  },
  "msg": "succeed",
  "action": "succeed"
}						
getseccode-获取验证码

获取验证码


Test console
Description
Parameter
string

操作类型
Example: getseccode

op

Required

string

注册的手机号
Example: 13751341408

mobile

Required

string

Example: register

ac

Required

HTTP 200 : uploadphoto - 上传图片 Model GET/do.php
上传图片 Model
						{
  "code": 0,
  "data": {
    "pic": {
      "albumid": 399,
      "uid": 5,
      "username": "13751341409",
      "dateline": "1347689661",
      "filename": "bee.jpg",
      "postip": "127.0.0.1",
      "title": "",
      "type": "image/jpeg",
      "size": 10714,
      "filepath": "5_13476896614Gg3.jpg",
      "thumb": null,
      "width": null,
      "height": null,
      "remote": 1,
      "topicid": 0,
      "picid": 2302,
      "pic": "http://file-pic.b0.upaiyun.com/5_13476896614Gg3.jpg"
    }
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
login-登陆

用户登陆


Test console
Description
Parameter
string

用户名
Example: 13751341408

username

Required

string

用户密码
Example: abc12345

password

Required

string

Example: login

ac

Required

string

Example: true

loginsubmit

Required

HTTP 200 : logout - 退出 Model GET/cp.php
						{
  "code": 0,
  "data": [],
  "msg": "你已经安全退出了",
  "action": "security_exit"
}						
logout - 退出

退出


Test console
Description
Parameter
string

身份验证
Example: 6be4hFZ3swnYGfxoRPAahagQuFa%2FtWN1FviFhml%2BJ100Y88UW7ik63yXu8JVSXWHGlkRvOwjHRK%2Bt7Khl0mb

m_auth

Required

string

Example: common

ac

Required

string

Example: logout

op

Required

HTTP 200 : publishblog - 发布日记 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "subject": "孩子",
    "classid": null,
    "friend": 1,
    "friends": {
      "1": "familyday"
    },
    "address": "",
    "password": null,
    "noreply": 0,
    "picflag": 0,
    "pic": "http://file-pic.b0.upaiyun.com/201209/14/5_1347627953S3SS.jpg",
    "cityid": "4",
    "lat": "23.1289942815",
    "lng": "113.2868957520",
    "topicid": 0,
    "checked": 0,
    "uid": 5,
    "username": "13751341409",
    "dateline": "1347692089",
    "blogid": 6,
    "credit": 0,
    "experience": 0
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
publishblog - 发布日记

发布日记


Test console
Description
Parameter
string

1代表产生动态,0代表不产生动态
Example: 1

makefeed

Required

string

隐私,0代表全站可见,1代表家人可见,2代表自己可见
Example: 1

friend

Required

string

标签
Example: 孩子相册

tags

Required

string

主题,这里是必须的。注意与发布图片区分
Example: 孩子

subject

Required

string

包含的图片和信息,图片链接由上传图片返回
Example: <img src='http://file-pic.b0.upaiyun.com/201209/14/5_1347627953S3SS.jpg'>

message

Required

string

中括号里的下标为用户id, familyday是用户名,可以关联多个用户
Example: familyday

friends[1]

Required

string

由登陆或注册成功后返回的用户验证
Example: a327xf7KAoBhYPrA%2FNx3UY1%2FybOvCmvOtiIVF%2FJMQrDejDepaHfXbJCy71ekkdl1s1zQ6YBvnlFguuSoGm4R

m_auth

Required

string

Example: blog

ac

Required

string

Example: true

blogsubmit

Required

string

Example: 0

topicid

Required

HTTP 200 : publishphoto - 发布图片 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "subject": "孩子",
    "classid": null,
    "friend": 1,
    "friends": {
      "1": "familyday"
    },
    "address": "",
    "password": null,
    "noreply": 0,
    "picflag": 0,
    "pic": "image/nopic.gif",
    "picid": [
      2000
    ],
    "cityid": "4",
    "lat": "23.1289942815",
    "lng": "113.2868957520",
    "topicid": 0,
    "checked": 0,
    "uid": 5,
    "username": "13751341409",
    "dateline": "1347690290",
    "photoid": 261,
    "credit": 5,
    "experience": 5
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
publishphoto - 发布图片

发布图片


Test console
Description
Parameter
string

1代表产生动态,0代表不产生动态
Example: 1

makefeed

Required

string

title中括号里面的是图片id,由上传图片返回,值是图片的描述
Example: 孩子1岁了

title[2000]

Required

string

图片标题
Example: 孩子

subject

Optional

string

标签,用于标识图片所属相册
Example: 孩子相册

tags

Required

string

中括号里的下标为用户id, familyday是用户名,可以关联多个用户
Example: familyday

friends[1]

Optional

string

隐私,0代表全站可见,1代表家人可见,2代表自己可见
Example: 1

friend

Required

string

由登陆或注册成功后返回的用户验证
Example: a327xf7KAoBhYPrA%2FNx3UY1%2FybOvCmvOtiIVF%2FJMQrDejDepaHfXbJCy71ekkdl1s1zQ6YBvnlFguuSoGm4R

m_auth

Required

string

Example: photo

ac

Required

string

Example: true

photosubmit

Required

string

Example: 0

topicid

Required

HTTP 200 : publishpm - 发布私信 Model GET/cp.php
						{
  "code": 0,
  "data": [],
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
publishpm - 发布私信

发布私信


Test console
Description
Parameter
string

接收私信的用户名
Example: familyday

username

Required

string

私信内容
Example: familyday真好用

message

Required

string

由登陆或注册成功后返回的用户验证
Example: 9b1dDGEdJprXS%2F7dak0ckDGhFQ4yqWNAUmQ7CaSPQCHv%2FPbSOjDmOOrGpeE4e6C%2Fp6ZNrd7fQ%2F4AQNR9qHnE

m_auth

Required

string

Example: send

op

Required

string

Example: 0

touid

Required

string

Example: 0

pmid

Required

string

Example: true

pmsubmit

Required

string

Example: pm

ac

Required

HTTP 200 : reblog - 转载日记 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "subject": "2012-09-15",
    "classid": null,
    "cityid": "4",
    "replynum": "0",
    "lat": "23.1289942815",
    "lng": "113.2868957520",
    "checked": "0",
    "friend": 0,
    "friends": "",
    "address": "",
    "password": null,
    "noreply": 0,
    "picflag": 0,
    "pic": "",
    "topicid": 0,
    "uid": 5,
    "username": "13751341409",
    "dateline": "1347692680",
    "blogid": 7,
    "credit": 0,
    "experience": 0
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
reblog - 转载日记

转载日记


Test console
Description
Parameter
string

1代表产生动态,0代表不产生动态
Example: 1

makefeed

Required

string

转载的日记 id
Example: 6

blogid

Required

string

由登陆或注册成功后返回的用户验证
Example: a21eehDUQRKkhLmKvitcItPA4eMhS0pLP1gPdbqzi60kxlmA0AAXdDQzpRmEpoYdFayrs446iBku2Kp07dwJ

m_auth

Required

string

这个参数应该是一个bug,待修正
Example: 好文章

message

Required

string

Example: reblog

ac

Required

string

Example: true

blogsubmit

Required

HTTP 200 : register-注册 Model GET/do.php
						{
  "code": 0,
  "data": {
    "space": {
      "uid": "9",
      "sex": "0",
      "email": "13751341407@atfaxian.com",
      "newemail": "",
      "emailcheck": "0",
      "mobile": "",
      "mobile_p": "0",
      "qq": "",
      "msn": "",
      "msnrobot": "",
      "msncstatus": "0",
      "videopic": "",
      "birthyear": "0",
      "birthmonth": "0",
      "birthday": "0",
      "blood": "",
      "marry": "0",
      "birthprovince": "",
      "birthcity": "",
      "resideprovince": "",
      "residecity": "",
      "note": "",
      "spacenote": "",
      "authstr": "",
      "theme": "",
      "nocss": "0",
      "menunum": "0",
      "css": "",
      "privacy": {
        "view": {
          "index": "0",
          "profile": "0",
          "friend": "0",
          "wall": "0",
          "feed": "0",
          "mtag": "0",
          "event": "0",
          "doing": "0",
          "blog": "0",
          "album": "0",
          "share": "0",
          "poll": "0"
        },
        "feed": {
          "doing": 1,
          "blog": 1,
          "upload": 1,
          "share": 1,
          "poll": 1,
          "joinpoll": 1,
          "thread": 1,
          "post": 1,
          "mtag": 1,
          "event": 1,
          "join": 1,
          "friend": 1,
          "comment": 1,
          "show": 1,
          "spaceopen": 1,
          "credit": 1,
          "invite": 1,
          "task": 1,
          "profile": 1,
          "album": 1,
          "click": 1
        }
      },
      "friend": "",
      "feedfriend": "",
      "sendmail": "",
      "magicstar": "0",
      "magicexpire": "0",
      "timeoffset": "",
      "lat": "23.1289942815",
      "lng": "113.2868957520",
      "tag": "",
      "residemall": "",
      "address": "",
      "idcard": "",
      "business": "",
      "businessfield": "",
      "cityid": "4",
      "tagid": "0",
      "gcityid": "4",
      "checkshop": "0",
      "birth": "0",
      "groupid": "0",
      "credit": "15",
      "experience": "15",
      "username": "13751341407",
      "name": "",
      "namestatus": "0",
      "videostatus": "0",
      "shopstatus": "0",
      "domain": "",
      "friendnum": "0",
      "feedfriendnum": 1,
      "viewnum": "0",
      "notenum": "0",
      "addfriendnum": "0",
      "mtaginvitenum": "0",
      "eventinvitenum": "0",
      "myinvitenum": "0",
      "pokenum": "0",
      "doingnum": "0",
      "blognum": "0",
      "goodsnum": "0",
      "couponsnum": "0",
      "photonum": "0",
      "videonum": "0",
      "disclosenum": "0",
      "albumnum": "0",
      "threadnum": "0",
      "pollnum": "0",
      "eventnum": "0",
      "sharenum": "0",
      "lovenum": "0",
      "dateline": "1347686888",
      "updatetime": "0",
      "lastsearch": "0",
      "lastpost": "0",
      "lastlogin": "1347686888",
      "lastsend": "0",
      "attachsize": "0",
      "addsize": "0",
      "addfriend": "0",
      "flag": "0",
      "newpm": "0",
      "avatar": "0",
      "regip": "23.23.103.204",
      "ip": "23023103",
      "mood": "0",
      "referrals": "0",
      "hot": "0",
      "self": 1,
      "friends": [],
      "feedfriends": [],
      "star": "<span id=\"star_level_1\" ></span>",
      "allnotenum": 0
    },
    "m_auth": "ee9b3e99KuE03VTr1USnlIN0elHkRlHCwrSpCySiXHwVHL%2B1DeH6hoooTO%2BKMG4nrV1LRXXwQqrb4zg8%2FTFU"
  },
  "msg": "注册成功了,进入设置引导",
  "action": "registered"
}						
register-注册

用户注册


Test console
Description
Parameter
string

操作参数
Example: register

ac

Required

string

固定参数
Example: true

registersubmit

Required

string

固定参数
Example: true

accede

Required

string

用户名
Example: 13751341407

username

Required

string

密码
Example: abc12345

password

Required

string

验证码
Example: EY2V

seccode

Required

string

验证码key,由获取验证码接口返回
Example: 4454vlxI4771RIdH32uWGGwXDoMW2rDK2AWueqzNvSNZ

seccode_auth

Required

HTTP 200 : rephoto - 转载图片 Model GET/cp.php
						{
  "code": 0,
  "data": {
    "subject": "",
    "classid": null,
    "replynum": "0",
    "cityid": "4",
    "lat": "23.1289942815",
    "lng": "113.2868957520",
    "checked": "0",
    "friend": 0,
    "friends": [],
    "address": "",
    "password": null,
    "picflag": "0",
    "pic": "image/nopic.gif",
    "picid": [
      2000
    ],
    "noreply": 0,
    "topicid": 0,
    "uid": 5,
    "username": "13751341409",
    "dateline": "1347690628",
    "photoid": 262,
    "credit": 0,
    "experience": 0
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
rephoto - 转载图片

转载图片


Test console
Description
Parameter
string

1代表产生动态,0代表不产生动态
Example: 1

makefeed

Required

string

由登陆或注册成功后返回的用户验证
Example: a21eehDUQRKkhLmKvitcItPA4eMhS0pLP1gPdbqzi60kxlmA0AAXdDQzpRmEpoYdFayrs446iBku2Kp07dwJ

m_auth

Required

string

转载的图片id
Example: 261

photoid

Required

string

Example: rephoto

ac

Required

string

Example: true

photosubmit

Required

HTTP 200 : uploadphoto - 上传图片 Model POST/cp.php
上传图片 Model
						{
  "code": 0,
  "data": {
    "pic": {
      "albumid": 399,
      "uid": 5,
      "username": "13751341409",
      "dateline": "1347689661",
      "filename": "bee.jpg",
      "postip": "127.0.0.1",
      "title": "",
      "type": "image/jpeg",
      "size": 10714,
      "filepath": "5_13476896614Gg3.jpg",
      "thumb": null,
      "width": null,
      "height": null,
      "remote": 1,
      "topicid": 0,
      "picid": 2302,
      "pic": "http://file-pic.b0.upaiyun.com/5_13476896614Gg3.jpg"
    }
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
uploadphoto - 上传图片

上传图片


Test console
Description
Parameter
string

由登陆或注册成功后返回的用户key
Example: af9cCEMpQlfFTifZltugadwhGAXL%2Ba%2BCor8voR9jZyBh60v4xFryq2i

m_auth

Required

binary

图片

Filedata

Required

string

Example: upload

ac

Required

string

Example: true

photosubmit

Required

string

Example: 0

topicid

Required

string

Example: uploadphoto

op

Required

下行接口

HTTP 200 : allfeed - 全站动态列表 Model GET/do.php
						{
  "code": 0,
  "data": {
    "feeds": [
      {
        "feedid": "34",
        "appid": "1",
        "icon": "",
        "uid": "5",
        "username": "13751341409",
        "dateline": "1347690628",
        "friend": "0",
        "image_1": "",
        "image_1_link": "",
        "image_2": "",
        "image_2_link": "",
        "image_3": "",
        "image_3_link": "",
        "image_4": "",
        "image_4_link": "",
        "target_ids": "",
        "id": "262",
        "idtype": "photoid",
        "hot": "1",
        "tag": [],
        "fid": "261",
        "fuid": "5",
        "fusername": "13751341409",
        "subject": "",
        "message": "",
        "title": " 上传了",
        "isend": "0",
        "starttime": "0",
        "endtime": "0",
        "deadline": "0",
        "replynum": "1",
        "loveuser": [],
        "obprice": "0.00",
        "bprice": "0.00",
        "oprice": "0.00",
        "price": "0.00",
        "reblognum": "0",
        "cityid": "4",
        "lat": "23.1289942815",
        "lng": "113.2868957520",
        "name": "",
        "click_1": "0",
        "checked": "0",
        "love": "0",
        "location": "",
        "groupid": "5",
        "address": "",
        "friends": [],
        "do": "photo"
      },
      {
        "feedid": "33",
        "appid": "1",
        "icon": "",
        "uid": "5",
        "username": "13751341409",
        "dateline": "1347690290",
        "friend": "1",
        "image_1": "",
        "image_1_link": "",
        "image_2": "",
        "image_2_link": "",
        "image_3": "",
        "image_3_link": "",
        "image_4": "",
        "image_4_link": "",
        "target_ids": "",
        "id": "261",
        "idtype": "photoid",
        "hot": "1",
        "tag": {
          "379": "孩子相册"
        },
        "fid": "261",
        "fuid": "0",
        "fusername": "",
        "subject": "孩子",
        "message": "",
        "title": " 上传了",
        "isend": "0",
        "starttime": "0",
        "endtime": "0",
        "deadline": "0",
        "replynum": "1",
        "loveuser": [],
        "obprice": "0.00",
        "bprice": "0.00",
        "oprice": "0.00",
        "price": "0.00",
        "reblognum": "1",
        "cityid": "4",
        "lat": "23.1289942815",
        "lng": "113.2868957520",
        "name": "",
        "click_1": "0",
        "checked": "0",
        "love": "0",
        "location": "",
        "groupid": "5",
        "address": "",
        "friends": {
          "1": "familyday"
        },
        "do": "photo"
      },
      {
        "feedid": "16",
        "appid": "1",
        "icon": "",
        "uid": "1",
        "username": "familyday",
        "dateline": "1347347803",
        "friend": "1",
        "image_1": "http://file-pic.b0.upaiyun.com/201209/11/1_134734770641ux.jpg",
        "image_1_link": "",
        "image_2": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347721fZG3.jpg",
        "image_2_link": "",
        "image_3": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347732tzny.jpg",
        "image_3_link": "",
        "image_4": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347737GFA1.jpg",
        "image_4_link": "",
        "target_ids": "",
        "id": "257",
        "idtype": "photoid",
        "hot": "1",
        "tag": {
          "374": "主题图"
        },
        "fid": "257",
        "fuid": "0",
        "fusername": "",
        "subject": "",
        "message": "",
        "title": " 上传了",
        "isend": "0",
        "starttime": "0",
        "endtime": "0",
        "deadline": "0",
        "replynum": "0",
        "loveuser": [],
        "obprice": "0.00",
        "bprice": "0.00",
        "oprice": "0.00",
        "price": "0.00",
        "reblognum": "1",
        "cityid": "3",
        "lat": "23.1289942815",
        "lng": "113.2868957520",
        "name": "Familyday",
        "click_1": "0",
        "checked": "0",
        "love": "0",
        "location": "",
        "groupid": "1",
        "address": "",
        "friends": [],
        "do": "photo"
      }
    ],
    "count": 3
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
allfeed - 全站动态列表

全站动态列表


Test console
Description
Parameter
string

feed类别,若略去代表返回所有feed,photoid代表图片,blogid代表日记 , videoid代表视频,eventid代表活动
Example: photoid

idtype

Optional

string

分页的当前页号
Example: 0

page

Required

string

用户id
Example: 5

uid

Required

string

搜索参数,一般略去,则返回所有结果
Example: 孩子

keyword

Optional

string

Example: ajax

ac

Required

string

Example: feedlist

op

Required

string

Example: all

view

Required

						{
  "code": 0,
  "data": {
    "feeds": [
      {
        "feedid": "16",
        "appid": "1",
        "icon": "",
        "uid": "1",
        "username": "familyday",
        "dateline": "1347347803",
        "friend": "1",
        "image_1": "http://file-pic.b0.upaiyun.com/201209/11/1_134734770641ux.jpg",
        "image_1_link": "",
        "image_2": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347721fZG3.jpg",
        "image_2_link": "",
        "image_3": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347732tzny.jpg",
        "image_3_link": "",
        "image_4": "http://file-pic.b0.upaiyun.com/201209/11/1_1347347737GFA1.jpg",
        "image_4_link": "",
        "target_ids": "",
        "id": "257",
        "idtype": "photoid",
        "hot": "1",
        "tag": {
          "374": "主题图"
        },
        "fid": "257",
        "fuid": "0",
        "fusername": "",
        "subject": "",
        "message": "",
        "title": " 上传了",
        "isend": "0",
        "starttime": "0",
        "endtime": "0",
        "deadline": "0",
        "replynum": "0",
        "loveuser": [],
        "obprice": "0.00",
        "bprice": "0.00",
        "oprice": "0.00",
        "price": "0.00",
        "reblognum": "1",
        "cityid": "3",
        "lat": "23.1289942815",
        "lng": "113.2868957520",
        "name": "Familyday",
        "click_1": "0",
        "checked": "0",
        "love": "0",
        "location": "",
        "groupid": "1",
        "address": "",
        "friends": [],
        "do": "photo"
      }
    ],
    "count": 1
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
friendfeed - 好友动态列表

好友动态列表


Test console
Description
Parameter
string

feed类别,若略去代表返回所有feed,photoid代表图片,blogid代表日记 , videoid代表视频,eventid代表活动
Example: photoid

idtype

Optional

string

分页的当前页号
Example: 0

page

Required

string

用户id
Example: 5

uid

Required

string

搜索参数,一般略去,则返回所有结果
Example: 孩子

keyword

Optional

string

Example: ajax

ac

Required

string

Example: feedlist

op

Required

string

Example: we

view

Required

HTTP 200 : getfriends -获取家人列表 Model GET/space.php
						{
    "code": 0,
    "data": {
        "friends": {
            "2": {
                "uid": "2",
                "groupid": "5",
                "credit": "76",
                "experience": "66",
                "username": "13631403678",
                "name": "大福食府",
                "namestatus": "1",
                "videostatus": "0",
                "shopstatus": "0",
                "domain": "",
                "friendnum": "1",
                "feedfriendnum": "0",
                "viewnum": "2",
                "notenum": "4",
                "addfriendnum": "0",
                "mtaginvitenum": "0",
                "eventinvitenum": "0",
                "myinvitenum": "0",
                "pokenum": "0",
                "doingnum": "0",
                "blognum": "0",
                "goodsnum": "0",
                "couponsnum": "0",
                "photonum": "0",
                "videonum": "0",
                "disclosenum": "0",
                "albumnum": "0",
                "threadnum": "0",
                "pollnum": "0",
                "eventnum": "0",
                "sharenum": "0",
                "lovenum": "0",
                "dateline": "1345014765",
                "updatetime": "0",
                "lastsearch": "0",
                "lastpost": "0",
                "lastlogin": "1346995947",
                "lastsend": "0",
                "attachsize": "0",
                "addsize": "0",
                "addfriend": "0",
                "flag": "0",
                "newpm": "0",
                "avatar": "0",
                "regip": "113.64.237.111",
                "ip": "113111062",
                "mood": "0",
                "referrals": "0",
                "resideprovince": "",
                "residecity": "",
                "note": "",
                "spacenote": "",
                "sex": "0",
                "gid": "1",
                "num": "3",
                "p": "",
                "c": "",
                "group": "家人",
                "isfriend": 1
            },
            "4": {
                "uid": "4",
                "groupid": "6",
                "credit": "122",
                "experience": "112",
                "username": "15013296747",
                "name": "阿宝",
                "namestatus": "1",
                "videostatus": "0",
                "shopstatus": "0",
                "domain": "",
                "friendnum": "1",
                "feedfriendnum": "0",
                "viewnum": "1",
                "notenum": "0",
                "addfriendnum": "0",
                "mtaginvitenum": "0",
                "eventinvitenum": "0",
                "myinvitenum": "0",
                "pokenum": "0",
                "doingnum": "0",
                "blognum": "1",
                "goodsnum": "0",
                "couponsnum": "0",
                "photonum": "3",
                "videonum": "0",
                "disclosenum": "0",
                "albumnum": "3",
                "threadnum": "0",
                "pollnum": "0",
                "eventnum": "0",
                "sharenum": "0",
                "lovenum": "0",
                "dateline": "1346987334",
                "updatetime": "1347609583",
                "lastsearch": "0",
                "lastpost": "1347609583",
                "lastlogin": "1347606296",
                "lastsend": "0",
                "attachsize": "327587",
                "addsize": "0",
                "addfriend": "0",
                "flag": "0",
                "newpm": "0",
                "avatar": "1",
                "regip": "113.111.62.230",
                "ip": "113064189",
                "mood": "0",
                "referrals": "0",
                "resideprovince": "",
                "residecity": "",
                "note": "",
                "spacenote": "",
                "sex": "1",
                "gid": "0",
                "num": "0",
                "p": "",
                "c": "",
                "group": "其他",
                "isfriend": 1
            },
            "5": {
                "uid": "5",
                "groupid": "5",
                "credit": "77",
                "experience": "67",
                "username": "13751341409",
                "name": "",
                "namestatus": "0",
                "videostatus": "0",
                "shopstatus": "0",
                "domain": "",
                "friendnum": "1",
                "feedfriendnum": "0",
                "viewnum": "1",
                "notenum": "0",
                "addfriendnum": "0",
                "mtaginvitenum": "0",
                "eventinvitenum": "0",
                "myinvitenum": "0",
                "pokenum": "0",
                "doingnum": "0",
                "blognum": "3",
                "goodsnum": "0",
                "couponsnum": "0",
                "photonum": "2",
                "videonum": "0",
                "disclosenum": "0",
                "albumnum": "0",
                "threadnum": "0",
                "pollnum": "0",
                "eventnum": "0",
                "sharenum": "0",
                "lovenum": "0",
                "dateline": "1347024667",
                "updatetime": "1347692680",
                "lastsearch": "0",
                "lastpost": "1347692680",
                "lastlogin": "1347784898",
                "lastsend": "0",
                "attachsize": "0",
                "addsize": "0",
                "addfriend": "0",
                "flag": "0",
                "newpm": "0",
                "avatar": "0",
                "regip": "125.90.59.196",
                "ip": "125090059",
                "mood": "0",
                "referrals": "0",
                "resideprovince": "",
                "residecity": "",
                "note": "",
                "spacenote": "",
                "sex": "0",
                "gid": "1",
                "num": "0",
                "p": "",
                "c": "",
                "group": "家人",
                "isfriend": 1
            },
            "8": {
                "uid": "8",
                "groupid": "5",
                "credit": "33",
                "experience": "33",
                "username": "13751341408",
                "name": "summit",
                "namestatus": "1",
                "videostatus": "0",
                "shopstatus": "0",
                "domain": "",
                "friendnum": "1",
                "feedfriendnum": "0",
                "viewnum": "0",
                "notenum": "1",
                "addfriendnum": "0",
                "mtaginvitenum": "0",
                "eventinvitenum": "0",
                "myinvitenum": "0",
                "pokenum": "0",
                "doingnum": "1",
                "blognum": "0",
                "goodsnum": "0",
                "couponsnum": "0",
                "photonum": "0",
                "videonum": "0",
                "disclosenum": "0",
                "albumnum": "0",
                "threadnum": "0",
                "pollnum": "0",
                "eventnum": "0",
                "sharenum": "0",
                "lovenum": "0",
                "dateline": "1347686470",
                "updatetime": "1347722877",
                "lastsearch": "0",
                "lastpost": "1347723591",
                "lastlogin": "1347800288",
                "lastsend": "0",
                "attachsize": "0",
                "addsize": "0",
                "addfriend": "0",
                "flag": "0",
                "newpm": "0",
                "avatar": "0",
                "regip": "23.23.103.204",
                "ip": "23023103",
                "mood": "0",
                "referrals": "0",
                "resideprovince": "",
                "residecity": "",
                "note": "Family真好用",
                "spacenote": "Family真好用",
                "sex": "0",
                "gid": "1",
                "num": "0",
                "p": "",
                "c": "",
                "group": "家人",
                "isfriend": 1
            }
        },
        "count": 4
    },
    "msg": "进行的操作完成了",
    "action": "do_success"
}						
getfriends -获取家人列表

获取家人列表


Test console
Description
Parameter
string

用户id
Example: 1

uid

Required

string

由登陆或注册成功后返回的用户验证
Example: a928xbkyYT9QMlQ%2FWcaQzNz%2B1nPh5%2B%2FUb8ZSIzXMD39IcxgIcTxY3BvPMneEvzUjbD3UbBJufwWlKkswQQEy

m_auth

Required

string

Example: friendlist

do

Required

HTTP 200 : notice - 通知列表 Model GET/space.php
						{
  "code": 0,
  "data": {
    "notices": [
      {
        "id": "267",
        "uid": "5",
        "type": "friend",
        "new": "0",
        "authorid": "1",
        "author": "familyday",
        "note": "和你成为了家人",
        "dateline": "1347688712",
        "fuid": "1",
        "fid": "5",
        "idtype": "feedfriend",
        "address": "",
        "friends": "",
        "isfriend": 1,
        "style": ""
      }
    ],
    "count": 1
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
notice - 通知列表

通知列表


Test console
Description
Parameter
string

当前页号
Example: 0

page

Required

string

每一页条数
Example: 10

prepage

Required

string

由登陆或注册成功后返回的用户验证
Example: 7d752rCiBXxGAZ8%2BobNO9h2vtOKLcIHB5yCq7rOrRVBzyf%2FDJkKpNuxeo89PN3mOLpmI1084mUl04fwqTTtV

m_auth

Required

string

Example: notice

do

Required

HTTP 200 : pm - 私信列表 Model GET/space.php
						{
  "code": 0,
  "data": {
    "pms": [
      {
        "plid": "27",
        "uid": "1",
        "isnew": "0",
        "pmnum": "1",
        "lastupdate": "0",
        "lastdateline": "1347723591",
        "authorid": "8",
        "pmtype": "1",
        "subject": "familyday真好用",
        "members": "2",
        "dateline": "1347723591",
        "lastmessage": "a:3:{s:12:\"lastauthorid\";s:1:\"8\";s:10:\"lastauthor\";s:11:\"13751341408\";s:11:\"lastsummary\";s:18:\"familyday真好用\";}",
        "touid": "8",
        "founddateline": "1347723591",
        "pmid": "27",
        "lastauthorid": "8",
        "lastauthor": "13751341408",
        "lastsummary": "familyday真好用",
        "msgfromid": "8",
        "msgfrom": "13751341408",
        "message": "familyday真好用",
        "new": "0",
        "msgtoid": "8",
        "daterange": 3,
        "tousername": "13751341408",
        "slist": []
      },
      {
        "plid": "26",
        "uid": "1",
        "isnew": "0",
        "pmnum": "1",
        "lastupdate": "0",
        "lastdateline": "1347516900",
        "authorid": "4",
        "pmtype": "1",
        "subject": "您好",
        "members": "2",
        "dateline": "1347516900",
        "lastmessage": "a:3:{s:12:\"lastauthorid\";s:1:\"4\";s:10:\"lastauthor\";s:11:\"15013296747\";s:11:\"lastsummary\";s:6:\"您好\";}",
        "touid": "4",
        "founddateline": "1347516900",
        "pmid": "26",
        "lastauthorid": "4",
        "lastauthor": "15013296747",
        "lastsummary": "您好",
        "msgfromid": "4",
        "msgfrom": "15013296747",
        "message": "您好",
        "new": "0",
        "msgtoid": "4",
        "daterange": 5,
        "tousername": "15013296747",
        "slist": [
          {
            "plid": "26",
            "authorid": "4",
            "pmtype": "1",
            "subject": "您好",
            "members": "2",
            "dateline": "1347516900",
            "pmid": "38",
            "message": "您好",
            "founderuid": "4",
            "founddateline": "1347516900",
            "touid": "1",
            "author": "15013296747",
            "msgfromid": "4",
            "msgfrom": "15013296747",
            "msgtoid": "1",
            "daterange": 5
          }
        ]
      }
    ],
    "count": 2
  },
  "msg": "进行的操作完成了",
  "action": "do_success"
}						
pm - 私信列表

私信列表


Test console
Description
Parameter
string

当前页号
Example: 0

page

Required

string

每页列表数
Example: 20

prepage

Required

string

由登陆或注册成功后返回的用户验证
Example: a928xbkyYT9QMlQ%2FWcaQzNz%2B1nPh5%2B%2FUb8ZSIzXMD39IcxgIcTxY3BvPMneEvzUjbD3UbBJufwWlKkswQQEy

m_auth

Required

string

Example: pm

do

Required

HTTP 200 : pmdetail - 私信详情 Model GET/space.php
私信详情
						{
    "code": 0,
    "data": {
        "pms": [
            {
                "plid": "26",
                "authorid": "4",
                "pmtype": "1",
                "subject": "您好",
                "members": "2",
                "dateline": "1347516900",
                "pmid": "38",
                "message": "您好",
                "founderuid": "4",
                "founddateline": "1347516900",
                "touid": "1",
                "author": "15013296747",
                "msgfromid": "4",
                "msgfrom": "15013296747",
                "msgtoid": "1",
                "daterange": 5
            }
        ],
        "count": 1
    },
    "msg": "进行的操作完成了",
    "action": "do_success"
}						
pmdetail - 私信详情

私信详情


Test console
Description
Parameter
string

私信id
Example: 26

pmid

Required

string

消息送至的用户id
Example: 4

touid

Required

string

检索消息的区间(几天之内的)
Example: 10

daterange

Required

string

由登陆或注册成功后返回的用户验证
Example: a928xbkyYT9QMlQ%2FWcaQzNz%2B1nPh5%2B%2FUb8ZSIzXMD39IcxgIcTxY3BvPMneEvzUjbD3UbBJufwWlKkswQQEy

m_auth

Required

string

Example: view

subop

Required

string

Example: pm

do

Required

Consume this API completely for free!


By joining the mashape API marketplace you can start using family API today!

Login to your account or signup: Create Account

or
   Signup with GitHub

By signing up you agree to our terms of service.