curl --request GET \
--url https://davinci-app.com/api/v2/orgs/{orgId}/teams/{teamId}/available-cards \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/orgs/{orgId}/teams/{teamId}/available-cards"
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/orgs/{orgId}/teams/{teamId}/available-cards', 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/orgs/{orgId}/teams/{teamId}/available-cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"cards": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"is_open": true,
"created_at": "2023-11-07T05:31:56Z",
"deadline": "2023-11-07T05:31:56Z",
"effort": 1,
"history_head_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"author_display_name": "<string>",
"assignees": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>"
}
],
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"color": "<string>"
}
],
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"capabilities": {
"canReadCards": true,
"canWriteCards": true,
"canDeleteCards": true
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"filterOptions": {
"projects": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
},
"meta": {
"limit": 123,
"total": 123,
"hasMore": true,
"nextCursor": "<string>"
}
}{
"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": {}
}
}Search linked-Project Cards available to add
Searches open Cards from already-linked Projects where the actor has effective Card write access, excluding Cards already placed on this Team. Project authorization is intersected with the credential ceiling before the bounded database query.
curl --request GET \
--url https://davinci-app.com/api/v2/orgs/{orgId}/teams/{teamId}/available-cards \
--header 'Authorization: Bearer <token>'import requests
url = "https://davinci-app.com/api/v2/orgs/{orgId}/teams/{teamId}/available-cards"
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/orgs/{orgId}/teams/{teamId}/available-cards', 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/orgs/{orgId}/teams/{teamId}/available-cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"team": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"cards": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_name": "<string>",
"is_open": true,
"created_at": "2023-11-07T05:31:56Z",
"deadline": "2023-11-07T05:31:56Z",
"effort": 1,
"history_head_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"author_display_name": "<string>",
"assignees": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"display_name": "<string>"
}
],
"tags": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"color": "<string>"
}
],
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"capabilities": {
"canReadCards": true,
"canWriteCards": true,
"canDeleteCards": true
},
"updated_at": "2023-11-07T05:31:56Z"
}
],
"filterOptions": {
"projects": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
},
"meta": {
"limit": 123,
"total": 123,
"hasMore": true,
"nextCursor": "<string>"
}
}{
"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.
Query Parameters
Case-insensitive Card name, description, and Resolution search.
200Optional subset of eligible linked Projects.
50Optional linked Projects to exclude when searching all eligible
Projects. Mutually exclusive with projectIds.
501 <= x <= 100Opaque cursor returned by the preceding page.
1024Response
Available Cards and eligible linked-Project filters.
Hide child attributes
Hide child attributes
x >= 0Latest committed card-history row ID; null only before a card has history.