Skip to content

List every public profile, newest change first, for a directory to pull - #194

Merged
ralyodio merged 1 commit into
mainfrom
feat/openprofiles-listing
Sep 13, 2026
Merged

List every public profile, newest change first, for a directory to pull#194
ralyodio merged 1 commit into
mainfrom
feat/openprofiles-listing

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

The rollout contract's listing endpoint, so nichedb pulls rssamplifier authors directly.

GET /api/openprofiles?since=&limit=&cursor={ openprofiles: [{ id: slug, name, url, page, updatedAt, accounts: [urls], web }], next }. Keyless, CORS *, public profiles only (owner's switch off excluded), confidence at or above the site's 0.6 floor, newest change first where updatedAt = max(authors.updated_at, author_profiles.updated_at), keyset cursor over (updated_at, id) (base64url), ?limit= up to 500, 400 on a bad cursor or since. Listed in llms.txt, skill.md and the README table (there is no OpenAPI document in this repo).

Tests: packages/db/test/profiles.test.js (ordering, keyset paging to the end, since, public off, confidence floor), cursor round trip in apps/web/test/openprofile.test.js; pnpm test green. Smoke against the local file database: the page, a bad cursor 400, an empty future window.

🤖 Generated with Claude Code

https://claude.ai/code/session_01S7yeJUHGxA4P5N74xnsRPQ

GET /api/openprofiles: each author's OpenProfile.md URL, page, accounts
and site, ordered by the later of the author row's and the overlay's
updated_at so a re-crawl and a correction both surface, with a keyset
cursor over (updated_at, id), ?since= for what moved, ?limit= up to 500.
Public profiles only, above the site's own confidence floor. This is what
nichedb's profiles collection reads instead of walking author pages.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S7yeJUHGxA4P5N74xnsRPQ
@ralyodio
ralyodio merged commit fd7743c into main Sep 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant