Last active
August 29, 2015 14:16
-
-
Save codenamejason/67ad25cc76edf87f4ac2 to your computer and use it in GitHub Desktop.
TYPES of actions
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
The action parameter is in the format {object_type} : : {operation}. If you have a newsfeed item with action = event : :*, then the object parameter will contain data in the format expected of an event object type. The object types are listed below. When created a new activity, you must make sure the action corresponds with the object type. | |
- event | |
{ | |
title: {string}, | |
description: {String}, | |
start: {Date}, | |
duration: {Integer}, // duration in seconds | |
} | |
- post | |
{ | |
title: {string}, | |
body: {string}, | |
created_at: {String} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment