Skip to content

Search readable and manageable item-link candidates.

POST
/api/workspace/boards/{boardIdOrKey}/items/{boardItemId}/link-candidates
curl --request POST \
--url https://example.com/api/workspace/boards/example/items/example/link-candidates \
--header 'Content-Type: application/json' \
--data '{ "SearchText": "example", "BoardTargetDefinitionIds": [ "example" ], "LinkType": 0, "Direction": 0, "Limit": 1 }'
  • None
boardIdOrKey
required
string
boardItemId
required
string
access_token
string

Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.

Search request for board item link picker candidates.

object
SearchText
string
nullable
BoardTargetDefinitionIds
Array<string>
nullable
LinkType
integer format: int32
Allowed values: 0 1
Direction
integer format: int32
Allowed values: 0 1
Limit
integer format: int32
nullable

OK

Media typeapplication/json
object
Data

Server-backed item-link picker candidates.

object
BoardId
string
nullable
TotalCount
integer format: int32
Limit
integer format: int32
Items
Array<object>
nullable

Compact board item summary used by item-link surfaces.

object
Id
string
nullable
BoardId
string
nullable
BoardKey
string
nullable
BoardDisplayName
string
nullable
RunNumber
integer format: int32
DisplayName
string
nullable
Subtitle
string
nullable
BoardStatusId
string
nullable
BoardStatusDisplayName
string
nullable
BoardStatusColor
string
nullable
BoardTargetDefinitionId
string
nullable
BoardTargetDefinitionDisplayName
string
nullable
IsOpen
boolean
IsRestricted
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Bad Request

Media typeapplication/json
object
Data

Server-backed item-link picker candidates.

object
BoardId
string
nullable
TotalCount
integer format: int32
Limit
integer format: int32
Items
Array<object>
nullable

Compact board item summary used by item-link surfaces.

object
Id
string
nullable
BoardId
string
nullable
BoardKey
string
nullable
BoardDisplayName
string
nullable
RunNumber
integer format: int32
DisplayName
string
nullable
Subtitle
string
nullable
BoardStatusId
string
nullable
BoardStatusDisplayName
string
nullable
BoardStatusColor
string
nullable
BoardTargetDefinitionId
string
nullable
BoardTargetDefinitionDisplayName
string
nullable
IsOpen
boolean
IsRestricted
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Forbidden

Media typeapplication/json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/json
object
Data

Server-backed item-link picker candidates.

object
BoardId
string
nullable
TotalCount
integer format: int32
Limit
integer format: int32
Items
Array<object>
nullable

Compact board item summary used by item-link surfaces.

object
Id
string
nullable
BoardId
string
nullable
BoardKey
string
nullable
BoardDisplayName
string
nullable
RunNumber
integer format: int32
DisplayName
string
nullable
Subtitle
string
nullable
BoardStatusId
string
nullable
BoardStatusDisplayName
string
nullable
BoardStatusColor
string
nullable
BoardTargetDefinitionId
string
nullable
BoardTargetDefinitionDisplayName
string
nullable
IsOpen
boolean
IsRestricted
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}

Conflict

Media typeapplication/json
object
Data

Server-backed item-link picker candidates.

object
BoardId
string
nullable
TotalCount
integer format: int32
Limit
integer format: int32
Items
Array<object>
nullable

Compact board item summary used by item-link surfaces.

object
Id
string
nullable
BoardId
string
nullable
BoardKey
string
nullable
BoardDisplayName
string
nullable
RunNumber
integer format: int32
DisplayName
string
nullable
Subtitle
string
nullable
BoardStatusId
string
nullable
BoardStatusDisplayName
string
nullable
BoardStatusColor
string
nullable
BoardTargetDefinitionId
string
nullable
BoardTargetDefinitionDisplayName
string
nullable
IsOpen
boolean
IsRestricted
boolean
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}