users_post_me_favorites {civis}R Documentation

Favorite an item

Description

Favorite an item

Usage

users_post_me_favorites(object_id, object_type)

Arguments

object_id

integer required. The id of the object. If specified as a query parameter, must also specify object_type parameter.

object_type

string required. The type of the object that is favorited. Valid options: Project

Value

A list containing the following elements:

id

integer, The id of the favorite.

objectId

integer, The id of the object. If specified as a query parameter, must also specify object_type parameter.

objectType

string, The type of the object that is favorited. Valid options: Project

objectName

string, The name of the object that is favorited.

createdAt

string, The time this favorite was created.


[Package civis version 3.0.0 Index]