Shivtr

Shouts

Shouts are a quick, fun way to share content with your members. The Shouts API lets you view, create, update and delete shouts.

Shouts API
Fetch list of shouts
GET /shouts.json

Show shout 1000
GET /shouts/1000.json

Create new shout
POST /shouts.json

Update shout 1000
PATCH /shouts/1000.json

Delete shout 1000
DELETE /shouts/1000.json


New or Edit Object
{
"shout": {
"message": "Waaaagh!!"
}
}


List Object
{
"shouts": [
{
"id": 45000,
"message": "Waaaagh!!",
"created_on": "2011-06-16T14:37:20-04:00",
"member": {
"id": 2000,
"display_name": "Grok"
}
}
]
}


Show Object
{
"shout": {
"id": 45000,
"message": "Waaaagh!!",
"created_on": "2011-06-16T14:37:20-04:00",
"member": {
"id": 2000,
"display_name": "Grok"
}
}
}


Example Request
To create a new shout, send a POST request to /shouts.json with the following data:

{
"shout": {
"message": "Red is fastest!"
}
}