Publisher¶
Social media publishing service that manages platform connections and distributes approved content to Twitter/X, YouTube, TikTok, and Instagram.
| Property | Value |
|---|---|
| Port | 8006 |
| Language | Python 3.13 |
| Framework | FastAPI |
| Source | services/publisher/ |
| Route prefix | /api/v1/publish, /api/v1/accounts |
Endpoints¶
POST /api/v1/publish/¶
Publish content to one or more platforms.
Request body:
GET /api/v1/publish/history¶
Get publishing history.
| Param | Type | Default | Description |
|---|---|---|---|
content_id |
uuid | -- | Filter by content |
limit |
int | 50 | Maximum results |
Supported Platforms¶
| Platform | Key | Description |
|---|---|---|
| Twitter/X | twitter |
Post tweets with media |
| YouTube | youtube |
Upload Shorts and long-form videos |
| TikTok | tiktok |
Upload short-form videos |
instagram |
Upload Reels |
Data Models¶
| Model | Purpose |
|---|---|
SocialAccount |
Connected platform accounts with credentials |
PublishRecord |
Publication history per content per platform |
Events¶
| Direction | Channel | Description |
|---|---|---|
| Published | orion.content.published |
Content successfully published |
Visual Guide Available
See the Content Workflow Guide for a step-by-step walkthrough of managing content through the publishing pipeline.