yeetpostyeetpost

Changelog

Edit scheduled posts, retry, disconnect, and connection health in the API

One day of what shipped in yeetpost.

#198 #199 #200 #201

New

  • API: PATCH /posts/{postId} edits a pending scheduled post's text and time, and post.rescheduled fires with reason edited.
  • Console: Scheduled posts have an Edit button.
  • API: POST /posts/{postId}/retry sends a failed post again.
  • API: DELETE /connections/{connectionId} disconnects an account.
  • API: Connections carry a status and a loginExpiresAt.
  • API: A connection.reconnect_required webhook fires when a login is refused or revoked.
  • API: POST /posts takes mediaUrls: https only, up to 5, fetched by yeetpost, and a bad one is 400 invalid_media_url.
  • API: GET /posts has new filters, and posts carry media, thread, firstComment and publishedAt.

Improvements

  • API: A post that is already being sent cannot be edited and answers 409 post_not_editable.
  • Discord: Discord waits 30 seconds for a post, and a timeout is 504 platform_timeout.
  • Discord: A Discord timeout is never blindly retried, because the message may have posted.
  • Console: Connections show in two columns on wide screens.

All changes