• log in
« Go back to the home page

Feed

This endpoint may be used to get information of feed entries (posts, replies and shares) and modify them.

The FeedEntry object

Property Type Description
id integer The unique identifier of this FeedEntry
user User The creator of this FeedEntry
text ?string The message of this feed entry
following ?User Deprecated: The referenced user in this FeedEntry (only for type NEW_FOLLOWING)
parent ?FeedEntry The parent of this FeedEntry (only for types REPLY and SHARE)
type string The type of this FeedEntry, one of these values: POST / REPLY / NEW_FOLLOWING / SHARE
nsfw boolean Whether or not this FeedEntry was marked as 18+
attachments MediaFile[] The attachments of this FeedEntry
time string The timestamp of when this FeedEntry was created
replyCount integer The amount of replies this FeedEntry has
shareCount integer The amount of shares this FeedEntry has
favoriteCount integer The amount of favorites this FeedEntry has
shared boolean Whether or not the currently authenticated user has shared this FeedEntry, false if not authenticated
favorited boolean Whether or not the currently authenticated user has favorited this FeedEntry, false if not authenticated

The MediaFile object

Property Type Description
id string The unique identifier of this MediaFile
sha256 string The sha256 hash of this MediaFile
url string The URL of this MediaFile
type string The type of this MediaFile, one of these values: IMAGE / VIDEO / LINK
time string The timestamp of when this MediaFile was created

GET /feed

Gets entries on a feed, by specific parameters.
Requires authorization for specific parameter combinations

Parameters

Property Type Description
max integer The maximum ID for feed entries to look for (can not be combined with min)
min integer The minimum ID for feed entries to look for (can not be combined with max)
user integer The ID of the user to filter the feed entries by
type ?string The type of feed entries to load, either posts or replies, defaults to posts.

Response

Returns multiple FeedEntry objects.


© Copyright 2018-2021 Gigadrive - All rights reserved.
Contact Info • About • Terms of Service • Privacy Policy • Disclaimer • Developers