30.03.2014 Views

Database.com Chatter REST API Developer's Guide - Salesforce.com

Database.com Chatter REST API Developer's Guide - Salesforce.com

Database.com Chatter REST API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Chatter</strong> <strong>API</strong>: How do I. . .<br />

Get feed items for a record<br />

Resource:<br />

HTTP method:<br />

Request body:<br />

Request parameter:<br />

/chatter/feeds/record/recordId/feed-items<br />

GET<br />

NA<br />

page (optional)<br />

Note: Page tokens are returned as part of the response body, in one of the URL<br />

parameters, such as nextPageURL.<br />

Request parameter<br />

example:<br />

/services/data/v27.0/chatter/feeds/record<br />

/005x0000001oXx9AAE/feed-items?page=2011-03-31T20:57:24Z,0D5x0000001C2XPCA0<br />

Returns:<br />

Feed Item Page<br />

Get list of what user is following<br />

Resource:<br />

HTTP method:<br />

Request body:<br />

Request parameter:<br />

Request parameter<br />

example:<br />

/chatter/users/userId/following<br />

GET<br />

NA<br />

page (optional)<br />

/services/data/v27.0/chatter/users<br />

/005D0000001GLowIAB/following?page=1<br />

Returns:<br />

Subscription Page<br />

Get <strong>Chatter</strong> activity statistics<br />

Resource:<br />

HTTP method:<br />

Request body:<br />

Request parameter:<br />

Example:<br />

/chatter/users/userId<br />

GET<br />

NA<br />

NA<br />

/services/data/v27.0/chatter/users<br />

/005D0000001GLowIAB<br />

Returns:<br />

User Detail<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!