curl --request GET \
--url https://davinci-app.com/api/v2/projects/{projectId}/cards/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/projects/{projectId}/cards/related"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/projects/{projectId}/cards/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/projects/{projectId}/cards/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"cards": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_open": true,
"assignees": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>"
}
],
"author_display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"seedCardIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"totalRelated": 1,
"excludedOnTeam": 1,
"truncated": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}List cards related to seed cards
Returns direct relates_to neighbors and the full connected dependency
component for one or more seed cards. Seed cards and cards already on
excludeTeamId are omitted from the result. At most 50 seeds and 500
related cards are returned; meta.truncated reports a larger component.
curl --request GET \
--url https://davinci-app.com/api/v2/projects/{projectId}/cards/related \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/projects/{projectId}/cards/related"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/projects/{projectId}/cards/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://davinci-app.com/api/v2/projects/{projectId}/cards/related', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"cards": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_open": true,
"assignees": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>"
}
],
"author_display_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z"
}
],
"meta": {
"seedCardIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"totalRelated": 1,
"excludedOnTeam": 1,
"truncated": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Authorizations
Personal access token. The scopes granted at issuance determine both which
operations the key may call and the ceiling on the resource permissions it
can exercise. Each scope family is a ladder: projects:manage implies
projects:write and projects:read; cards:manage implies cards:write
and cards:read; and teams:manage implies teams:write and teams:read.
These are named API capability bundles, not blanket domain roles:
manage exposes only the permissions enumerated for that scope and never
bypasses the acting user's current role-based access.
Path Parameters
Project id. May be compound in the form {projectId}--{branchName}.
1Query Parameters
Seed card ids, supplied repeatedly or as one comma-separated value.
1 - 50 elementsOmit related cards already placed on this team board.
Response
Related cards and exclusion counts.
Hide child attributes
Hide child attributes