-
Notifications
You must be signed in to change notification settings - Fork 123
(Core API) diary POST
Thomas Muldowney edited this page Apr 14, 2011
·
2 revisions
Add a message to the current days diary. The diary will add the current timestamp to the posts.
POST
This is a service method and must have the sending service id before the method.
/9fdfb7e5c6551dc45300aeb0d21fdff4/diary
This would post to the diary from service 9fdfb7e5c6551dc45300aeb0d21fdff4
application/x-www-form-urlencoded
- level (optional): An urgency level, for display purposes, which is a number in the range of 0-x. When left out it defaults to 0.
- message: The message to add to the diary
level=0&message=Test+message+from+something
application/json
- 200: The JSON of the added diary entry object
{
level:0,
message:"Test message from something",
"timestamp":"2011-03-25T06:35:46.202Z"
}