users_list_me_favorites: List Favorites

Description Usage Arguments Value

Description

List Favorites

Usage

1
2
3
4
5
6
7
8
users_list_me_favorites(
  object_id = NULL,
  object_type = NULL,
  limit = NULL,
  page_num = NULL,
  order = NULL,
  order_dir = NULL
)

Arguments

object_id

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

object_type

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

limit

integer optional. Number of results to return. Defaults to 50. Maximum allowed is 1000.

page_num

integer optional. Page number of the results to return. Defaults to the first page, 1.

order

string optional. The field on which to order the result set. Defaults to created_at. Must be one of: created_at, object_type, object_id.

order_dir

string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.

Value

An array containing the following fields:

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.


civisanalytics/civis-r documentation built on June 27, 2020, 7:25 a.m.