POST
/
api
/
v1
/
issues
/
{issueId}
/
link
curl --request POST \
  --url https://app.tegon.ai/api/v1/issues/{issueId}/link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "sourceId": "<string>",
  "sourceData": {}
}'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deleted": "2023-11-07T05:31:56Z",
  "url": "<string>",
  "sourceId": "<string>",
  "sourceData": {},
  "createdById": "<string>",
  "updatedById": "<string>",
  "issueId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

issueId
string
required

Query Parameters

teamId
string
required

Body

application/json
url
string
sourceId
string
sourceData
object

Response

200
application/json
Successful response
id
string
createdAt
string
updatedAt
string
deleted
string | null
url
string
sourceId
string | null
sourceData
object
createdById
string | null
updatedById
string
issueId
string