-
Notifications
You must be signed in to change notification settings - Fork 0
notes
damnlist edited this page Jul 1, 2016
·
1 revision
client notes:
{
"status": "ok",
"data": [
{
"id": 21,
"user": {
"id": 16,
"name": "mariusz+signup@example.com",
"avatar": "http://avatar.damnlist.com/avatar?text=mariusz+signup@example.com"
},
"content": "Test note 123",
"createdAt": {
"date": "2016-05-30 15:06:47",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
},
{
"id": 22,
"user": {
"id": 16,
"name": "mariusz+signup@example.com",
"avatar": "http://avatar.damnlist.com/avatar?text=mariusz+signup@example.com"
},
"content": "Test note 2",
"createdAt": {
"date": "2016-05-30 15:06:55",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
}
]
}
{
"content": "Note text"
}
adding note:
{
"status": "ok",
"data": {
"id": 23,
"user": {
"id": 16,
"name": "mariusz+signup@example.com",
"avatar": "http://avatar.damnlist.com/avatar?text=mariusz+signup@example.com"
},
"content": "Note text",
"createdAt": {
"date": "2016-05-30 15:09:28",
"timezone_type": 3,
"timezone": "Europe/Berlin"
}
}
}
deleting note:
{
"status": "ok"
}