curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/persons/channel-commentaryimport requests
url = "https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary', 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://data-tools.prd.arrays.org/api/v1/persons/channel-commentary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"body": "<string>",
"context": [
{
"author_handle": "<string>",
"author_id": "<string>",
"author_name": "<string>",
"depth": 123,
"published_at": 123,
"relation": "<string>",
"status": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"form": "post",
"id": "<string>",
"item_ref": {
"endpoint": "<string>",
"id": "<string>"
},
"own": true,
"person": {
"id": "<string>",
"name": "<string>"
},
"published_at": 123,
"publisher": "<string>",
"quote": "<string>",
"quote_offset_sec": 123,
"quote_speaker": "<string>",
"resolved_speakers": {},
"said_at": 123,
"state": "served",
"title": "<string>",
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}List channel commentary across people
OpenAPI JSON Spec Same rows as /v1/persons//channel-commentary without fixing the person. Browse by said_on day with start_time and end_time, which returns the rows that are served now. Or poll changes with updated_after and updated_before (unix seconds, [after, before), ordered by updated_at then id, paged by pagination.cursor; see docs/api/update-polling.md and docs/api/person-channel-commentary-updates.md). An update window returns every row whose latest change falls in it, and state says which kind it is. A row whose state is served has every field. A row whose state is duplicate (the page reports a remark another page holds in full), pending (a report still being traced back to where it was said, or a YouTube video whose speakers are not known yet) or refused has only id, updated_at, state and person.id: it is not output, and a consumer that holds its id drops it. A duplicate or pending row can come back as served later. Poll by updated_at, never by said_on: rows arrive with old said_on days. person_id is an optional filter. No row for a person and day does not mean they said nothing: a remark is stored only when its page can be read and the sentence checked against it.
curl --request GET \
--url https://data-tools.prd.arrays.org/api/v1/persons/channel-commentaryimport requests
url = "https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary', 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://data-tools.prd.arrays.org/api/v1/persons/channel-commentary",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary")
.asString();require 'uri'
require 'net/http'
url = URI("https://data-tools.prd.arrays.org/api/v1/persons/channel-commentary")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"body": "<string>",
"context": [
{
"author_handle": "<string>",
"author_id": "<string>",
"author_name": "<string>",
"depth": 123,
"published_at": 123,
"relation": "<string>",
"status": "<string>",
"text": "<string>",
"url": "<string>"
}
],
"form": "post",
"id": "<string>",
"item_ref": {
"endpoint": "<string>",
"id": "<string>"
},
"own": true,
"person": {
"id": "<string>",
"name": "<string>"
},
"published_at": 123,
"publisher": "<string>",
"quote": "<string>",
"quote_offset_sec": 123,
"quote_speaker": "<string>",
"resolved_speakers": {},
"said_at": 123,
"state": "served",
"title": "<string>",
"turns": [
{
"end_sec": 123,
"speaker": "Arthur Hayes",
"start_sec": 123,
"text": "<string>",
"voice": "spk 3"
}
],
"updated_at": "<string>",
"url": "<string>"
}
],
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}{
"data": "<unknown>",
"error": {
"code": "RESOURCE_NOT_FOUND",
"details": [
{
"field": "<string>",
"got": "<string>",
"reason": "<string>"
}
],
"docs_url": "<string>",
"examples": [
"<string>"
],
"hint": "<string>",
"message": "The requested resource was not found.",
"suggestions": [
"<string>"
]
},
"metadata": "<unknown>",
"pagination": "<unknown>",
"request_id": "<string>",
"success": true
}Query Parameters
Person registry id (uuid) to narrow to one person
Browse range start, unix seconds; required unless updated_after is given
Browse range end, unix seconds; required unless updated_after is given
Update window start, unix seconds, inclusive
Update window end, unix seconds, exclusive
Opaque continuation of an update window
default 100, or 50 with include_body; 1 to 500, at most 50 with include_body
Rows to skip; browse only
Return each row's full body

