Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 2.34 KB

File metadata and controls

73 lines (53 loc) · 2.34 KB

PostLog

Publishing log entry showing details of a post publishing attempt

Properties

Name Type Description Notes
id String [optional]
postId PostLogPostId [optional]
userId String [optional]
profileId String [optional]
platform PlatformEnum [optional]
accountId String [optional]
accountUsername String [optional]
action ActionEnum Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled [optional]
status StatusEnum [optional]
statusCode Integer HTTP status code from platform API [optional]
endpoint String Platform API endpoint called [optional]
request PostLogRequest [optional]
response PostLogResponse [optional]
durationMs Integer How long the operation took in milliseconds [optional]
attemptNumber Integer Attempt number (1 for first try, 2+ for retries) [optional]
createdAt OffsetDateTime [optional]

Enum: PlatformEnum

Name Value
TIKTOK "tiktok"
INSTAGRAM "instagram"
FACEBOOK "facebook"
YOUTUBE "youtube"
LINKEDIN "linkedin"
TWITTER "twitter"
THREADS "threads"
PINTEREST "pinterest"
REDDIT "reddit"
BLUESKY "bluesky"
GOOGLEBUSINESS "googlebusiness"
TELEGRAM "telegram"
SNAPCHAT "snapchat"

Enum: ActionEnum

Name Value
PUBLISH "publish"
RETRY "retry"
MEDIA_UPLOAD "media_upload"
RATE_LIMIT_PAUSE "rate_limit_pause"
TOKEN_REFRESH "token_refresh"
CANCELLED "cancelled"

Enum: StatusEnum

Name Value
SUCCESS "success"
FAILED "failed"
PENDING "pending"
SKIPPED "skipped"