tribes.getPosts

Returns an array of posts that belong to a tribe or false if empty.

Arguments

tribeId (Optional)
Tribe ID
tribeUri (Optional)
Tribe URI
infoType (Optional)
Type of post. Values of ('article', 'image', 'video', 'comment'). No value will display all types
order (Optional)
Order of results, Values of ('created', 'published', 'rating')
offset (Optional)
Offset result set for pagination
limit (Optional)
Limit result set for pagination (max. 50)

Response

postId (integer)
ID of Post
shortcode (integer)
Shortcode
title (string)
Title of Post
user (array)
Array of information about the poster. See users.getInfo for details
featured (bool)
Indicates wether post is featured or not
url (string)
Atomic Reach short URL of post
sourceUrl (array)
Original source URL of post
teaser (string)
Teaser copy of post
tags (string)
Tags associated with post
image (bool|array)
False or Array of sizes of URLs for post image associated with post. Keys of ('original')
infoType (string)
Type of post. Values of ('article', 'image', 'video', 'comment')
published (integer)
Unix timestamp of when post was published
created (integer)
Unix timestamp of when post was received by the Atomic Reach platform

Test

http://api.atomicreach.com/?format=test&method=tribes.getPosts&tribeId=&tribeUri=&infoType=all&order=created&offset=0&limit=10