Cards
Get cards assigned to a user
This endpoint provides a preview of results based on specified filters for boards, cards, or pages. The request includes a type parameter (board, card, or page) and supports advanced filtering criteria, such as time ranges, specific project or member associations, and sorting preferences. Pagination is supported via cursor and count parameters.
POST
/
{team_id}
/
views
/
preview
Preview results
curl --request POST \
--url https://api.superthread.com/v1/{team_id}/views/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board_filters": {
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"card_filters": {
"is_parent": true,
"is_child": true,
"has_estimate": true,
"has_members": true,
"has_priority": true,
"has_status": true,
"has_tags": true,
"has_linked_card": true,
"has_due_date": true,
"has_start_date": true,
"has_completed_date": true,
"has_parent_card": true,
"is_archived": true,
"is_watching": true,
"created_from_form": true,
"start_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"completed_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"due_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"title": "<string>",
"boards": [
"<string>"
],
"estimates": [
123
],
"lists": [
"<string>"
],
"priority": [
123
],
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"owners": [
"<string>"
],
"members": [
"<string>"
],
"statuses": [
"started"
],
"external_links": [],
"linked_cards": [
"blocks"
],
"tags": [
"<string>"
],
"parent_cards": [
"<string>"
],
"epics": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"title": "<string>",
"boards": [
"<string>"
],
"estimates": [
123
],
"lists": [
"<string>"
],
"priority": [
123
],
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"owners": [
"<string>"
],
"members": [
"<string>"
],
"statuses": [
"started"
],
"external_links": [],
"linked_cards": [
"blocks"
],
"tags": [
"<string>"
],
"parent_cards": [
"<string>"
],
"epics": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"page_filters": {
"is_archived": true,
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"type": "card"
}
'import requests
url = "https://api.superthread.com/v1/{team_id}/views/preview"
payload = {
"board_filters": {
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"card_filters": {
"is_parent": True,
"is_child": True,
"has_estimate": True,
"has_members": True,
"has_priority": True,
"has_status": True,
"has_tags": True,
"has_linked_card": True,
"has_due_date": True,
"has_start_date": True,
"has_completed_date": True,
"has_parent_card": True,
"is_archived": True,
"is_watching": True,
"created_from_form": True,
"start_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"completed_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"due_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"title": "<string>",
"boards": ["<string>"],
"estimates": [123],
"lists": ["<string>"],
"priority": [123],
"projects": ["<string>"],
"creators": ["<string>"],
"owners": ["<string>"],
"members": ["<string>"],
"statuses": ["started"],
"external_links": [],
"linked_cards": ["blocks"],
"tags": ["<string>"],
"parent_cards": ["<string>"],
"epics": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"title": "<string>",
"boards": ["<string>"],
"estimates": [123],
"lists": ["<string>"],
"priority": [123],
"projects": ["<string>"],
"creators": ["<string>"],
"owners": ["<string>"],
"members": ["<string>"],
"statuses": ["started"],
"external_links": [],
"linked_cards": ["blocks"],
"tags": ["<string>"],
"parent_cards": ["<string>"],
"epics": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"page_filters": {
"is_archived": True,
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"type": "card"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_filters: {
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
card_filters: {
is_parent: true,
is_child: true,
has_estimate: true,
has_members: true,
has_priority: true,
has_status: true,
has_tags: true,
has_linked_card: true,
has_due_date: true,
has_start_date: true,
has_completed_date: true,
has_parent_card: true,
is_archived: true,
is_watching: true,
created_from_form: true,
start_date: {before: 'now-1d', after: '1620997103||-2h'},
completed_date: {before: 'now-1d', after: '1620997103||-2h'},
due_date: {before: 'now-1d', after: '1620997103||-2h'},
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
title: '<string>',
boards: ['<string>'],
estimates: [123],
lists: ['<string>'],
priority: [123],
projects: ['<string>'],
creators: ['<string>'],
owners: ['<string>'],
members: ['<string>'],
statuses: ['started'],
external_links: [],
linked_cards: ['blocks'],
tags: ['<string>'],
parent_cards: ['<string>'],
epics: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
title: '<string>',
boards: ['<string>'],
estimates: [123],
lists: ['<string>'],
priority: [123],
projects: ['<string>'],
creators: ['<string>'],
owners: ['<string>'],
members: ['<string>'],
statuses: ['started'],
external_links: [],
linked_cards: ['blocks'],
tags: ['<string>'],
parent_cards: ['<string>'],
epics: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
page_filters: {
is_archived: true,
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
type: 'card'
})
};
fetch('https://api.superthread.com/v1/{team_id}/views/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.superthread.com/v1/{team_id}/views/preview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_filters' => [
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'card_filters' => [
'is_parent' => true,
'is_child' => true,
'has_estimate' => true,
'has_members' => true,
'has_priority' => true,
'has_status' => true,
'has_tags' => true,
'has_linked_card' => true,
'has_due_date' => true,
'has_start_date' => true,
'has_completed_date' => true,
'has_parent_card' => true,
'is_archived' => true,
'is_watching' => true,
'created_from_form' => true,
'start_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'completed_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'due_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'title' => '<string>',
'boards' => [
'<string>'
],
'estimates' => [
123
],
'lists' => [
'<string>'
],
'priority' => [
123
],
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'owners' => [
'<string>'
],
'members' => [
'<string>'
],
'statuses' => [
'started'
],
'external_links' => [
],
'linked_cards' => [
'blocks'
],
'tags' => [
'<string>'
],
'parent_cards' => [
'<string>'
],
'epics' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'title' => '<string>',
'boards' => [
'<string>'
],
'estimates' => [
123
],
'lists' => [
'<string>'
],
'priority' => [
123
],
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'owners' => [
'<string>'
],
'members' => [
'<string>'
],
'statuses' => [
'started'
],
'external_links' => [
],
'linked_cards' => [
'blocks'
],
'tags' => [
'<string>'
],
'parent_cards' => [
'<string>'
],
'epics' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'page_filters' => [
'is_archived' => true,
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'type' => 'card'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.superthread.com/v1/{team_id}/views/preview"
payload := strings.NewReader("{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.superthread.com/v1/{team_id}/views/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superthread.com/v1/{team_id}/views/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}"
response = http.request(request)
puts response.read_body{
"cursor": "dmsjqh9d8w1hdjosjaasda",
"count": 14,
"boards": [
{
"id": "24",
"project_id": "3",
"team_id": "tDsu0j19",
"title": "My Board",
"content": "<string>",
"icon": "shield",
"color": "<string>",
"image_urls": "<string>",
"background_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"thumbnail_url": "https://s3.....com/thumbnail.png",
"user_id": "u2erXoQq",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"lists": [
{
"id": "41",
"team_id": "tDsu0j19",
"title": "My list",
"content": "<string>",
"board_id": "43",
"user_id": "u981hdaT",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"project_id": "5",
"icon": "shield",
"color": "<string>",
"card_order": {},
"total_cards": 5,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"cards": [
{
"id": "2700",
"type": "card",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"team_id": "tDsu0j19",
"title": "My Card",
"content": "Some card content",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"status": "started",
"priority": 1,
"board_id": "12",
"board_title": "<string>",
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"sprint_id": "4s12",
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"parent_card": {
"title": "Implement service requirements",
"card_id": "42",
"list_color": "<string>",
"status": "started"
},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"archived_board": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"is_bookmarked": true,
"project_id": "<string>",
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"estimate": 2,
"time_estimate_seconds": 123,
"time_remaining_seconds": 123,
"epic": {
"id": "e-123",
"title": "Epic Title",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"copied_from_card_id": "<string>",
"form_id": "<string>",
"form_values": {},
"suggested_branch_name": "<string>"
}
],
"epics": [
{
"id": "2700",
"type": "epic",
"team_id": "tDsu0j19",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"title": "My Card",
"schema": 1,
"content": "Some card content",
"collaboration": {
"token": "<string>"
},
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"status": "started",
"priority": 1,
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"health_status": "on_track",
"health_status_is_stale": false,
"health_status_stale_period": 7,
"time_health_last_updated": 1608742037016,
"health_status_updated_by": "uR2dws11",
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"is_watching": true,
"webhook_notifications": [
{
"webhook": {
"destination_type": "slack_channel_webhook",
"integration_id": "42"
},
"options": {
"card_created": true
}
}
]
}
],
"list_order": {},
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"is_public": false,
"public_settings": {
"url": "https://boards.superthread.com/b/1",
"team_name": "Acme Company",
"team_logo": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"is_watching": true,
"is_bookmarked": true,
"vcs_mapping": {
"pr_draft": "41",
"pr_open": "41",
"pr_review_requested": "41",
"pr_merged": "41",
"pr_closed": "41",
"branches": [
{
"name": "development",
"pr_draft": "41",
"pr_open": "41",
"pr_review_requested": "41",
"pr_merged": "41",
"pr_closed": "41",
"time_created": 1608742037016
}
]
},
"layout": "board",
"email": {
"email": "board+engineering-board-b2L2jKl@inbound.superthread.com",
"active": true
},
"webhook_notifications": [
{
"webhook": {
"destination_type": "slack_channel_webhook",
"integration_id": "42"
},
"options": {
"card_created": true,
"card_moved": true,
"card_commented": true,
"card_due_date": true
}
}
],
"card_cover_enabled": true,
"forms": [
{
"id": "53",
"title": "Bug Report Form",
"description": "Submit a bug report",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"board_id": "10",
"folder_id": "folder_1",
"order": 0,
"is_portal_visible": true,
"summary_field_id": "<string>",
"participants_required": true,
"fields": [
{
"id": "field_1",
"type": "short_text",
"label": "Your Email Address",
"order": 1,
"required": false,
"options": [
"Option 1",
"Option 2",
"Option 3"
],
"placeholder": "Enter your answer here...",
"description": "Please provide a detailed description of the issue you are experiencing.",
"card_property": "priority",
"multi_select": false,
"conditions": [
{
"field_id": "field_1",
"operator": "eq",
"value": "Option 1"
}
],
"condition_logic": "and"
}
],
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"is_public": false,
"public_settings": {
"url": "https://ask.superthread.com/f/53"
}
}
]
}
],
"cards": [
{
"id": "2700",
"type": "card",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"team_id": "tDsu0j19",
"title": "My Card",
"content": "Some card content",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"status": "started",
"priority": 1,
"board_id": "12",
"board_title": "<string>",
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"sprint_id": "4s12",
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"parent_card": {
"title": "Implement service requirements",
"card_id": "42",
"list_color": "<string>",
"status": "started"
},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"archived_board": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"is_bookmarked": true,
"project_id": "<string>",
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"estimate": 2,
"time_estimate_seconds": 123,
"time_remaining_seconds": 123,
"epic": {
"id": "e-123",
"title": "Epic Title",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"copied_from_card_id": "<string>",
"form_id": "<string>",
"form_values": {},
"suggested_branch_name": "<string>"
}
],
"pages": [
{
"id": "43",
"alias_id": "93738022-c193-494e-95a4-fc3e4346b5e1",
"title": "Team Page",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"content": "<string>",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"project_id": "1",
"standalone": false,
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"user_id": "u-dsu0j19",
"user_id_updated": "u-dsu0j19",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"team_id": "teu-dsu0j19",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"bookmarked": false,
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016,
"parent_page_id": "<string>"
},
"is_public": false,
"public_settings": {
"url": "https://pages.superthread.com/t/team/p/1",
"robots": []
},
"total_comments": 3,
"is_watching": true,
"is_bookmarked": true,
"hide_table_of_contents": true,
"hide_subpages": true
}
]
}{
"error": {
"id": "err5f744ab",
"code": 403,
"sec": "SEC:000-00014",
"message": "You do not have access to this resource",
"date": 1608742037016
}
}How to use this endpoint to list cards assigned to a user
To get all the cards assigned to a specific user, use the following example request:curl -X POST 'https://api.superthread.com/v1/{team_id}/views/preview?count=100' \
-H 'Authorization: Bearer <PAT>' \
--data-raw '{
"card_filters": {
"include": {
"members": ["<user_id>"]
},
"exclude": {
"statuses": ["completed", "cancelled"]
},
"sort_by": {
"field": "time_created",
"order_ascending": false
}
},
"type": "card"
}'
{team_id} with your workspace’s team ID and<user_id> with the ID of the user you want to filter for.
This request will return all cards assigned to the selected user, excluding any cards with the statuses completed or cancelled.
You can further adjust the filters (see below) to refine your search.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Team ID is an alphanumerical string that identifies a Team. This is externally referred to as a "Workspace".
Query Parameters
cursor for pagination
max number of items to return. defaults to 25
Body
application/json
Preview request. Must include a type and the corresponding set of filters
Previous
Add related cardCreates a relationship between a specified card (`card_id`) and another card using a
defined link type (`blocks`, `blocked_by`, `related`, or `duplicates`).
This relationship helps visualize dependencies or connections between cards.
A 200 response includes details of the linked card.
Next
⌘I
Preview results
curl --request POST \
--url https://api.superthread.com/v1/{team_id}/views/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"board_filters": {
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"card_filters": {
"is_parent": true,
"is_child": true,
"has_estimate": true,
"has_members": true,
"has_priority": true,
"has_status": true,
"has_tags": true,
"has_linked_card": true,
"has_due_date": true,
"has_start_date": true,
"has_completed_date": true,
"has_parent_card": true,
"is_archived": true,
"is_watching": true,
"created_from_form": true,
"start_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"completed_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"due_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"title": "<string>",
"boards": [
"<string>"
],
"estimates": [
123
],
"lists": [
"<string>"
],
"priority": [
123
],
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"owners": [
"<string>"
],
"members": [
"<string>"
],
"statuses": [
"started"
],
"external_links": [],
"linked_cards": [
"blocks"
],
"tags": [
"<string>"
],
"parent_cards": [
"<string>"
],
"epics": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"title": "<string>",
"boards": [
"<string>"
],
"estimates": [
123
],
"lists": [
"<string>"
],
"priority": [
123
],
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"owners": [
"<string>"
],
"members": [
"<string>"
],
"statuses": [
"started"
],
"external_links": [],
"linked_cards": [
"blocks"
],
"tags": [
"<string>"
],
"parent_cards": [
"<string>"
],
"epics": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"page_filters": {
"is_archived": true,
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"exclude": {
"ids": [
"<string>"
],
"content": "<string>",
"projects": [
"<string>"
],
"creators": [
"<string>"
],
"members": [
"<string>"
]
},
"sort_by": {
"field": "time_created",
"order_ascending": true
}
},
"type": "card"
}
'import requests
url = "https://api.superthread.com/v1/{team_id}/views/preview"
payload = {
"board_filters": {
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"card_filters": {
"is_parent": True,
"is_child": True,
"has_estimate": True,
"has_members": True,
"has_priority": True,
"has_status": True,
"has_tags": True,
"has_linked_card": True,
"has_due_date": True,
"has_start_date": True,
"has_completed_date": True,
"has_parent_card": True,
"is_archived": True,
"is_watching": True,
"created_from_form": True,
"start_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"completed_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"due_date": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"title": "<string>",
"boards": ["<string>"],
"estimates": [123],
"lists": ["<string>"],
"priority": [123],
"projects": ["<string>"],
"creators": ["<string>"],
"owners": ["<string>"],
"members": ["<string>"],
"statuses": ["started"],
"external_links": [],
"linked_cards": ["blocks"],
"tags": ["<string>"],
"parent_cards": ["<string>"],
"epics": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"title": "<string>",
"boards": ["<string>"],
"estimates": [123],
"lists": ["<string>"],
"priority": [123],
"projects": ["<string>"],
"creators": ["<string>"],
"owners": ["<string>"],
"members": ["<string>"],
"statuses": ["started"],
"external_links": [],
"linked_cards": ["blocks"],
"tags": ["<string>"],
"parent_cards": ["<string>"],
"epics": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"page_filters": {
"is_archived": True,
"time_created": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"time_updated": {
"before": "now-1d",
"after": "1620997103||-2h"
},
"include": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"exclude": {
"ids": ["<string>"],
"content": "<string>",
"projects": ["<string>"],
"creators": ["<string>"],
"members": ["<string>"]
},
"sort_by": {
"field": "time_created",
"order_ascending": True
}
},
"type": "card"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
board_filters: {
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
card_filters: {
is_parent: true,
is_child: true,
has_estimate: true,
has_members: true,
has_priority: true,
has_status: true,
has_tags: true,
has_linked_card: true,
has_due_date: true,
has_start_date: true,
has_completed_date: true,
has_parent_card: true,
is_archived: true,
is_watching: true,
created_from_form: true,
start_date: {before: 'now-1d', after: '1620997103||-2h'},
completed_date: {before: 'now-1d', after: '1620997103||-2h'},
due_date: {before: 'now-1d', after: '1620997103||-2h'},
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
title: '<string>',
boards: ['<string>'],
estimates: [123],
lists: ['<string>'],
priority: [123],
projects: ['<string>'],
creators: ['<string>'],
owners: ['<string>'],
members: ['<string>'],
statuses: ['started'],
external_links: [],
linked_cards: ['blocks'],
tags: ['<string>'],
parent_cards: ['<string>'],
epics: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
title: '<string>',
boards: ['<string>'],
estimates: [123],
lists: ['<string>'],
priority: [123],
projects: ['<string>'],
creators: ['<string>'],
owners: ['<string>'],
members: ['<string>'],
statuses: ['started'],
external_links: [],
linked_cards: ['blocks'],
tags: ['<string>'],
parent_cards: ['<string>'],
epics: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
page_filters: {
is_archived: true,
time_created: {before: 'now-1d', after: '1620997103||-2h'},
time_updated: {before: 'now-1d', after: '1620997103||-2h'},
include: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
exclude: {
ids: ['<string>'],
content: '<string>',
projects: ['<string>'],
creators: ['<string>'],
members: ['<string>']
},
sort_by: {field: 'time_created', order_ascending: true}
},
type: 'card'
})
};
fetch('https://api.superthread.com/v1/{team_id}/views/preview', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.superthread.com/v1/{team_id}/views/preview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'board_filters' => [
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'card_filters' => [
'is_parent' => true,
'is_child' => true,
'has_estimate' => true,
'has_members' => true,
'has_priority' => true,
'has_status' => true,
'has_tags' => true,
'has_linked_card' => true,
'has_due_date' => true,
'has_start_date' => true,
'has_completed_date' => true,
'has_parent_card' => true,
'is_archived' => true,
'is_watching' => true,
'created_from_form' => true,
'start_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'completed_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'due_date' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'title' => '<string>',
'boards' => [
'<string>'
],
'estimates' => [
123
],
'lists' => [
'<string>'
],
'priority' => [
123
],
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'owners' => [
'<string>'
],
'members' => [
'<string>'
],
'statuses' => [
'started'
],
'external_links' => [
],
'linked_cards' => [
'blocks'
],
'tags' => [
'<string>'
],
'parent_cards' => [
'<string>'
],
'epics' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'title' => '<string>',
'boards' => [
'<string>'
],
'estimates' => [
123
],
'lists' => [
'<string>'
],
'priority' => [
123
],
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'owners' => [
'<string>'
],
'members' => [
'<string>'
],
'statuses' => [
'started'
],
'external_links' => [
],
'linked_cards' => [
'blocks'
],
'tags' => [
'<string>'
],
'parent_cards' => [
'<string>'
],
'epics' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'page_filters' => [
'is_archived' => true,
'time_created' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'time_updated' => [
'before' => 'now-1d',
'after' => '1620997103||-2h'
],
'include' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'exclude' => [
'ids' => [
'<string>'
],
'content' => '<string>',
'projects' => [
'<string>'
],
'creators' => [
'<string>'
],
'members' => [
'<string>'
]
],
'sort_by' => [
'field' => 'time_created',
'order_ascending' => true
]
],
'type' => 'card'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.superthread.com/v1/{team_id}/views/preview"
payload := strings.NewReader("{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.superthread.com/v1/{team_id}/views/preview")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.superthread.com/v1/{team_id}/views/preview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"board_filters\": {\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"card_filters\": {\n \"is_parent\": true,\n \"is_child\": true,\n \"has_estimate\": true,\n \"has_members\": true,\n \"has_priority\": true,\n \"has_status\": true,\n \"has_tags\": true,\n \"has_linked_card\": true,\n \"has_due_date\": true,\n \"has_start_date\": true,\n \"has_completed_date\": true,\n \"has_parent_card\": true,\n \"is_archived\": true,\n \"is_watching\": true,\n \"created_from_form\": true,\n \"start_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"completed_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"due_date\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"title\": \"<string>\",\n \"boards\": [\n \"<string>\"\n ],\n \"estimates\": [\n 123\n ],\n \"lists\": [\n \"<string>\"\n ],\n \"priority\": [\n 123\n ],\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"owners\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ],\n \"statuses\": [\n \"started\"\n ],\n \"external_links\": [],\n \"linked_cards\": [\n \"blocks\"\n ],\n \"tags\": [\n \"<string>\"\n ],\n \"parent_cards\": [\n \"<string>\"\n ],\n \"epics\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"page_filters\": {\n \"is_archived\": true,\n \"time_created\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"time_updated\": {\n \"before\": \"now-1d\",\n \"after\": \"1620997103||-2h\"\n },\n \"include\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"exclude\": {\n \"ids\": [\n \"<string>\"\n ],\n \"content\": \"<string>\",\n \"projects\": [\n \"<string>\"\n ],\n \"creators\": [\n \"<string>\"\n ],\n \"members\": [\n \"<string>\"\n ]\n },\n \"sort_by\": {\n \"field\": \"time_created\",\n \"order_ascending\": true\n }\n },\n \"type\": \"card\"\n}"
response = http.request(request)
puts response.read_body{
"cursor": "dmsjqh9d8w1hdjosjaasda",
"count": 14,
"boards": [
{
"id": "24",
"project_id": "3",
"team_id": "tDsu0j19",
"title": "My Board",
"content": "<string>",
"icon": "shield",
"color": "<string>",
"image_urls": "<string>",
"background_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"thumbnail_url": "https://s3.....com/thumbnail.png",
"user_id": "u2erXoQq",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"lists": [
{
"id": "41",
"team_id": "tDsu0j19",
"title": "My list",
"content": "<string>",
"board_id": "43",
"user_id": "u981hdaT",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"project_id": "5",
"icon": "shield",
"color": "<string>",
"card_order": {},
"total_cards": 5,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"cards": [
{
"id": "2700",
"type": "card",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"team_id": "tDsu0j19",
"title": "My Card",
"content": "Some card content",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"status": "started",
"priority": 1,
"board_id": "12",
"board_title": "<string>",
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"sprint_id": "4s12",
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"parent_card": {
"title": "Implement service requirements",
"card_id": "42",
"list_color": "<string>",
"status": "started"
},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"archived_board": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"is_bookmarked": true,
"project_id": "<string>",
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"estimate": 2,
"time_estimate_seconds": 123,
"time_remaining_seconds": 123,
"epic": {
"id": "e-123",
"title": "Epic Title",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"copied_from_card_id": "<string>",
"form_id": "<string>",
"form_values": {},
"suggested_branch_name": "<string>"
}
],
"epics": [
{
"id": "2700",
"type": "epic",
"team_id": "tDsu0j19",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"title": "My Card",
"schema": 1,
"content": "Some card content",
"collaboration": {
"token": "<string>"
},
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"status": "started",
"priority": 1,
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"health_status": "on_track",
"health_status_is_stale": false,
"health_status_stale_period": 7,
"time_health_last_updated": 1608742037016,
"health_status_updated_by": "uR2dws11",
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"is_watching": true,
"webhook_notifications": [
{
"webhook": {
"destination_type": "slack_channel_webhook",
"integration_id": "42"
},
"options": {
"card_created": true
}
}
]
}
],
"list_order": {},
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"is_public": false,
"public_settings": {
"url": "https://boards.superthread.com/b/1",
"team_name": "Acme Company",
"team_logo": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"is_watching": true,
"is_bookmarked": true,
"vcs_mapping": {
"pr_draft": "41",
"pr_open": "41",
"pr_review_requested": "41",
"pr_merged": "41",
"pr_closed": "41",
"branches": [
{
"name": "development",
"pr_draft": "41",
"pr_open": "41",
"pr_review_requested": "41",
"pr_merged": "41",
"pr_closed": "41",
"time_created": 1608742037016
}
]
},
"layout": "board",
"email": {
"email": "board+engineering-board-b2L2jKl@inbound.superthread.com",
"active": true
},
"webhook_notifications": [
{
"webhook": {
"destination_type": "slack_channel_webhook",
"integration_id": "42"
},
"options": {
"card_created": true,
"card_moved": true,
"card_commented": true,
"card_due_date": true
}
}
],
"card_cover_enabled": true,
"forms": [
{
"id": "53",
"title": "Bug Report Form",
"description": "Submit a bug report",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"board_id": "10",
"folder_id": "folder_1",
"order": 0,
"is_portal_visible": true,
"summary_field_id": "<string>",
"participants_required": true,
"fields": [
{
"id": "field_1",
"type": "short_text",
"label": "Your Email Address",
"order": 1,
"required": false,
"options": [
"Option 1",
"Option 2",
"Option 3"
],
"placeholder": "Enter your answer here...",
"description": "Please provide a detailed description of the issue you are experiencing.",
"card_property": "priority",
"multi_select": false,
"conditions": [
{
"field_id": "field_1",
"operator": "eq",
"value": "Option 1"
}
],
"condition_logic": "and"
}
],
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"time_created": 1608742037016,
"time_updated": 1608742037016,
"is_public": false,
"public_settings": {
"url": "https://ask.superthread.com/f/53"
}
}
]
}
],
"cards": [
{
"id": "2700",
"type": "card",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"team_id": "tDsu0j19",
"title": "My Card",
"content": "Some card content",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"status": "started",
"priority": 1,
"board_id": "12",
"board_title": "<string>",
"list_id": "41",
"list_color": "<string>",
"list_title": "<string>",
"sprint_id": "4s12",
"owner_id": "uR2dws11",
"user_id": "uR2dws11",
"user_id_updated": "u2erXoQq",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"start_date": 1608742037016,
"due_date": 1608742037016,
"completed_date": 1608742037016,
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"checklists": [
{
"id": "232",
"title": "My Checklist",
"content": "Some description",
"card_id": "32",
"user_id": "uG2sdaOn",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"items": [
{
"id": "4312",
"title": "Some title",
"content": "Some description",
"checklist_id": "432",
"user_id": "u-du9saoj1",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"checked": true
}
]
}
],
"checklist_order": {},
"checklist_item_order": {},
"parent_card": {
"title": "Implement service requirements",
"card_id": "42",
"list_color": "<string>",
"status": "started"
},
"child_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
}
}
],
"child_card_order": {},
"linked_cards": [
{
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "42",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "list 1",
"list_title": "list 1",
"status": "started",
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"linked_card_type": "blocks",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
}
],
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016
},
"archived_list": false,
"archived_board": false,
"tags": [
{
"id": "u-dsu0j19",
"team_id": "u-dsu0j19",
"project_id": "5",
"name": "todo",
"slug": "todo",
"color": "blue",
"total_cards": 17
}
],
"total_comments": 3,
"total_files": 1,
"is_watching": true,
"is_bookmarked": true,
"project_id": "<string>",
"external_links": [
{
"github_pull_request": {
"id": 123,
"number": 123,
"state": "<string>",
"title": "<string>",
"body": "<string>",
"html_url": "<string>",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"time_closed": 1608742037016,
"time_merged": 1608742037016,
"head": {
"label": "<string>",
"ref": "<string>"
},
"base": {
"label": "<string>",
"ref": "<string>"
},
"draft": true,
"merged": true
},
"generic": {
"url": "<string>",
"id": "550e8400-e29b-41d4-a716-446655440000",
"display_text": "<string>",
"time_added": 1608742037016
}
}
],
"hints": [
{
"type": "tag",
"tag": {},
"relation": {
"card": {
"title": "Create illustration for upcoming holidays",
"card_id": "42",
"user_id": "us4Fsfed",
"project_id": "3",
"board_id": "15",
"board_title": "Ideas",
"list_id": "55",
"list_title": "Done",
"list_color": "<string>",
"status": "started"
},
"similarity": 0.8
}
}
],
"estimate": 2,
"time_estimate_seconds": 123,
"time_remaining_seconds": 123,
"epic": {
"id": "e-123",
"title": "Epic Title",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
}
},
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"copied_from_card_id": "<string>",
"form_id": "<string>",
"form_values": {},
"suggested_branch_name": "<string>"
}
],
"pages": [
{
"id": "43",
"alias_id": "93738022-c193-494e-95a4-fc3e4346b5e1",
"title": "Team Page",
"icon": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup"
},
"content": "<string>",
"schema": 1,
"collaboration": {
"token": "<string>"
},
"project_id": "1",
"standalone": false,
"cover_image": {
"src": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==",
"id": "<string>",
"blurhash": "LEHV6nWB2yk8pyoJadR*.7kCMdnj",
"color": "black",
"emoji": "thumbsup",
"positionY": 123
},
"user_id": "u-dsu0j19",
"user_id_updated": "u-dsu0j19",
"user": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"user_updated": {
"user_id": "uDsu0j19",
"type": "user",
"source": {
"type": "oauth",
"client_id": "oczapier",
"import_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"agent_id": "bf1b9f76-3f95-42fc-bd7f-050b2f5f4197",
"email_addr": "somebody@example.com",
"email_verified": false,
"on_behalf_of": "<string>"
}
},
"team_id": "teu-dsu0j19",
"time_created": 1608742037016,
"time_updated": 1608742037016,
"members": [
{
"user_id": "u-dsu0j19",
"assigned_date": 1608742037016
}
],
"bookmarked": false,
"archived": {
"user_id": "uDsu0j19",
"time_archived": 1608742037016,
"parent_page_id": "<string>"
},
"is_public": false,
"public_settings": {
"url": "https://pages.superthread.com/t/team/p/1",
"robots": []
},
"total_comments": 3,
"is_watching": true,
"is_bookmarked": true,
"hide_table_of_contents": true,
"hide_subpages": true
}
]
}{
"error": {
"id": "err5f744ab",
"code": 403,
"sec": "SEC:000-00014",
"message": "You do not have access to this resource",
"date": 1608742037016
}
}