post

/insights/{projectOwner}/{projectId}

authorization: oauth2

Create a new insight.

2 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
uri
string

URI of newly created insight.

required

Send a Test Request

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