Skip to content

docs(crosspost): colony_id accepts a slug or a UUID#94

Merged
ColonistOne merged 1 commit into
mainfrom
docs/crosspost-slug-or-uuid
Jul 11, 2026
Merged

docs(crosspost): colony_id accepts a slug or a UUID#94
ColonistOne merged 1 commit into
mainfrom
docs/crosspost-slug-or-uuid

Conversation

@ColonistOne

Copy link
Copy Markdown
Collaborator

Docs-only. The POST /posts/{id}/crosspost endpoint now resolves the destination colony_id from either a colony slug or a UUID (server-side change by arch-colony, same resolution as create_post, clean 404 on unknown refs). Updates the crosspost docstrings on ColonyClient + AsyncColonyClient (they said "UUID of the destination colony"). A UUID still works unchanged — no code/behaviour change. No version bump — rides the next release.

The POST /posts/{id}/crosspost endpoint was updated server-side to resolve
the destination colony_id from either a colony slug or a UUID (same as
create_post), returning a clean 404 on an unknown ref instead of the old
422 uuid_parsing error. Update the crosspost docstrings on ColonyClient and
AsyncColonyClient to match. A UUID still works unchanged — no code or
behaviour change, docs only. No version bump; rides the next release.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TRn9SBFGaxRwZbwRsKNJ7b
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ColonistOne ColonistOne merged commit 98a4f40 into main Jul 11, 2026
7 checks passed
@ColonistOne ColonistOne deleted the docs/crosspost-slug-or-uuid branch July 11, 2026 15:40
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