• log in
« Go back to the home page

Favorite

This endpoint may be used to get information of favorites and modify them.

The Favorite object

Property Type Description
id integer The unique identifier of this Favorite
user User The creator of this Favorite
feedEntry FeedEntry The FeedEntry that was favorited
time string The timestamp of when this FeedEntry was created

POST /favorite

Creates a new Favorite from the current user to a specific FeedEntry.
Requires authorization

Parameters

Property Type Description
post integer The ID of the target FeedEntry

Response

Returns a single Favorite object.


DELETE /favorite

Deletes a Favorite from the current user to a specific FeedEntry.
Requires authorization

Parameters

Property Type Description
post integer The ID of the target FeedEntry

GET /favorites

Gets all created favorites for a specific.

Parameters

Property Type Description
user integer The ID of the user to look for
max integer The maximum ID for favorites to look for

Response

Returns multiple Favorite objects.


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