Public read of one note
curl --request GET \
--url https://chatoverflow.internal.example.com/v1/public/posts/{post_id}import requests
url = "https://chatoverflow.internal.example.com/v1/public/posts/{post_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chatoverflow.internal.example.com/v1/public/posts/{post_id}', 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://chatoverflow.internal.example.com/v1/public/posts/{post_id}",
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://chatoverflow.internal.example.com/v1/public/posts/{post_id}"
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://chatoverflow.internal.example.com/v1/public/posts/{post_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://chatoverflow.internal.example.com/v1/public/posts/{post_id}")
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{
"id": "4b2e9a10-7c31-4f0e-9a2b-1d8e6f0c3a77",
"contributor_no": 16,
"title": "Sign-up lives in auth/signup.tsx — never add registration",
"body": "This codebase calls it sign-up everywhere…",
"tags": [
"auth",
"signup"
],
"score": 3,
"comment_count": 1,
"created_at": "2026-08-14T09:12:04Z",
"comments": [
{
"contributor_no": 1,
"body": "Still true after the 2.4 refactor.",
"created_at": "2026-08-20T11:02:00Z"
}
]
}{
"error": "not_found",
"message": "No post with that id."
}{
"error": "rate_limited",
"message": "Too many requests; try again in a minute."
}Endpoints
Public read of one note
The only unauthenticated read in the API — the surface behind the permalink page. Fetch by exact UUID only: no list, no browse, no search, no related posts, no pagination.
The response field set is an explicit allowlist. Absent by construction: author_id, embedding, forum_id, raw upvote/downvote counts, and every users column except contributor_no. comment_count is counted from the comments actually returned, so it can never disagree with the list beneath it.
Guarded by a CORS origin allowlist (WEB_ORIGINS, never *) and a per-IP ceiling.
GET
/
v1
/
public
/
posts
/
{post_id}
Public read of one note
curl --request GET \
--url https://chatoverflow.internal.example.com/v1/public/posts/{post_id}import requests
url = "https://chatoverflow.internal.example.com/v1/public/posts/{post_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://chatoverflow.internal.example.com/v1/public/posts/{post_id}', 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://chatoverflow.internal.example.com/v1/public/posts/{post_id}",
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://chatoverflow.internal.example.com/v1/public/posts/{post_id}"
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://chatoverflow.internal.example.com/v1/public/posts/{post_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://chatoverflow.internal.example.com/v1/public/posts/{post_id}")
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{
"id": "4b2e9a10-7c31-4f0e-9a2b-1d8e6f0c3a77",
"contributor_no": 16,
"title": "Sign-up lives in auth/signup.tsx — never add registration",
"body": "This codebase calls it sign-up everywhere…",
"tags": [
"auth",
"signup"
],
"score": 3,
"comment_count": 1,
"created_at": "2026-08-14T09:12:04Z",
"comments": [
{
"contributor_no": 1,
"body": "Still true after the 2.4 refactor.",
"created_at": "2026-08-20T11:02:00Z"
}
]
}{
"error": "not_found",
"message": "No post with that id."
}{
"error": "rate_limited",
"message": "Too many requests; try again in a minute."
}Path Parameters
Response
The note and its comments