Learn R Programming

civis (version 3.1.3)

organizations_post_favorites: Favorite an item for your organization

Description

Favorite an item for your organization

Usage

organizations_post_favorites(object_id, object_type)

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: Container Script, Identity Resolution, Import, Python Script, R Script, dbt Script, JavaScript Script, SQL Script, Template Script, Project, Workflow, Tableau Report, Service Report, HTML Report, SQL Report

objectName

string, The name of the object that is favorited.

createdAt

string, The time this favorite was created.

objectUpdatedAt

string, The time the object that is favorited was last updated

objectAuthor

list, A list containing the following elements:

  • id integer, The ID of this user.

  • name string, This user's name.

  • username string, This user's username.

  • initials string, This user's initials.

  • online boolean, Whether this user is online.

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: Container Script, Identity Resolution, Import, Python Script, R Script, dbt Script, JavaScript Script, SQL Script, Template Script, Project, Workflow, Tableau Report, Service Report, HTML Report, SQL Report