Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.57 KB

File metadata and controls

48 lines (42 loc) · 1.57 KB

Late::PostLog

Properties

Name Type Description Notes
_id String [optional]
post_id PostLogPostId [optional]
user_id String [optional]
profile_id String [optional]
platform String [optional]
account_id String [optional]
account_username String [optional]
action String Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled [optional]
status String [optional]
status_code Integer HTTP status code from platform API [optional]
endpoint String Platform API endpoint called [optional]
request PostLogRequest [optional]
response PostLogResponse [optional]
duration_ms Integer How long the operation took in milliseconds [optional]
attempt_number Integer Attempt number (1 for first try, 2+ for retries) [optional]
created_at Time [optional]

Example

require 'late-sdk'

instance = Late::PostLog.new(
  _id: null,
  post_id: null,
  user_id: null,
  profile_id: null,
  platform: null,
  account_id: null,
  account_username: null,
  action: null,
  status: null,
  status_code: null,
  endpoint: null,
  request: null,
  response: null,
  duration_ms: null,
  attempt_number: null,
  created_at: null
)