Skip to content

Instantly share code, notes, and snippets.

@codenamejason
Last active August 29, 2015 14:16
Show Gist options
  • Save codenamejason/dc82d80a774f29e9d9e9 to your computer and use it in GitHub Desktop.
Save codenamejason/dc82d80a774f29e9d9e9 to your computer and use it in GitHub Desktop.
GET api/newsfeed
{
_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