Edit or reschedule a post
Changed onEdits a draft, scheduled or failed post, including swapping its image or video. Send only the fields to change. On a scheduled post, scheduled_at moves it to a new time and the other fields change what goes out, checked like a new post; omit scheduled_at to keep its time. On a draft or failed post, scheduled_at schedules it; a failed post goes out as a new submission and counts against that day's post limit. Posts that are publishing, posted or disconnected return 409.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
Resource ID
Request body
Per-platform overrides keyed by platform name. Replaces the post's current overrides. Send ids (pinterest.board_id, pinterest.board_section_id, twitter.reply_to_tweet_id) as strings: a number above 9007199254740991 answers 400.
Public media URLs. media_urls and upload_ids together are the post's media: sending either replaces all of it, so to swap an image send just the new one. Send both to keep a mix.
Previously uploaded media IDs. Like media_urls, sending this replaces all of the post's media.
Target account IDs (sacct_ prefix ids). Optional for a platform with one connected account; when a platform in platforms has several, name the ones to post from or the request answers 422 listing them.
New publish time. Reschedules a scheduled post, or schedules a draft or failed post.
Response
Post
The connected accounts (sacct_...) it goes out on. Empty means the only connected account on each of its platforms; a platform with several needs its ids named.
Each account the post went out to and how it fared there; empty until it is sent. A post that went live on some accounts and failed on the rest has status partial, and error names the accounts that failed.
Only in the reply to creating or editing a draft, and only when there is something to fix: the problems it would hit going out, such as missing media or a platform with no connected account.
Changes
- warning
added the new
partialenum value to thestatusresponse property for the response status - info
added the required property
targetsto the response with the status
- warning
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
8 more changes in this revision
- warning