create_insight: Create an insight.

Description Usage Arguments Value Examples

Description

Create an insight.

Usage

1
create_insight(project_owner, project_id, create_insight_req)

Arguments

project_owner

ID of project owner

project_id

ID of project to which insight is to be added

create_insight_req

Request object of type insight_create_request.

Value

Object of type create_insight_response.

Examples

1
2
3
4
5
6
7
## Not run: 
  dwapi::create_insight(
    project_owner = 'user',
    project_id = 'project',
    insight_create_request(title='My Insight', image_url='https://...'))

## End(Not run)

dwapi documentation built on May 1, 2019, 11:18 p.m.