Restore post
documentedRestore a post from trash.
POST /sites/{site}/posts/{post_ID}/restorePostsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://public-api.wordpress.com/rest/v1.1/sites/{{$site}}/posts/{{$post_ID}}/restore/" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"context": "{{$context}}", "display": "{{$display}}"}'