Shivtr

Members

Members represent the players which belong to your site. The Members API lets you view, update, delete, restore, activate and deactivate members.

Members API
Get list of members
GET /members.json

Get member 1000
GET /members/1000.json

Update member 1000
PATCH /members/1000.json

Delete member 1000
DELETE /members/1000.json

Restore member 1000
PATCH /members/1000/restore.json

Deactivate member 1000
PATCH /members/1000/deactivate.json

Reactivate member 1000
PATCH /members/1000/reactivate.json

Get the activities for member 1000
GET /members/1000/activities.json

Get the characters for member 1000
GET /members/1000/characters.json

Get the heroes for member 1000
GET /members/1000/heroes.json


Edit Object
{
"member": {
"rank_id": 3000,
"permission_id": 4000,
"display_name": "Nazgum",
"signature": "",
"sig_disabled": false
}
}


List Object
{
"members": [
{
"id": 5,
"display_name": "Nazgum",
"avatar": "http://s3.shivtr.com/member_avatars/5/original.jpg",
"status": "active",
"session_time": "2012-07-14T04:15:30-04:00",
"created_at": "2006-11-09T05:11:45-05:00",
"rank": {
"id": 24,
"name": "Loatheful Chancellor"
}
}
]
}


Show Object
{
"member": {
"id": 5,
"display_name": "Nazgum",
"avatar": "http://s3.shivtr.com/member_avatars/5/original.jpg",
"status": "active",
"session_time": "2012-07-14T04:15:30-04:00",
"created_at": "2006-11-09T05:11:45-05:00",
"rank": {
"id": 24,
"name": "Loatheful Chancellor"
},
"user": {
"id": 8,
"name": "8 Toes",
"profile": {
"nickname": "Nazgum",
"gender": "Male",
"city": "Toronto",
"country": "Canada",
"state": "Ontario",
"twitter": "nazgum",
"twitch": "nazgum",
"youtube": "nazgum",
"steam": "",
"facebook": "",
"web": "http://www.shivtr.com"
}
}
}
}