put

/insights/{projectOwner}/{projectId}/{id}

authorization: oauth2

Replace an insight.

3 Path Parameters

Request Body

1 Example
Schema
object
body
object

Defines the body of an insight. Must contain one, and only one of: imageUrl, embedUrl or markdownBody (deprecated).

required
embedUrl
string

oEmbed URL.

1 validation
imageUrl
string

Image URL

1 validation
markdownBody
string

Markdown (deprecated)

dataSourceLinks
array[string]

One or more permalinks to the data sources used to generate this insight. Allows others to access the data originally used to produce the insight.

format: uri
description
string

Insight description.

maxLength: 25000
sourceLink
string

Permalink to source code or platform this insight was generated with. Allows others to replicate the steps originally used to produce the insight.

format: uri
thumbnail
string
format: uri
title
string

Insight title.

required
maxLength: 128
minLength: 1

Responses

OK The request has succeeded.

1 Example
Schema
object
message
string

Send a Test Request

Path Params
3 path params not set
projectOwner
projectId
id
$$.env
1 variable not set
oauth_access_token