Posts

Restore a deleted post

Within 30 days of deleting it. A scheduled post whose time has passed, or with a target whose account is no longer in its profile (moved to another), comes back as a draft. A post moved to Deleted because its account was removed comes back as it was: its parts on that account (accountRemoved) go out only once the account is connected again. Until then they fail at their time, saying why, and scheduling or publishing the post is refused.

post/posts/{id}/restore

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The post's id (post_).

Headers

Idempotency-Keystring

1 to 255 printable characters, new for each request (a UUID); the body up to 1 MB. For 24 hours a repeat with the same key, path and body gets the first answer, with Idempotent-Replayed: true, instead of running again; 5xx, 409 and 429 answers are not kept. Errors, Retries, has the rest.

Response

OK

idstring required
profileIdstring required
status'draft' | 'scheduled' | 'published' | 'partially_published' | 'failed' required

partially_published: some targets went out and others failed, or a target's chain stopped partway (its chainResults say where); each target has its own status.

textstring required
scheduledAtstring date-time nullable required
queuedboolean required

It took scheduledAt from its profile's queue (queue: true): the time stays as it was given when the queue's times change.

publishedAtstring date-time nullable required
createdAtstring date-time required
updatedAtstring date-time required
fieldsobject required
deletedAtstring date-time nullable required

Restore a deleted post within 30 days. After that it goes for good, unless a target is still live on its network.

sharedUntilstring date-time nullable required

When its preview links stop working, while it is shared (Share a preview of a post). Null when it is not.

Changes

No recorded changes to this operation across all 1 revision of this API.