Last active
August 29, 2015 14:16
-
-
Save codenamejason/dc82d80a774f29e9d9e9 to your computer and use it in GitHub Desktop.
GET api/newsfeed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
_id: {string}. The id of the newsfeed. | |
actor: {string}. The name of the actor (the person who performed the action). | |
action: {string}. The action performed (e.g. 'event::created'). | |
object: {Object}. A JSON(P) object representing the object on which the action was performed. | |
created_at: {Date}. The date at which the action was completed. | |
} | |
For Example: | |
{ | |
_id: "54b4ae16c98703020054b47f", | |
actor: "Jason Romero", | |
action: "event::created", | |
object: { | |
title: "My Event", | |
description: "This is a description", | |
start: "Date", | |
duration: {Integer}, // duration in seconds | |
}; | |
created_at: {Date} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment